牌位設計功能調整

This commit is contained in:
2026-05-26 17:55:36 +08:00
parent a58e6ac7ac
commit 669b29d183
2 changed files with 38 additions and 21 deletions
@@ -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`);
}