|
|
@ -17,13 +17,13 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="tip" v-else-if="excuteRulesType === 'fail'">
|
|
|
|
<div class="tip" v-else-if="excuteRulesType === 'fail'">
|
|
|
|
<div class="rules-label">
|
|
|
|
<div class="rules-label"><i class="iconfont icon-shibai Warning"></i><span>校验失败</span></div>
|
|
|
|
<i class="iconfont icon-shibai Warning"></i><span>校验失败</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="tip no-data" v-else>
|
|
|
|
<div class="tip no-data" v-else>
|
|
|
|
<i class="iconfont icon-meiyoudingdan"></i>
|
|
|
|
<i class="iconfont icon-meiyoudingdan"></i>
|
|
|
|
<div class="text">暂无校验, <a-button size="small" type="link" class="btn" @click="checkFun"> 立即校验 </a-button></div>
|
|
|
|
<div class="text">
|
|
|
|
|
|
|
|
暂无校验, <a-button size="small" type="link" class="btn" @click="checkFun"> 立即校验 </a-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-card>
|
|
|
|
</a-card>
|
|
|
@ -285,7 +285,11 @@ export default {
|
|
|
|
locaService: []
|
|
|
|
locaService: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {},
|
|
|
|
created() {
|
|
|
|
|
|
|
|
this.$bus.$on('WebTest001', val => {
|
|
|
|
|
|
|
|
this.WebTest001(val)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
watch: {
|
|
|
|
'$route.query': {
|
|
|
|
'$route.query': {
|
|
|
|
immediate: true,
|
|
|
|
immediate: true,
|
|
|
@ -392,6 +396,7 @@ export default {
|
|
|
|
.then(res => {
|
|
|
|
.then(res => {
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|
this.fileList = res.data
|
|
|
|
this.fileList = res.data
|
|
|
|
|
|
|
|
console.log(this.fileList)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(err => {
|
|
|
|
.catch(err => {
|
|
|
@ -421,12 +426,20 @@ export default {
|
|
|
|
this.upFileList = newFileList
|
|
|
|
this.upFileList = newFileList
|
|
|
|
},
|
|
|
|
},
|
|
|
|
beforeUpload(file) {
|
|
|
|
beforeUpload(file) {
|
|
|
|
debugger
|
|
|
|
|
|
|
|
this.upFileList = [...this.upFileList, file]
|
|
|
|
this.upFileList = [...this.upFileList, file]
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
WebTest001(val) {
|
|
|
|
|
|
|
|
console.log(val.upFileList)
|
|
|
|
|
|
|
|
this.beforeUpload(val.upFileList)
|
|
|
|
|
|
|
|
// this.upFileList = this.upFileList.unshift(val.upFileList)
|
|
|
|
|
|
|
|
this.attachCode = val.attachCode
|
|
|
|
|
|
|
|
this.attachName = val.attachName
|
|
|
|
|
|
|
|
this.handleUpload()
|
|
|
|
|
|
|
|
},
|
|
|
|
handleUpload() {
|
|
|
|
handleUpload() {
|
|
|
|
const { upFileList, attachCode, attachName } = this
|
|
|
|
const { upFileList, attachCode, attachName } = this
|
|
|
|
|
|
|
|
console.log(upFileList, attachCode, attachName)
|
|
|
|
if (upFileList.length === 0) {
|
|
|
|
if (upFileList.length === 0) {
|
|
|
|
this.$message.error('请上传文件')
|
|
|
|
this.$message.error('请上传文件')
|
|
|
|
return false
|
|
|
|
return false
|
|
|
@ -867,9 +880,8 @@ export default {
|
|
|
|
color: #999;
|
|
|
|
color: #999;
|
|
|
|
padding: 20px 0;
|
|
|
|
padding: 20px 0;
|
|
|
|
line-height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
.text{
|
|
|
|
.text {
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1047,7 +1059,7 @@ export default {
|
|
|
|
width: 140px;
|
|
|
|
width: 140px;
|
|
|
|
line-height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.format{
|
|
|
|
.format {
|
|
|
|
color: #999;
|
|
|
|
color: #999;
|
|
|
|
// color: @primary-color;
|
|
|
|
// color: @primary-color;
|
|
|
|
// opacity: .8;
|
|
|
|
// opacity: .8;
|
|
|
|