| | |
| | | @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"> |
| | |
| | | <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" /> |
| | |
| | | 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)" |
| | |
| | | </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> |
| | |
| | | "sys_finsubject", |
| | | "sys_financeitemtype", |
| | | "sys_expensetype", |
| | | "sys_stage_type" |
| | | |
| | | ], |
| | | data() { |
| | | //这里存放数据 |
| | |
| | | }); |
| | | } 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; |
| | |
| | | singleDetail.unitname = singleDetail.unitno; |
| | | } |
| | | } |
| | | console.log("singleDetail", singleDetail); |
| | | |
| | | this.fundDetails[tempIndex] = singleDetail; |
| | | this.detailInfoDialogShow = false; |
| | | }, |
| | |
| | | }); |
| | | }, |
| | | handleup(row) { |
| | | console.log(row); |
| | | this.$confirm("是否确认将登记记录上报?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | |
| | | } |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | /** 导出按钮操作 */ |
| | | 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) { |
| | |
| | | //获取银行账号列表,类型是机构 |
| | | listReportname("org").then((res) => { |
| | | this.bankaccountlist = res.data; |
| | | console.log("this.bankaccountlist", this.bankaccountlist); |
| | | }); |
| | | }, |
| | | |
| | |
| | | |
| | | 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, |
| | |
| | | }, |
| | | //文件上传成功回调 |
| | | 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; |
| | |
| | | |
| | | // 点击文件 |
| | | 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; |