Jelajahi Sumber

线下测试

panxiandiao_i 5 tahun lalu
induk
melakukan
c35c6ab675

+ 1 - 8
src/views/Platform/bugManage/bugCreate.vue

@@ -230,7 +230,6 @@ export default {
       formLabelWidth: '11%',
       formLabelWidth1: '22%',
       userData: '',
-      submitMissionJudge: '',
       businessTypeShow: false,
       moduleTypeShow: false,
       userInformation: localStorage.getItem('username'),
@@ -291,6 +290,7 @@ export default {
     },
     // 业务线取子数据
     clickChangePlatform(e) {
+      console.log(this.form.taskId)
       this.platformTypeStr = this.bizOptions.filter(value => value.code === e)[0].child
       this.businessTypeStr = []
       this.moduleStr = []
@@ -320,9 +320,6 @@ export default {
       }
       this.$set(this.form, 'moduleId', '')
     },
-    submitJudge(e) {
-      this.submitMissionJudge = e
-    },
     // 提交表单并且返回刷新
     createFormData(form) {
       this.$refs.form.validate((valid) => {
@@ -330,16 +327,12 @@ export default {
           if (this.$route.query.id && typeof this.form.bizId === 'string') {
             form.bizId = this.bizOptions.filter(value => value.name === form.bizId)[0].code
           }
-          if (this.$route.query.id && !this.submitMissionJudge) {
-            form.taskId = this.taskIdStr.filter(value => value.name === form.taskId)[0].id
-          }
           form.reopenTimes = parseInt(form.reopenTimes)
           form.projectId = this.taskIdStr.filter(value => value.id === this.form.taskId)[0].projectId
           this.userData = { id: '', ename: this.userInformation, name: this.userNames }
           this.objData = { bugBaseInfo: form, user: this.userData }
           bugCreate(this.objData).then(res => {
             res.code === 200 ? this.successFun() : this.errorFun()
-            this.submitMissionJudge = ''
             this.$router.go(-1)
           })
         }

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

@@ -153,7 +153,6 @@ export default {
     // 先后获取
     async _initBegin() {
       await bugGetEnum().then(res => {
-        console.log(res.data.reasonEnumList)
         this.bugStatusStr = res.data.bugEnumList
         this.bugLevelStr = res.data.priorityEnumList
         this.bizIdEnumList = res.data.bizIdEnumList

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

@@ -237,7 +237,6 @@ export default {
   methods: {
     handleChange(file, fileList) {
       this.fileList = fileList.slice(-3)
-      console.log(this.fileList)
     },
     async _initBegin() {
       await bugGetEnum().then(res => {
@@ -310,7 +309,6 @@ export default {
     // 提交表单并且返回刷新
     createFormData(form) {
       this.$refs.form.validate((valid) => {
-        console.log(form)
         if (valid) {
           form.reopenTimes = parseInt(form.reopenTimes)
           this.userData = { id: '', ename: this.userInformation, name: this.userNames }

+ 1 - 3
src/views/virtualDevices/HMvehicle.vue

@@ -1,10 +1,8 @@
 <template>
-  <div>
-  </div>
+  <div />
 </template>
 
 <script>
-
 export default {
 
 }