qinzhipeng_v 5 tahun lalu
induk
melakukan
5aa410499f

+ 1 - 1
src/views/Platform/presentation/Acceptance.vue

@@ -1,7 +1,7 @@
 <template>
   <!-- 准出报告,新增服务端报告 -->
   <div class="eleStyle">
-    <el-form ref="ClientData" :inline="true" :model="ClientData" :rules="serviceDataRules" style="margin: 0% 14%;">
+    <el-form ref="ClientData" :inline="true" :model="ClientData" :rules="serviceDataRules" style="margin: 0% 3%;">
       <div style="display: flex;white-space: nowrap;">
         <el-form-item label="标题" style="flex: 1;" prop="reportName">
           <el-input v-model="ClientData.reportName" size="small" style="width:15vw;" placeholder="报告标题(xxx项目准出报告)" />

+ 1 - 1
src/views/Platform/presentation/ClientAcceptance.vue

@@ -1,7 +1,7 @@
 <template>
   <!-- 准出报告,新增客户端报告 -->
   <div class="eleStyle">
-    <el-form ref="ClientData" :inline="true" :model="ClientData" :rules="serviceDataRules" style="margin:0% 14%;">
+    <el-form ref="ClientData" :inline="true" :model="ClientData" :rules="serviceDataRules" style="margin:0% 3%;">
       <div style="display:flex; white-space: nowrap;">
         <el-form-item label="标题" class="backStyle" style="flex:1;" prop="reportName">
           <el-input v-model="ClientData.reportName" size="small" style="width:15vw;" placeholder="报告标题(xxx项目准出报告)" />

+ 1 - 0
src/views/Platform/presentation/PresentReport.vue

@@ -170,6 +170,7 @@ export default {
       console.log(this.clienData, '提测客户端')
       this.dataChange = this.clienData
       if (this.dataChange.id) {
+        console.log(this.clienData, '111111')
         if (this.dataChange.lateStatus === 1) {
           this.lateStatusBtn1 = 'success'
           this.lateStatusBtn = 'info'

+ 2 - 0
src/views/Platform/presentation/Templates/ClientReport.vue

@@ -202,6 +202,7 @@ export default {
       this.newNum = 1
       switch (Number(this.radio)) {
         case 1:
+          this.clienData = {}
           this.showOne = false
           this.showTow = true
           this.showThree = false
@@ -209,6 +210,7 @@ export default {
           this.Acceptance1 = false
           break
         case 2:
+          this.clienData = {}
           this.showOne = false
           this.showTow = true
           this.showThree = false

+ 5 - 1
src/views/Platform/presentation/Templates/DailyReport.vue

@@ -45,7 +45,7 @@
       </div>
       <div align="center">
         <el-button size="small" type="primary" @click="gou_out()">上一步</el-button>
-        <el-button size="small" type="primary" @click="sendReport(form)">发送</el-button>
+        <el-button :disabled="send" size="small" type="primary" @click="sendReport(form)">发送</el-button>
       </div>
     </div>
   </el-dialog>
@@ -66,6 +66,7 @@ export default {
   },
   data() {
     return {
+      send: false,
       form: {},
       preview: {},
       dailyNewData: {},
@@ -154,6 +155,7 @@ export default {
     NextStep() {
       switch (Number(this.radio)) {
         case 1:
+          this.dailyNewData = {}
           this.showOne = false
           this.showTow = true
           this.active = 2
@@ -165,6 +167,7 @@ export default {
       }
     },
     sendReport(e) {
+      this.send = true
       var ele = this.preview
       setTimeout(() => {
         var targetDom = document.getElementById('Gambol')
@@ -178,6 +181,7 @@ export default {
             // document.querySelector('body').removeChild(copyDom)
             // copyDom = null
             res.code === 200 ? this.$message({ type: 'success', message: '发送测试报告成功' }) : this.$message({ type: 'error', message: '发送测试报告失败,请联系管理员!' })
+            this.send = false
             this.handleClose()
           })
         })

+ 2 - 0
src/views/Platform/presentation/Templates/TestReport.vue

@@ -180,6 +180,7 @@ export default {
     NextStep() {
       switch (Number(this.radio)) {
         case 1:
+          this.clienData = {}
           this.showOne = false
           this.showTow = true
           this.Present1 = true
@@ -188,6 +189,7 @@ export default {
           this.newNum = 1
           break
         case 2:
+          this.clienData = {}
           this.showOne = false
           this.showTow = true
           this.Present1 = false

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

@@ -1061,7 +1061,8 @@ export default {
           break
         case 4:
           this.modalShow = true
-          this.$nextTick(() => { this.$refs.createdBug.init(1, ele) })
+          console.log(ele, 'dddddd')
+          // this.$nextTick(() => { this.$resfs.createdBug.init(1, ele) })
           break
       }
     }