panxiandiao_i 5 years ago
parent
commit
6c6ea08b19

+ 2 - 2
src/views/projectManage/projectList/projectListIndex.vue

@@ -9,7 +9,7 @@
             <el-select v-model="queryCode.statusString" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="状态">
               <el-option v-for="item in statusOptionss" :key="item.code" :label="item.name" :value="item.code" />
             </el-select>
-            <el-select v-show="isPlatformShow" v-model="queryCode.platformType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(queryCode.platformType)">
+            <el-select v-show="isPlatformShow" v-model="queryCode.type" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(queryCode.type)">
               <el-option v-for="item in platformTypeStr" :key="item.code" :label="item.name" :value="item.code" />
             </el-select>
             <el-select v-show="isBusinessShow" v-model="queryCode.clientType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="业务模块" @change="clickChangeModule(queryCode.clientType)">
@@ -181,7 +181,7 @@ export default {
           if (this.bizJson) {
             this.isPlatformShow = true
             this.platformTypeStr = this.bizOptions.filter(value => value.code === parseInt(this.bizJson))[0].child
-            this.$set(this.form, 'platformType', '')
+            this.$set(this.form, 'type', '')
             this.$set(this.form, 'clientType', '')
           } else {
             this.isPlatformShow = false

+ 10 - 6
src/views/projectManage/taskList/taskListIndex.vue

@@ -11,7 +11,7 @@
                 <el-select v-model="form.status" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="状态">
                   <el-option v-for="item in processStatusEnumList" :key="item.code" :label="item.name" :value="item.code" />
                 </el-select>
-                <el-select v-show="isPlatformShow" v-model="form.platformType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(form.platformType)">
+                <el-select v-show="isPlatformShow" v-model="form.type" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(form.type)">
                   <el-option v-for="item in platformTypeStr" :key="item.code" :label="item.name" :value="item.code" />
                 </el-select>
                 <el-select v-show="isBusinessShow" v-model="form.clientType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="业务模块" @change="clickChangeModule(form.clientType)">
@@ -100,12 +100,11 @@
                 <el-select v-model="formKanBan.status" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="状态">
                   <el-option v-for="item in processStatusEnumListKanBan" :key="item.code" :label="item.name" :value="item.code" />
                 </el-select>
-                <el-input v-model="formKanBan.group" placeholder="填写分组名称" autocomplete="off" clearable size="medium" style="width:17.5%;margin-right: 15px;" />
                 <el-input v-model="formKanBan.tag" placeholder="填写标签名称" autocomplete="off" clearable size="medium" style="width:17.5%;margin-right: 15px;" />
-                <el-select v-show="isPlatformShow" v-model="formKanBan.platformType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(formKanBan.platformType)">
+                <el-select v-show="isPlatformShow" v-model="formKanBan.type" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="平台类型" @change="clickChangeBusiness(formKanBan.type)">
                   <el-option v-for="item in platformTypeStr" :key="item.code" :label="item.name" :value="item.code" />
                 </el-select>
-                <el-select v-show="isBusinessShow" v-model="formKanBan.clientType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="业务模块" @change="clickChangeModule(form.clientType)">
+                <el-select v-show="isBusinessShow" v-model="formKanBan.clientType" size="medium" style="width:17.5%;margin-right: 15px;" clearable placeholder="业务模块" @change="clickChangeModule(formKanBan.clientType)">
                   <el-option v-for="item in businessTypeStr" :key="item.code" :label="item.name" :value="item.code" />
                 </el-select>
                 <el-button type="primary" size="medium" style="z-index:999" plain @click="kanBanQuery(formKanBan)">查询</el-button>
@@ -269,6 +268,7 @@ import draggable from 'vuedraggable'
 // let CONSTANT_ID = 9999
 
 export default {
+  name: 'DefectTask',
   components: {
     // 调用drag
     draggable
@@ -470,8 +470,10 @@ export default {
           if (this.bizJson) {
             this.isPlatformShow = true
             this.platformTypeStr = this.bizOptions.filter(value => value.code === parseInt(this.bizJson))[0].child
-            this.$set(this.form, 'platformType', '')
+            this.$set(this.form, 'type', '')
             this.$set(this.form, 'clientType', '')
+            this.$set(this.formKanBan, 'type', '')
+            this.$set(this.formKanBan, 'clientType', '')
           } else {
             this.isPlatformShow = false
             this.isBusinessShow = false
@@ -487,11 +489,13 @@ export default {
         this.isBusinessShow = true
         this.businessTypeStr = this.platformTypeStr.filter(value => value.code === e)[0].child
         this.$set(this.form, 'clientType', '')
+        this.$set(this.formKanBan, 'clientType', '')
       } else {
         this.isBusinessShow = false
       }
     },
     clickChangeModule(e) {
+      console.log(e)
       if (!e) {
         this.isBusinessShow = false
       }
@@ -736,7 +740,7 @@ export default {
         this.kanBanDrag()
       } else {
         this.loadingOnlineProcess = true
-        const initValue = { bizId: this.bizJson, groups: data.commentInfo.id }
+        const initValue = { bizId: this.bizJson, group: data.commentInfo.id }
         listMap(initValue).then((res) => {
           res.code === 200 ? this.labelDrag = this.bubble(res.data) : this.errorFun(res.msg)
           this.loadingOnlineProcess = false