From 59c2e6665e5d2dcfe3516af2373f1c8a7c9e2bc2 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期六, 07 十月 2023 14:06:52 +0800 Subject: [PATCH] 1 --- src/views/project/fund/officeExpenseApply/index.vue | 51 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/views/project/fund/officeExpenseApply/index.vue b/src/views/project/fund/officeExpenseApply/index.vue index 6afd8ef..d21e542 100644 --- a/src/views/project/fund/officeExpenseApply/index.vue +++ b/src/views/project/fund/officeExpenseApply/index.vue @@ -33,7 +33,7 @@ @click="handleExport">瀵煎嚭</el-button> </el-col> <!-- v-hasPermi="['project:medicalfund:export']" --> - <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> + <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> --> </el-row> <el-table v-loading="loading" border :data="donateconsolationfundList"> <el-table-column label="鐢宠鏃ユ湡" align="center" prop="createTime" width="180px"> @@ -52,6 +52,19 @@ <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" /> </template> </el-table-column> + <el-table-column + label="棰勫鐘舵��" + width="140" + align="center" + prop="checkstatus" + > + <template slot-scope="scope"> + <dict-tag + :options="dict.type.sys_stage_type" + :value="scope.row.checkstatus" + /> + </template> + </el-table-column> <!-- <el-table-column label="鑱旂郴鐢佃瘽" align="center" prop="phone" width="150px" /> <el-table-column label="宸ヤ綔鍗曚綅" align="center" prop="unitname" width="150px" /> @@ -66,7 +79,7 @@ scope.row.recordstatus == 1 " size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['project:medicalfund:edit']">淇敼</el-button> - <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)">鏌ョ湅</el-button> + <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">鏌ョ湅</el-button> <el-button v-if="scope.row.recordstatus == -1 || scope.row.recordstatus == 1 " size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" @@ -119,8 +132,8 @@ </el-form-item> </el-col> <el-col :span="5"> - <el-form-item label="鎹愮尞鑰�" prop="name"> - <el-input :disabled="true" v-model="form.name" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" clearable /> + <el-form-item label="鎹愮尞鑰�" prop="donorname"> + <el-input :disabled="true" v-model="form.donorname" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" clearable /> </el-form-item> </el-col> </el-row> @@ -526,6 +539,8 @@ "sys_finsubject", "sys_financeitemtype", "sys_expensetype", + "sys_stage_type" + ], data() { //杩欓噷瀛樻斁鏁版嵁 @@ -666,13 +681,11 @@ }); } else if (this.detailInfoDialogShowType == "unit") { singleDetail.unitno = this.funddetailForm.unitno; - console.log("this.funddetailForm", this.funddetailForm); try { let unitIndex = this.bankaccountlist.findIndex( (item) => singleDetail.unitno == item.reportNo ); - console.log("this.bankaccountlist[unitIndex]", this.bankaccountlist[unitIndex]); if (unitIndex > -1) { singleDetail.unitname = this.bankaccountlist[unitIndex].reportName; singleDetail.depositbank = this.bankaccountlist[unitIndex].depositbank; @@ -684,7 +697,7 @@ singleDetail.unitname = singleDetail.unitno; } } - console.log("singleDetail", singleDetail); + this.fundDetails[tempIndex] = singleDetail; this.detailInfoDialogShow = false; }, @@ -702,6 +715,7 @@ }); }, handleup(row) { + console.log(row); this.$confirm("鏄惁纭灏嗙櫥璁拌褰曚笂鎶ワ紵", "鎻愮ず", { confirmButtonText: "纭畾", cancelButtonText: "鍙栨秷", @@ -891,6 +905,22 @@ } }); }); + }, + + /** 瀵煎嚭鎸夐挳鎿嶄綔 */ + handleExport() { + const queryParams = this.queryParams; + this.$modal + .confirm("鏄惁纭瀵煎嚭鎵�鏈夋姤閿�鐢宠鏁版嵁椤癸紵") + .then(() => { + this.exportLoading = true; + return exportReimbursement(queryParams); + }) + .then(response => { + this.$download.name(response.msg); + this.exportLoading = false; + }) + .catch(() => {}); }, handleDelete(row) { @@ -1174,7 +1204,6 @@ //鑾峰彇閾惰璐﹀彿鍒楄〃锛岀被鍨嬫槸鏈烘瀯 listReportname("org").then((res) => { this.bankaccountlist = res.data; - console.log("this.bankaccountlist", this.bankaccountlist); }); }, @@ -1330,7 +1359,6 @@ getUnitList() { listOrganization(3).then((res) => { - console.log("listOrganization", res); for (let i = 0; i < res.rows.length; i++) { this.unitList.push({ organizationid: res.rows[i].organizationid, @@ -1423,9 +1451,6 @@ }, //鏂囦欢涓婁紶鎴愬姛鍥炶皟 uploadSccess(response, file, fileList) { - console.log("response", response); - console.log("file", file); - console.log("fileList", fileList); //鑾峰彇闄勪欢淇℃伅浣嶇疆 if (response.code == 200) { this.form.filename = file.raw.name; @@ -1448,9 +1473,7 @@ // 鐐瑰嚮鏂囦欢 Filepopup(index, rows, row) { - console.log(index, rows, row); this.atpresent = index; - console.log(this.atpresent); this.pdfVisible = true; if (this.fundDetails[index].annexfilesList) { this.fileListto = this.rbDetails[index].annexfilesList; -- Gitblit v1.9.3