浏览代码

合 panxiandiao

panxiandiao_i 5 年之前
父节点
当前提交
98ba0e1ab2

+ 0 - 1
src/router/index.js

@@ -362,7 +362,6 @@ export const constantRoutes = [
       }
     ]
   },
-  
   {
     path: '/online-quality',
     component: Layout,

+ 2 - 0
src/views/Platform/bugManage/bugCreate.vue

@@ -282,6 +282,8 @@ export default {
     clickChangeBusiness(e) {
       if (this.platformTypeStr.filter(value => value.name === e)[0].child) {
         this.businessTypeStr = this.platformTypeStr.filter(value => value.name === e)[0].child
+      } else {
+        this.businessTypeStr = ''
       }
       this.$set(this.form, 'businessType', '')
     },

+ 0 - 2
src/views/Platform/bugManage/bugQuery.vue

@@ -123,7 +123,6 @@ export default {
       })
       bugGet(this.$route.query.id).then(res => {
         this.form = res.data
-        console.log(this.form)
         for (const a of this.bizIdEnumList) {
           if (this.form.bizId === a.code) {
             this.bizId = a.name
@@ -164,7 +163,6 @@ export default {
           if (this.$refs.refeshDevelopmentDialog !== undefined) {
             this.$refs.refeshDevelopmentDialog.resetFields()
           }
-          this.$refs.refeshDevelopmentDialog.resetFields()
         } else {
           this.errorFun()
         }

+ 2 - 0
src/views/Platform/bugManage/bugUpdate.vue

@@ -282,6 +282,8 @@ export default {
     clickChangeBusiness(e) {
       if (this.platformTypeStr.filter(value => value.name === e)[0].child) {
         this.businessTypeStr = this.platformTypeStr.filter(value => value.name === e)[0].child
+      } else {
+        this.businessTypeStr = ''
       }
       this.$set(this.form, 'businessType', '')
     },