qinzhipeng_v 5 år sedan
förälder
incheckning
7552261418

+ 2 - 1
src/views/projectManage/bugList/bugindex.vue

@@ -148,7 +148,7 @@
       <el-main style="padding: 1%">
         <el-row class="headerBg table_v" style=" padding-top: 0px;">
           <el-col :span="24" style="min-height: 47vh;">
-            <el-table size="small" :data="tableData" style="width: 100%; font-size: 14px; color:rgba(102,102,102,1);" :default-sort="{prop: 'priorityCode'}" show-overflow-tooltip="true" :header-cell-style="{ color: '#4A4A4A', fontSize: '14px', fontWeight: '500' }">
+            <el-table size="small" :data="tableData" style="width: 100%; font-size: 14px; color:rgba(102,102,102,1);" show-overflow-tooltip="true" :header-cell-style="{ color: '#4A4A4A', fontSize: '14px', fontWeight: '500' }">
               <el-table-column label="优先级" prop="priorityCode" sortable align="center">
                 <template slot-scope="scope">
                   <div class="div_priority" :style="{background: priorityColors[scope.row.priorityCode]}">{{ scope.row.priorityLevel | oneA }}</div>
@@ -315,6 +315,7 @@ export default {
               item1.priorityLevel !== null ? item1.priorityLevel === item.name ? item1.priorityCode = item.code : '' : ''
             })
           })
+          console.log(this.tableData, '成都市开车')
         }
       })
     },

+ 4 - 4
src/views/projectManage/bugList/file/createdBug.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="Parent">
-    <el-dialog ref="modalShow" :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
+    <el-dialog :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
       <el-form ref="formInline" label-position="left" :model="formInline" :rules="rules" label-width="90px">
         <el-row style="margin: 0 4% 2% 4%;">
           <el-col :span="24">
@@ -249,12 +249,12 @@ export default {
   methods: {
     init(e, ele) {
       this.modalShow = true
+      this.$nextTick(() => {
+        this.$refs['formInline'].clearValidate()
+      })
       if (e === 1) {
         this.titleName = '新建缺陷'
         if (ele !== undefined) {
-          this.$nextTick(function() {
-            this.$refs.modalShow.resetFields()
-          })
           this.$set(this.formInline, 'taskId', ele.id)
           this.$set(this.formInline, 'cliType', [ele.bizId, ele.type, ele.clientType])
         }

+ 1 - 1
src/views/projectManage/taskList/taskViewDetails.vue

@@ -1250,7 +1250,7 @@ export default {
           case 4:
             this.modalShow = true
             this.$nextTick(() => {
-              this.$refs.createdBug.init(1, ele.id)
+              this.$refs.createdBug.init(1, ele)
             })
             break
         }