平台问卷摸底模板---样式修改

lijinlong
吕天方 1 month ago
parent 4c90355d20
commit 13789bd958

@ -1,6 +1,6 @@
{
"name": "ruoyi",
"version": "1.0.202412061713",
"version": "1.0.202412061809",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",

@ -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':

@ -85,7 +85,7 @@
</template>
</el-descriptions-item>
</el-descriptions>
<div class="table-content" v-if="templateName !== '企业问卷调查' && templateName !== '企业调研问卷'">
<div class="table-content" v-if="templateName !== '企业问卷调查' && templateName !== '企业调研问卷' && templateName !== '平台问卷摸底'">
<el-descriptions class="margin-top" title="【项目投资计划】" :column="2" :size="size" border :label-style="LS">
<el-descriptions-item v-for="(item,index) in templateJson.fields" :key="index" v-if="!item.action">
<template slot="label">
@ -94,6 +94,15 @@
</el-descriptions-item>
</el-descriptions>
</div>
<div class="table-content" v-if="templateName == '平台问卷摸底'">
<el-descriptions class="margin-top" title="【项目投资计划】" :column="2" :size="size" border :label-style="LS">
<el-descriptions-item v-for="(item,index) in templateJson.fields" :key="index" v-if="!item.action" :span="2">
<template slot="label">
{{ item.label }}
</template>
</el-descriptions-item>
</el-descriptions>
</div>
<div class="table-content" v-if="projectSmallType == 26 && templateName == '企业问卷调查'">
<el-descriptions title="1、基本情况" :column="3" :size="size" border :label-style="LS" style="margin-bottom: 10px;">
<el-descriptions-item label="主营业务">

Loading…
Cancel
Save