|
@@ -92,12 +92,8 @@
|
|
|
<el-form-item label="其他"><el-input v-model="fromDev.others" style="padding-left: 25px; text-align: right; width: 85vw;" size="small" type="textarea" :rows="5" placeholder="请输入其他内容…" /></el-form-item>
|
|
|
</el-col>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="double" align="center" style="margin: 5vw 0 3vw;">
|
|
|
- <div><el-button @click="clickPreview(fromDev)"> 预 览 </el-button></div>
|
|
|
- <div v-show="showButton"><el-button type="primary" @click="getCreateData(fromDev)"> 保 存 </el-button></div>
|
|
|
- <div v-show="showButton1"><el-button type="primary" @click="getQueryData(fromDev)"> 更 新 </el-button></div>
|
|
|
- </div>
|
|
|
+ <!-- <div v-show="showButton"><el-button type="primary" @click="getCreateData(fromDev)"> 保 存 </el-button></div> -->
|
|
|
+ <div v-show="showButton1"><el-button type="primary" @click="getQueryData(fromDev)"> 更 新 </el-button></div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -136,7 +132,6 @@ export default {
|
|
|
lateStatusBtn1: 'info',
|
|
|
getInfoBtn: 'info',
|
|
|
getInfoBtn1: 'info',
|
|
|
- showButton: true,
|
|
|
showButton1: false,
|
|
|
userData: '',
|
|
|
showDelay: false,
|
|
@@ -175,7 +170,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getRouterData() {
|
|
|
- this.showButton = true
|
|
|
this.showButton1 = false
|
|
|
if (this.$route.query.task) { // 任务提测
|
|
|
this.bizIdCode = this.$route.query.task.bizId
|
|
@@ -183,7 +177,6 @@ export default {
|
|
|
}
|
|
|
if (this.$route.query.data) {
|
|
|
this.showButton1 = true
|
|
|
- this.showButton = false
|
|
|
launchTest({ id: this.$route.query.id }).then((res) => {
|
|
|
this.fromDev = res.data
|
|
|
if (this.fromDev.lateReason !== '') {
|
|
@@ -230,6 +223,9 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ parentHandleclick(e) {
|
|
|
+ this.getCreateData(this.fromDev)
|
|
|
+ },
|
|
|
getCreateData(ele) {
|
|
|
this.$refs['fromDev'].validate((valid) => {
|
|
|
if (valid) {
|
|
@@ -284,10 +280,6 @@ export default {
|
|
|
this.getInfoBtn = 'danger'
|
|
|
this.showData = true
|
|
|
}
|
|
|
- },
|
|
|
-
|
|
|
- clickPreview(ele) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/acceptTheReport', query: { id: this.$route.query.id }})
|
|
|
}
|
|
|
}
|
|
|
}
|