diff --git a/src/filters/basic-filter.js b/src/filters/basic-filter.js
index c8a31d3..fefc16a 100644
--- a/src/filters/basic-filter.js
+++ b/src/filters/basic-filter.js
@@ -25,6 +25,12 @@ const table = {
'1': '可计数',
'2': '不可计数',
},
+ inspectionStage: {
+ 1: '进货检验',
+ 2: '过程检验',
+ 3: '成品检验',
+ 4: '出货检验',
+ }
}
export default function(dictTable) {
diff --git a/src/filters/sys-filter.js b/src/filters/sys-filter.js
index 7d10b0b..f6227c9 100644
--- a/src/filters/sys-filter.js
+++ b/src/filters/sys-filter.js
@@ -2,7 +2,7 @@
/*
* @Date: 2020-12-29 16:49:28
* @LastEditors: zwq
- * @LastEditTime: 2023-01-05 15:49:17
+ * @LastEditTime: 2023-04-21 16:49:57
* @FilePath: \basic-admin\src\filters\basicData\index.js
* @Description:
*/
@@ -29,6 +29,10 @@ const table = {
'0': i18n.t('logLogin.status0'),
'1': i18n.t('logLogin.status1')
},
+ scheduleStatus: {
+ '0': i18n.t('schedule.status0'),
+ '1': i18n.t('schedule.status1')
+ },
}
export default function(dictTable) {
diff --git a/src/i18n/en/basicData.js b/src/i18n/en/basicData.js
index 47df50e..7cb9c9f 100644
--- a/src/i18n/en/basicData.js
+++ b/src/i18n/en/basicData.js
@@ -7,6 +7,8 @@
*/
export default {
+ name: 'name',
+ code: 'code',
status: 'status',
createTime: 'create time',
}
diff --git a/src/i18n/zh/basicData.js b/src/i18n/zh/basicData.js
index 674811a..c3aa84c 100644
--- a/src/i18n/zh/basicData.js
+++ b/src/i18n/zh/basicData.js
@@ -7,6 +7,8 @@
*/
export default {
+ name: '名称',
+ code: '编码',
status: '状态',
createTime: '添加时间',
}
diff --git a/src/mixins/basic-page.js b/src/mixins/basic-page.js
index 3c085f6..f8f15dd 100644
--- a/src/mixins/basic-page.js
+++ b/src/mixins/basic-page.js
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-24 11:19:43
* @LastEditors: zwq
- * @LastEditTime: 2023-02-17 10:59:11
+ * @LastEditTime: 2023-04-20 10:48:23
* @Description:
*/
export default {
@@ -17,6 +17,7 @@ export default {
},
addOrEditTitle: '',
tableData: [],
+ dataForm: {},
listQuery: {
limit: 10,
page: 1,
@@ -104,7 +105,7 @@ export default {
this.$refs.addOrUpdate.init(val.data.id);
});
} else if (val.type === "delete") {
- this.deleteHandle(val.data.id, val.data.name)
+ this.deleteHandle(val.data.id, val.data.name,val.data._pageIndex)
} else if (val.type === "change") {
this.changeStatus(val.data.id)
} else {
@@ -112,8 +113,8 @@ export default {
}
},
// 删除
- deleteHandle(id, name) {
- this.$confirm(`确定对[名称=${name}]进行删除操作?`, "提示", {
+ deleteHandle(id, name,index) {
+ this.$confirm(`确定对${name?'[名称='+name+']':'[序号='+index+']'}进行删除操作?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
diff --git a/src/views/modules/job/schedule-add-or-update.vue b/src/views/modules/job/schedule-add-or-update.vue
index 1ab9520..72e3f6a 100644
--- a/src/views/modules/job/schedule-add-or-update.vue
+++ b/src/views/modules/job/schedule-add-or-update.vue
@@ -1,5 +1,4 @@
-
@@ -17,20 +16,21 @@
-
- {{ $t('cancel') }}
- {{ $t('confirm') }}
-
-
diff --git a/src/views/modules/sys/role-add-or-update.vue b/src/views/modules/sys/role-add-or-update.vue
index 92a41a5..12f1349 100644
--- a/src/views/modules/sys/role-add-or-update.vue
+++ b/src/views/modules/sys/role-add-or-update.vue
@@ -1,5 +1,5 @@
-
+
@@ -117,7 +117,7 @@ export default {
}).catch(() => {})
},
// 表单提交
- dataFormSubmitHandle: debounce(function () {
+ dataFormSubmit: debounce(function () {
this.$refs['dataForm'].validate((valid) => {
if (!valid) {
return false
diff --git a/src/views/process-inspection/components/generalOperation-add.vue b/src/views/process-inspection/components/generalOperation-add.vue
index ca24872..51d9eda 100644
--- a/src/views/process-inspection/components/generalOperation-add.vue
+++ b/src/views/process-inspection/components/generalOperation-add.vue
@@ -2,13 +2,13 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zwq
- * @LastEditTime: 2022-12-28 09:25:04
+ * @LastEditTime: 2023-04-20 10:57:44
* @Description:
-->
- {{ !dataForm.id ? "登记" : "修改" }}
+ {{ !dataForm.id ? "登记" : "修改" }}
@@ -438,4 +438,18 @@ export default {
margin-bottom: 0;
padding: 0;
}
+.titleStyle{
+ margin-left: 10px;
+}
+.titleStyle::before{
+ content: '';
+ display: inline-block;
+ width: 4px;
+ height: 16px;
+ background-color: #0B58FF;
+ border-radius: 1px;
+ margin-right: 8px;
+ position: relative;
+ top: 2px;
+}
diff --git a/src/views/process-inspection/generalOperation.vue b/src/views/process-inspection/generalOperation.vue
index 623e701..a393155 100644
--- a/src/views/process-inspection/generalOperation.vue
+++ b/src/views/process-inspection/generalOperation.vue
@@ -2,12 +2,12 @@
* @Author: zwq
* @Date: 2022-09-15 10:44:29
* @LastEditors: zwq
- * @LastEditTime: 2022-12-09 11:16:58
+ * @LastEditTime: 2023-04-20 10:58:45
* @Description:
-->
-
+
@@ -138,67 +138,27 @@
-
-
-
-
-
- {{
- { 1: "进货检验", 2: "过程检验", 3: "成品检验", 4: "出货检验" }[
- scope.row.inspectionStage
- ]
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+