|
|
|
@ -341,7 +341,14 @@ export default {
|
|
|
|
|
this.templateRecordId = templateRecordId
|
|
|
|
|
let { data } = await getTemplateInfo({ templateId: templateId })
|
|
|
|
|
this.templateInfo = data
|
|
|
|
|
// console.log(7777, this.templateInfo);
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
if(this.templateInfo.templateName == '平台问卷摸底') {
|
|
|
|
|
// console.log(document.querySelectorAll(".el-upload__tip"));
|
|
|
|
|
document.querySelectorAll(".el-upload__tip")[0].innerHTML = "doc docx格式,不少于500字,限1个文件,不超过10MB"
|
|
|
|
|
document.querySelectorAll(".el-upload__tip")[1].innerHTML = "jpg jpeg png格式,限3张照片,限高清图片,不超过10MB"
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
// console.log(7777, this.templateInfo);el-upload__tip
|
|
|
|
|
this.$refs.ismybuild.jsonOpen(this.templateInfo.templateJson)
|
|
|
|
|
switch (this.templateId) {
|
|
|
|
|
case '2':
|
|
|
|
|