From 2698387e653c6a25059c3ae9976f18b814eba892 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 12 九月 2025 15:16:46 +0800
Subject: [PATCH] 医疗权限
---
src/views/project/fundcheck/expertFeeCheck/index.vue | 103 ++++++++++++++++++++++++++++++++++-----------------
1 files changed, 68 insertions(+), 35 deletions(-)
diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue
index 2e33aff..d904327 100644
--- a/src/views/project/fundcheck/expertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -23,14 +23,30 @@
</el-option>
</el-select>
</el-form-item>
- </el-col><el-col :span="5">
+ </el-col>
+ <el-col :span="5">
+ <el-form-item align="left" label="涓氬姟缁�" prop="deptnos">
+ <el-select
+ v-model="queryParams.deptnos"
+ placeholder="璇烽�夋嫨妗堜緥鐘舵��"
+ >
+ <el-option
+ v-for="item in deptList"
+ :label="item.deptName"
+ :value="item.deptId"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col :span="5">
<el-form-item label="缁忓姙浜�" prop="APPLICANT" style="float: left">
<el-input v-model="queryParams.APPLICANT" placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕" clearable size="small"
@keyup.enter.native="flowconclusion" />
</el-form-item>
</el-col>
- </el-row>
- <el-row>
<el-col :span="5">
<el-form-item label="鎶ラ攢閲戦" prop="money" style="float: left">
<el-input v-model="queryParams.money" placeholder="璇疯緭鍏ョ敵璇蜂汉閲戦" clearable size="small"
@@ -39,9 +55,9 @@
</el-col>
<el-col :span="8">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
- <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" v-model="createTime"
- type="daterange" range-separator="鑷�" start-placeholder="鐢宠寮�濮嬫棩鏈�" end-placeholder="鐢宠缁撴潫鏃ユ湡"
- @keyup.enter.native="flowconclusion">
+ <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd"
+ v-model="createTime" type="daterange" range-separator="鑷�" start-placeholder="鐢宠寮�濮嬫棩鏈�"
+ end-placeholder="鐢宠缁撴潫鏃ユ湡" @keyup.enter.native="flowconclusion">
</el-date-picker>
</el-form-item>
</el-col>
@@ -74,8 +90,8 @@
style="color: #5fb878; font-weight: bold"></i></span>
<span v-else>寰呭鏍�</span>
</template>
- </el-table-column>
- -->
+</el-table-column>
+-->
<el-table-column type="selection" width="45"> </el-table-column>
<!-- <el-table-column
label="涓◣璁$畻"
@@ -88,9 +104,9 @@
</template>
</el-table-column> -->
<el-table-column label="鎶ラ攢鍗曞彿" align="center" prop="bh" width="150px" />
- <el-table-column label="鐢宠鏃ユ湡" width="120" align="center" prop="createTime">
+ <el-table-column label="鐢宠鏃ユ湡" width="120" align="center" prop="applyTime">
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
+ <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span>
</template>
</el-table-column>
<el-table-column label="鐢宠閲戦" align="center" prop="pretaxcost" width="200px" />
@@ -129,13 +145,14 @@
<el-button v-if="scope.row.checkFlag == 1" size="mini" type="text" icon="el-icon-edit"
@click="handleCheck(scope.row)">瀹℃牳</el-button>
<!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
- <el-button size="mini" type="text" icon="el-icon-download" @click="totaldayin(scope.row.id)">涓嬭浇</el-button>
+ <el-button size="mini" type="text" icon="el-icon-download"
+ @click="totaldayin(scope.row.id)">涓嬭浇</el-button>
</template>
</el-table-column>
</el-table>
- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
- @pagination="getlistbypower" />
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
+ :limit.sync="queryParams.pageSize" @pagination="getlistbypower" />
</el-row>
</el-form>
@@ -231,7 +248,7 @@
<el-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
- </el-form-item>
+ </el-form-item>
</el-col>-->
</el-row>
<el-row>
@@ -242,7 +259,8 @@
</el-row>
<el-row style="margin-top: 5px; margin-bottom: 5px">
- <el-table :data="fundDetailArr" :summary-method="getSummaries" border highlight-current-row v-loading="loading">
+ <el-table :data="fundDetailArr" :summary-method="getSummaries" border highlight-current-row
+ v-loading="loading">
<el-table-column prop="orderno" align="center" label="搴忓彿" width="80">
<template slot-scope="scope">
<el-input v-model="scope.row.orderno" placeholder="搴忓彿" />
@@ -279,7 +297,8 @@
<template slot-scope="scope">
<el-select filterable allow-create ref="getReportname" default-first-option
@change="selectpersonmsg(scope.row)" v-model="scope.row.beneficiaryname" placeholder="璇烽�夋嫨">
- <el-option v-for="item in arrr3" :key="item.reportNo" :label="item.reportName" :value="item.reportName">
+ <el-option v-for="item in arrr3" :key="item.reportNo" :label="item.reportName"
+ :value="item.reportName">
</el-option>
</el-select>
</template> </el-table-column><el-table-column prop="title" align="center" label="鑱岀О" width="150">
@@ -289,10 +308,11 @@
</el-table-column>
<el-table-column v-if="show === 1" prop="amount" align="center" label="绋庡墠閲戦" width="100">
<template slot-scope="scope">
- <el-input v-model="scope.row.amount" v-on:input="val => {
- change(scope.row);
- }
- " placeholder="绋庡墠閲戦" />
+ <el-input v-model="scope.row.amount" v-on:input="
+ val => {
+ change(scope.row);
+ }
+ " placeholder="绋庡墠閲戦" />
</template>
</el-table-column>
<el-table-column v-if="show === 1" prop="taxedamount" align="center" label="绋庡悗閲戦" width="100">
@@ -449,6 +469,7 @@
exportExternalperson
} from "@/api/project/externalperson";
import { getUserProfile } from "@/api/system/user";
+import { listDept } from "@/api/system/dept";
import {
listDonatebaseinfo,
getDonatebaseinfo
@@ -457,7 +478,6 @@
import OrgSelecter from "@/views/project/components/orgselect";
import { setItem, grtItem, removeItem } from "@/utils/storage.js";
import { getToken } from "@/utils/auth";
-
export default {
components: {
@@ -572,7 +592,9 @@
APPLICATIONENDTIME: null,
CHECKFLAG: 1,
APPLYTYPE: 1,
- money: null
+ money: null,
+ donorname: null,
+ deptnos: null
},
// 琛ㄥ崟鍙傛暟
form: {},
@@ -644,7 +666,7 @@
dialogType: "show",
headers: {
Authorization: "Bearer " + getToken()
- },
+ }
};
},
watch: {},
@@ -653,6 +675,7 @@
//this.resetForm();
this.getCurFundType();
this.getUsermsg();
+ this.listDept();
},
mounted() {
if (grtItem("expertFeeCheck")) {
@@ -671,7 +694,7 @@
getUsermsg() {
getUserProfile().then(response => {
if (
- response.data.userName === "001" ||
+ response.data.userName === "053" ||
response.data.userName === "002" ||
response.data.userName === "012" ||
response.data.userName === "admin"
@@ -680,6 +703,12 @@
} else {
this.show = 3;
}
+ });
+ },
+ listDept() {
+ listDept({}).then(response => {
+ this.deptList = response.data;
+ this.loading = false;
});
},
selectapplication() {
@@ -716,10 +745,18 @@
return;
}
checkfund(checkfundobj).then(res => {
- this.reset();
- this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
- this.getlistbypower();
- this.dialogOpen = false;
+ if (res.code == 200) {
+ this.reset();
+ this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
+ this.getlistbypower();
+ this.dialogOpen = false;
+ } else {
+ if (res.msg) {
+ this.$modal.msgError("鎿嶄綔澶辫");
+ } else {
+ this.$modal.msgError(res.msg);
+ }
+ }
});
},
getlistUser() {
@@ -761,7 +798,7 @@
totaldayin(e) {
// const id =this.row.id
- getdownloadBX(e).then(res => {
+ getdownloadLW(e).then(res => {
var fileUrl = res;
//鑾峰彇褰撳墠缃戝潃
var urlBase = process.env.VUE_APP_BASE_API;
@@ -785,7 +822,7 @@
console.log(url);
const link = document.createElement("a");
link.href = url;
- const name=fileUrl["downloadName"]
+ const name = fileUrl["downloadName"];
link.setAttribute("download", name); // 鏇挎崲file.pdf涓哄疄闄呯殑鏂囦欢鍚�
document.body.appendChild(link);
link.click();
@@ -978,14 +1015,12 @@
this.ids.forEach(item => {
if (this.overallids.includes(item)) {
-
} else {
this.overallids.push(item);
const obj = selection.find(obj => obj.id === item);
this.overallidsvalue.push(obj);
}
});
-
},
// 鍒囨崲椤靛悗鎭㈠閫変腑
Restorecheck() {
@@ -1028,7 +1063,6 @@
if (row.code == 200) {
this.$modal.msgSuccess(row.msg);
} else {
- ;
this.$modal.msgError(row.msg);
}
})
@@ -1372,8 +1406,7 @@
type: "warning"
})
.then(() => {
- updateFunddetail(this.fundDetailArr).then(res => {
- });
+ updateFunddetail(this.fundDetailArr).then(res => { });
})
.catch(() => {
//鍑犵偣鍙栨秷鐨勬彁绀�
--
Gitblit v1.9.3