dedsudiyu 2 年之前
父節點
當前提交
4cf951a7d8

+ 8 - 0
src/api/safetyCheck/index.js

@@ -697,3 +697,11 @@ export function getloginUser(query){
     params: query
   })
 }
+
+//整改报告-查看文档模式数据
+export function viewReport(id){
+  return request({
+    url: '/zd-security/checkRectify/viewReport/'+id,
+    method: 'get',
+  })
+}

文件差異過大導致無法顯示
+ 33 - 0
src/components/lookDocumentDialog/informDom.vue


文件差異過大導致無法顯示
+ 28 - 191
src/components/lookDocumentDialog/lookDocumentDataDialog.vue


文件差異過大導致無法顯示
+ 33 - 0
src/components/lookDocumentDialog/noticeDom.vue


文件差異過大導致無法顯示
+ 337 - 0
src/components/lookDocumentDialog/rectificationReportDom.vue


+ 2 - 2
src/views/safetyCheck/components/addPage/addPage.vue

@@ -15,8 +15,8 @@
               <el-input disabled v-model="addForm.title" placeholder="未填写" style="width: 690px"/>
             </el-form-item>
             <div style="display: flex">
-              <el-form-item label="学院" prop="subjectName">
-                <el-input disabled v-model="addForm.subjectName" placeholder="未填写" style="width: 300px"/>
+              <el-form-item label="学院" prop="collegeName">
+                <el-input disabled v-model="addForm.collegeName" placeholder="未填写" style="width: 300px"/>
               </el-form-item>
               <el-form-item label="实验室" prop="subjectName" label-width="110px">
                 <el-input disabled v-model="addForm.subjectName" placeholder="未填写" style="width: 280px"/>

+ 2 - 2
src/views/safetyCheck/rectificationReport/index.vue

@@ -163,8 +163,8 @@
         if(type==1){
           this.$set(this,'propsLookDocumentData',{
             title:"整改报告",
-            name:row.name,
-            url:row.url
+            type:1,
+            id:row.id,
           });
           this.$set(this,'lookDocumentType',true);
         }else{