guhongwei il y a 4 ans
Parent
commit
255c0ec89c
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/views/adminCenter/policy/detail.vue

+ 4 - 4
src/views/adminCenter/policy/detail.vue

@@ -7,10 +7,10 @@
         </template>
       </template>
       <template #custom="{ item }">
-        <template v-if="item.model === 'desc'">
+        <!-- <template v-if="item.model === 'desc'">
           <p v-html="data[item.model]"></p>
-        </template>
-        <template v-else>
+        </template> -->
+        <template>
           <template v-for="(i, index) in data[item.model]">
             <img v-if="isImg(i.url)" :key="`${item.model}-${index}`" :src="i.url" width="150px" height="150px" />
             <el-link v-else :key="`${item.model}-${index}`" type="primary" @click="toOpen(i.url)"> <i class="el-icon-download"></i> {{ i.name }} </el-link>
@@ -40,7 +40,7 @@ export default {
         { label: '法人复印件', model: 'qyfr', custom: true },
         { label: '企业营业执照', model: 'yyzz', custom: true },
         { label: '企业利润表', model: 'qylr', custom: true },
-        { label: '建议', model: 'desc', custom: true },
+        { label: '建议', model: 'desc', type: 'textarea' },
         { label: '审核状态', model: 'status', type: 'radio' },
       ],
       statusList: policyStatus,