This commit is contained in:
lb 2023-07-18 11:24:17 +08:00
förälder 80e7c5d292
incheckning 4c69135048
4 ändrade filer med 61 tillägg och 2 borttagningar

Visa fil

@ -20,7 +20,11 @@ export default function () {
fixed: "right",
width: 128,
subcomponent: TableOperaionComponent,
options: [ { name: "copy", label: "复制", icon: "copy-document" }, { name: "edit", label: "编辑", icon: "edit-outline" }, { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:blenderStep:delete" }],
options: [
{ name: "copy", label: "复制", icon: "copy-document" },
{ name: "edit", label: "编辑", icon: "edit-outline" },
{ name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:blenderStep:delete" },
],
},
];
@ -58,6 +62,12 @@ export default function () {
name: "查询",
},
},
{
button: {
type: "plain",
name: "同步",
},
},
// {
// button: {
// type: "plain",
@ -216,6 +226,7 @@ export default function () {
subase: "/pms/equipmentTechParam",
subpage: "/pms/equipmentTechParam/page",
copyUrl: "/pms/equipmentTech/copy",
syncUrl: "/pms/trans/kilnSync"
// more...
},
};

Visa fil

@ -227,7 +227,7 @@ export default {
}
})
.catch((errMsg) => {
console.log('ere...')
console.log("ere...");
this.$message({
message: errMsg,
type: "error",
@ -390,6 +390,18 @@ export default {
this.showUploadDialog(payload);
// alert('/pms/order/importExcelOrder');
break;
case "压制工艺":
//
alert("跳转至压制工艺页面");
// this.$router.push({ path: "/pms/pressing-process", query: { orderId: payload.id } });
break;
case "烧制曲线":
// 线
alert("跳转至烧制曲线页面");
break;
case "检测工艺": //
alert("跳转至检测工艺页面");
break;
}
},

Visa fil

@ -454,6 +454,18 @@ export default {
}
}
case "pending":
console.log("[search form btn click]", type, btnName, payload);
if (btnName === "压制工艺") {
//
alert("跳转至压制工艺页面");
// this.$router.push({ path: "/pms/pressing-process", query: { orderId: payload.id } });
} else if (btnName === '烧制曲线') {
// 线
alert("跳转至烧制曲线页面");
} else if (btnName === '检测工艺') {
//
alert("跳转至检测工艺页面");
}
break;
case "finished":
break;

Visa fil

@ -178,6 +178,30 @@ export default function () {
plain: true,
},
},
{
button: {
name: '压制工艺'
},
bind: {
plain: true
}
},
{
button: {
name: '烧制曲线'
},
bind: {
plain: true
}
},
{
button: {
name: '检测工艺'
},
bind: {
plain: true
}
}
],
finished: [
{