|
@@ -563,6 +563,7 @@ import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
import {listUserNoPage} from "@/api/system/user";
|
|
|
import {doApprove} from "@/api/pssr/approve";
|
|
|
+import {listFile} from "@/api/pssr/file";
|
|
|
|
|
|
export default {
|
|
|
dicts:['pssr_approve_status'],
|
|
@@ -872,7 +873,21 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ /** 报告附件按钮操作 */
|
|
|
+ handleDoc(row) {
|
|
|
+ this.doc.fileList=[]
|
|
|
+ this.doc.open = true;
|
|
|
+ this.doc.queryParams.itemId = row.id
|
|
|
+ this.getFileList()
|
|
|
+ },
|
|
|
+ getFileList() {
|
|
|
+ listFile(this.doc.queryParams).then(response => {
|
|
|
+ this.doc.fileList = response.rows;
|
|
|
+ this.doc.fileList.forEach(item => {
|
|
|
+ item.fileUrl = process.env.VUE_APP_BASE_API + item.fileUrl;
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
reasonCancel() {
|
|
|
this.reason.open = false;
|
|
|
},
|