Explorar el Código

fix: 中文状态转译

zh hace 2 años
padre
commit
311ca255dd

+ 4 - 4
src/views/commercialEngineering/crossDistrict/crossDistrictkList.vue

@@ -10,6 +10,7 @@
     :options-evens-group="optionsEvensGroup"
     :table-attributes="tableAttributes"
     :table-events="tableEvents"
+    :replaceOrNotMap ="false"
   >
     <Popu v-if="visible">
       <el-page-header slot="head" :content="content" @back="handleClose" />
@@ -70,7 +71,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -92,7 +93,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -114,7 +115,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -170,7 +171,6 @@ export default {
     },
     operation() {
       return (h, { row, index, column }) => {
-        console.log(row.orderStatus)
         return (
           <div class='operation-btns'>
             {this.isTradeExaminer && row.orderStatus === 'WAIT' ? (

+ 6 - 4
src/views/commercialEngineering/frock/frockList.vue

@@ -10,6 +10,8 @@
     :options-evens-group="optionsEvensGroup"
     :table-attributes="tableAttributes"
     :table-events="tableEvents"
+    :replaceOrNotMap ="false"
+
   >
     <Popu v-if="visible">
       <el-page-header slot="head" :content="content" @back="handleClose" />
@@ -67,7 +69,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -89,7 +91,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -111,7 +113,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -164,10 +166,10 @@ export default {
     // 监听勾选变化
     selectionChange(data) {
       this.recordSelected = data
+      console.log(data)
     },
     operation() {
       return (h, { row, index, column }) => {
-        console.log(row.orderStatus)
         return (
           <div class='operation-btns'>
             {this.isTradeExaminer && row.orderStatus === 'WAIT' ? (

+ 5 - 4
src/views/commercialEngineering/homeDecoration/homeDecorationList.vue

@@ -10,6 +10,8 @@
     :options-evens-group="optionsEvensGroup"
     :table-attributes="tableAttributes"
     :table-events="tableEvents"
+    :replaceOrNotMap ="false"
+
   >
     <Popu v-if="visible">
       <el-page-header slot="head" :content="content" @back="handleClose" />
@@ -77,7 +79,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -99,7 +101,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -121,7 +123,7 @@ export default {
                         return
                       }
                       for (let index = 0; index < this.recordSelected.length.length; index++) {
-                        if (this.recordSelected[index].orderStatus !== 'OK') {
+                        if (this.recordSelected[index].orderStatus !== '登录成功') {
                           this.$message.error('请选择审核通过的数据')
                           return
                         }
@@ -177,7 +179,6 @@ export default {
     },
     operation() {
       return (h, { row, index, column }) => {
-        console.log(row.orderStatus)
         return (
           <div class='operation-btns'>
             {this.isTradeExaminer && row.orderStatus === 'WAIT' ? (