|
@@ -48,12 +48,12 @@
|
|
>编辑</el-button
|
|
>编辑</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
- link
|
|
|
|
- type="danger"
|
|
|
|
- icon="el-icon-edit"
|
|
|
|
- v-if="row.usable === 0"
|
|
|
|
- @click="deleteRow(row, index)"
|
|
|
|
- >删除</el-button
|
|
|
|
|
|
+ link
|
|
|
|
+ type="danger"
|
|
|
|
+ icon="el-icon-edit"
|
|
|
|
+ v-if="row.usable === 0"
|
|
|
|
+ @click="deleteRow(row, index)"
|
|
|
|
+ >删除</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
link
|
|
link
|
|
@@ -120,7 +120,6 @@ import { copyRoute } from "@/api/craft/route/index";
|
|
// 数据字典相关
|
|
// 数据字典相关
|
|
const { dicts } = useDictionaryStore();
|
|
const { dicts } = useDictionaryStore();
|
|
|
|
|
|
-
|
|
|
|
// 传入一个url,后面不带/
|
|
// 传入一个url,后面不带/
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
useCrud({
|
|
useCrud({
|
|
@@ -231,7 +230,7 @@ const bindProcess = (row) => {
|
|
// 设置表格列或者其他自定义的option
|
|
// 设置表格列或者其他自定义的option
|
|
option.value = Object.assign(option.value, {
|
|
option.value = Object.assign(option.value, {
|
|
selection: true,
|
|
selection: true,
|
|
- labelWidth: 110,
|
|
|
|
|
|
+ labelWidth: 130,
|
|
menuWidth: 250,
|
|
menuWidth: 250,
|
|
delBtn: false,
|
|
delBtn: false,
|
|
searchLabelWidth: 110,
|
|
searchLabelWidth: 110,
|
|
@@ -287,6 +286,7 @@ option.value = Object.assign(option.value, {
|
|
value: "dictValue",
|
|
value: "dictValue",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
label: "通用工艺id",
|
|
label: "通用工艺id",
|
|
prop: "commonRouteId",
|
|
prop: "commonRouteId",
|
|
@@ -315,6 +315,21 @@ option.value = Object.assign(option.value, {
|
|
overHidden: true,
|
|
overHidden: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ label: "执行文件和标准",
|
|
|
|
+ prop: "executeFileStd",
|
|
|
|
+ width: 180,
|
|
|
|
+ addDisplay: true,
|
|
|
|
+ editDisabled: true,
|
|
|
|
+ overHidden: true,
|
|
|
|
+ rules: [
|
|
|
|
+ {
|
|
|
|
+ required: true,
|
|
|
|
+ message: "执行文件和标准不能为空",
|
|
|
|
+ trigger: "blur",
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
label: "产品名称",
|
|
label: "产品名称",
|
|
prop: "prodtName",
|
|
prop: "prodtName",
|
|
overHidden: true,
|
|
overHidden: true,
|