408249787 il y a 2 ans
Parent
commit
bd16d5312f
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      src/views/repair/application-form/RepairForm.vue

+ 6 - 2
src/views/repair/application-form/RepairForm.vue

@@ -104,7 +104,7 @@
               :type="2"
               title="是否要接单?"
               @confirm="receiveRepair(record)">接单</operation-button>
-<!--            <operation-button
+            <!--            <operation-button
               v-show="editFlag"
               v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REFUSED_REPAIR === record.status && $auth('repair-application-forms-edit')"
               @click="handleEdit(record)" >再次报修</operation-button>
@@ -129,6 +129,9 @@
               @confirm="handleRefused(record)">报修驳回</operation-button>-->
           </template>
         </span>
+        <span slot="content" slot-scope="content">
+          <span v-html="content"></span>
+        </span>
         <span slot="status" slot-scope="text">
           <badge :text="BaseTool.Object.getField(statusMap,text)" :status="DictCache.COLOR.REPAIR_APPLICATION_FORM_STATUS[text]"/>
         </span>
@@ -236,7 +239,8 @@ export default {
           title: '故障描述',
           checked: true,
           width: '150px',
-          dataIndex: 'content'
+          dataIndex: 'content',
+          scopedSlots: { customRender: 'content' }
         },
         {
           title: '工单类型',