牌位設計功能調整
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
<div class="row mt-2">
|
||||
<div class="col-3">
|
||||
版型設定:
|
||||
<select id="styleSel" onchange="designer.changeStyle()">
|
||||
|
||||
<select id="styleSel" onchange="designer.changeStyle()" class="form-select">
|
||||
<option value="">請選擇版型</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -211,10 +212,10 @@
|
||||
toast: null,
|
||||
modal: null,
|
||||
bg: [
|
||||
{ name: "黃1", path: "../../../admin/print/html/tablet-1_new.svg" },
|
||||
{ name: "黃2", path: "../../../admin/print/html/tablet-1B_new.svg" },
|
||||
{ name: "紅1", path: "../../../admin/print/html/tablet-2.svg" },
|
||||
{ name: "紅2", path: "../../../admin/print/html/tablet-2B.svg" }
|
||||
{ name: "超薦1", path: "../../../admin/print/html/tablet-1_new.svg" },
|
||||
{ name: "超薦2", path: "../../../admin/print/html/tablet-1B_new.svg" },
|
||||
{ name: "消災1", path: "../../../admin/print/html/tablet-2.svg" },
|
||||
{ name: "消災2", path: "../../../admin/print/html/tablet-2B.svg" }
|
||||
],
|
||||
async init() {
|
||||
// 載入常用片語
|
||||
@@ -303,7 +304,7 @@
|
||||
let data = response.data;
|
||||
if (data.data) {
|
||||
data.data.forEach(x => {
|
||||
if (x.styleID !== "00001") {
|
||||
if (x.styleID !== "000001") {
|
||||
this.allStyle.push(x);
|
||||
$("#styleSel").append(`<option value="${x.styleID}">${x.name}</option`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user