diff --git a/src/api/api/view.ts b/src/api/api/view.ts index 2458c1b..ae4f3e3 100644 --- a/src/api/api/view.ts +++ b/src/api/api/view.ts @@ -36,6 +36,15 @@ export async function updateBatchById3(params) { return result; } +//试验号变更-保存视图编辑的内容-关闭流程 +export async function updateBatchById4(params) { + let result = {}; + await http.post('/api/View/UpdateBatchById4', params).then((data) => { + result = data; + }); + return result; +} + //获取物理视图 export async function GetMaterialInfoListByTeamId(params) { let result = {}; diff --git a/src/views/half/components/EditView.vue b/src/views/half/components/EditView.vue index 3956377..f4862d9 100644 --- a/src/views/half/components/EditView.vue +++ b/src/views/half/components/EditView.vue @@ -480,7 +480,7 @@ export default { setTimeout(function () { layer.close(idx); layer.msg('保存成功'); - $this.$emit('cancelClick', true, true); + $this.$emit('cancelClick', true, false); $this.$refs.OperateLog._getPageList(); }, 500); } diff --git a/src/views/half/components/EditViewOFF.vue b/src/views/half/components/EditViewOFF.vue new file mode 100644 index 0000000..0f71fa2 --- /dev/null +++ b/src/views/half/components/EditViewOFF.vue @@ -0,0 +1,533 @@ + + + + diff --git a/src/views/half/half.vue b/src/views/half/half.vue index a8a785a..95ca9bd 100644 --- a/src/views/half/half.vue +++ b/src/views/half/half.vue @@ -81,8 +81,7 @@ export default { components: { EditMateria, EditView, - ShowData1, - + ShowData1 }, setup() { let dataColumn = [ diff --git a/src/views/half/route.vue b/src/views/half/route.vue index 4712a4a..72ac3a1 100644 --- a/src/views/half/route.vue +++ b/src/views/half/route.vue @@ -53,9 +53,14 @@ + + + + +