Ver código fonte

线下bug的解决

panxiandiao_i 5 anos atrás
pai
commit
14c3339d84

+ 0 - 1
src/router/index.js

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

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

@@ -282,6 +282,8 @@ export default {
     clickChangeBusiness(e) {
     clickChangeBusiness(e) {
       if (this.platformTypeStr.filter(value => value.name === e)[0].child) {
       if (this.platformTypeStr.filter(value => value.name === e)[0].child) {
         this.businessTypeStr = 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', '')
       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 => {
       bugGet(this.$route.query.id).then(res => {
         this.form = res.data
         this.form = res.data
-        console.log(this.form)
         for (const a of this.bizIdEnumList) {
         for (const a of this.bizIdEnumList) {
           if (this.form.bizId === a.code) {
           if (this.form.bizId === a.code) {
             this.bizId = a.name
             this.bizId = a.name
@@ -164,7 +163,6 @@ export default {
           if (this.$refs.refeshDevelopmentDialog !== undefined) {
           if (this.$refs.refeshDevelopmentDialog !== undefined) {
             this.$refs.refeshDevelopmentDialog.resetFields()
             this.$refs.refeshDevelopmentDialog.resetFields()
           }
           }
-          this.$refs.refeshDevelopmentDialog.resetFields()
         } else {
         } else {
           this.errorFun()
           this.errorFun()
         }
         }

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

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