Browse Source

pssr bugfix

jiangbiao 10 tháng trước cách đây
mục cha
commit
e53fcc8cd4

+ 0 - 2
ui/src/views/pssr/blind/index.vue

@@ -549,8 +549,6 @@ export default {
       })
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/hygiene/index.vue

@@ -574,8 +574,6 @@ export default {
       this.ids = selection.map(item => item.id)
       this.single = selection.length!==1
       this.multiple = !selection.length
-      this.msgSuccess("已发起确认流程");
-        this.getList();
     },
     /** 新增按钮操作 */
     handleAdd() {

+ 1 - 2
ui/src/views/pssr/laboratory/index.vue

@@ -562,8 +562,7 @@ export default {
     listUserNoPage({}).then(res => {
       this.userOptions = res.data
     });
-    this.msgSuccess("已发起确认流程");
-        this.getList();
+
   },
   methods: {
     /** 查询实验室列表 */

+ 0 - 2
ui/src/views/pssr/lock/index.vue

@@ -445,8 +445,6 @@ export default {
       })
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus != 2 && row.approveStatus != 0 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulExchanger/index.vue

@@ -524,8 +524,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulFilter/index.vue

@@ -553,8 +553,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulPipe/index.vue

@@ -377,8 +377,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulPump/index.vue

@@ -390,8 +390,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulTower/index.vue

@@ -508,8 +508,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 2
ui/src/views/pssr/overhaulValve/index.vue

@@ -570,8 +570,6 @@ export default {
       }
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 12
ui/src/views/pssr/pipe/index.vue

@@ -381,18 +381,8 @@ export default {
         }
    },
   created() {
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
     const id = this.$route.params.subId
     const serialNumber = this.$route.params.serialNumber
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
     this.subId = id
       //设置表格高度对应屏幕高度
       this.$nextTick(() => {
@@ -534,8 +524,6 @@ export default {
       })
     },
     checkSelectable(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       return (row.approveStatus == 1 && this.isApprove != 0) || this.isApprove == 0
     },
     handleConfirmApprove() {

+ 0 - 4
ui/src/views/pssr/region/index.vue

@@ -484,8 +484,6 @@ export default {
     },
     //合并单元格
     mergeMethod({row, column, rowIndex, columnIndex}) {
-      // this.msgSuccess("已发起确认流程");
-        this.getList();
       if ([1, 2, 4].includes(columnIndex)) {
         const _row = this.setTable(this.regionList).merge[rowIndex];
         const _col = _row > 0 ? 1 : 0;
@@ -497,8 +495,6 @@ export default {
     },
     //单元格整理
     setTable(tableData) {
-      //    this.msgSuccess("已发起确认流程");
-        this.getList();
       let spanArr = [],
         concat = 0;
       tableData.forEach((item, index) => {

+ 0 - 2
ui/src/views/pssr/subcontent/index.vue

@@ -332,8 +332,6 @@ export default {
       }
     },
     gotoSubIndex(row) {
-      this.msgSuccess("已发起确认流程");
-        this.getList();
       this.$router.push({name: 'Subitem', params: {subId: row.id, serialNumber: row.forShort}});
     },
     /** 查询开车条件确认列表 */

+ 6 - 12
ui/src/views/pssr/subitem/index.vue

@@ -256,18 +256,13 @@ export default {
   },
   created() {
     this.sn = ''
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
+
+
     const id = this.$route.params.subId
     const serialNumber = this.$route.params.serialNumber
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
-    this.msgSuccess("已发起确认流程");
-        this.getList();
+
+
+
     if (typeof id !== 'undefined') {
       this.si = id
     } else {
@@ -279,8 +274,7 @@ export default {
       this.sn = this.serialNumber
     }
 
-    this.msgSuccess("已发起确认流程");
-        this.getList();
+
   },
   methods: {
     handleClick(tab) {