|
|
|
@ -168,7 +168,7 @@
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 上传文件列表 -->
|
|
|
|
|
<!-- 上传文件列表 v-if="isMaterials"-->
|
|
|
|
|
<div class="table-content last_upload">
|
|
|
|
|
<p>【上传材料】</p>
|
|
|
|
|
<div>
|
|
|
|
@ -209,6 +209,7 @@ export default {
|
|
|
|
|
info:{},
|
|
|
|
|
templateJson:{},
|
|
|
|
|
specialType:false,
|
|
|
|
|
isMaterials:false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
async mounted(){
|
|
|
|
@ -224,7 +225,16 @@ export default {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
this.info = res.data
|
|
|
|
|
this.templateJson = res.data.templateJson ? JSON.parse(res.data.templateJson) : {};
|
|
|
|
|
console.log(this.templateJson);
|
|
|
|
|
// console.log(this.templateJson);
|
|
|
|
|
// let arr = []
|
|
|
|
|
// this.templateJson.map(item=>{
|
|
|
|
|
// if(item.action) {
|
|
|
|
|
// arr.push(item)
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// if(arr.length > 0) {
|
|
|
|
|
// this.isMaterials = true;
|
|
|
|
|
// }
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|