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/travelexpensecheck/index.vue | 77 ++++++++++++++++++++++++++++----------
1 files changed, 57 insertions(+), 20 deletions(-)
diff --git a/src/views/project/travelexpensecheck/index.vue b/src/views/project/travelexpensecheck/index.vue
index 20d572b..01916a5 100644
--- a/src/views/project/travelexpensecheck/index.vue
+++ b/src/views/project/travelexpensecheck/index.vue
@@ -5,7 +5,7 @@
ref="queryForm"
:inline="true"
v-show="showSearch"
- label-width="68px"
+ label-width="80px"
>
<el-row>
<el-col :span="5">
@@ -54,6 +54,23 @@
</el-form-item>
</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="username">
<el-input
v-model="queryParams.username"
@@ -63,9 +80,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
- </el-col>
- </el-row>
- <el-row>
+ </el-col>
<el-col :span="5">
<el-form-item label="鎶ラ攢閲戦" prop="money" style="float: left">
<el-input
@@ -210,7 +225,7 @@
align="center"
prop="donorname"
/>
- <!--
+ <!--
<el-table-column label="鍑哄樊浜�" width="180" align="center" prop="travelers">
</el-table-column>
<el-table-column label="鑱旂郴鐢佃瘽" width="120" align="center" prop="phone">
@@ -219,10 +234,10 @@
</el-table-column>
<el-table-column label="閾惰鍗″彿" width="180" align="center" prop="bankcardno">
</el-table-column>
-
- <el-table-column label="缁勯暱瀹℃壒" align="center" prop="managername"/>
- <el-table-column label="涓氬姟鏍稿" align="center" prop="opochecher"/>
- <el-table-column label="涓氬姟瀹℃壒" align="center" prop="officedirector"/>
+
+ <el-table-column label="缁勯暱瀹℃壒" align="center" prop="managername"/>
+ <el-table-column label="涓氬姟鏍稿" align="center" prop="opochecher"/>
+ <el-table-column label="涓氬姟瀹℃壒" align="center" prop="officedirector"/>
<el-table-column label="璐㈠姟鏍稿" align="center" prop="financechecher"/>
<el-table-column label="璐㈠姟瀹℃牳" width="120" align="center" prop="financedirector"/>
-->
@@ -357,7 +372,7 @@
<el-form-item label="鑱旂郴鐢佃瘽" prop="phone">
<el-input v-model="form.phone" placeholder="鑱旂郴鐢佃瘽" />
</el-form-item>
- </el-col>
+ </el-col>
</el-row>
-->
<el-row>
@@ -391,7 +406,7 @@
:disabled="true"
/>
</el-form-item> </el-col
- ><!--
+ ><!--
<el-col :span="6">
<el-form-item label="棰嗘閲戦" prop="amountrequested">
<el-input v-model="form.amountrequested" placeholder="棰嗘閲戦" />
@@ -1198,6 +1213,7 @@
listbypowerone,
addShareData
} from "@/api/project/reimbursement";
+import { listDept } from "@/api/system/dept";
import {
provinceAndCityData,
regionData,
@@ -1322,8 +1338,11 @@
APPLICANT: null,
APPLICATIONBEGTIME: null,
APPLICATIONENDTIME: null,
- CHECKFLAG: 1
- },
+ CHECKFLAG: 1,
+ money: null,
+ deptnos: null
+ },
+ deptList: [],
//鏌ヨ浠樻
queryParamsPayee: {
rbid: null
@@ -1359,7 +1378,9 @@
dialogType: "show"
};
},
- created() {},
+ created() {
+ this.listDept();
+ },
mounted() {
if (grtItem("travelexpensecheck")) {
this.queryParams = grtItem("travelexpensecheck");
@@ -1371,6 +1392,12 @@
selectapplication() {
this.queryParams.APPLICATIONBEGTIME = this.applyTime[0];
this.queryParams.APPLICATIONENDTIME = this.applyTime[1];
+ },
+ listDept() {
+ listDept({}).then(response => {
+ this.deptList = response.data;
+ this.loading = false;
+ });
},
getList() {
this.loading = true;
@@ -1407,10 +1434,19 @@
}
checkfund(checkfundobj).then(res => {
- this.reset();
- this.open = false;
- this.getList();
- this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
+ if (res.code == 200) {
+ this.reset();
+ this.open = false;
+ this.getList();
+ this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
+ } else {
+ this.open = false;
+ if (res.msg) {
+ this.$modal.msgError("鎿嶄綔澶辫");
+ } else {
+ this.$modal.msgError(res.msg);
+ }
+ }
});
},
@@ -1444,7 +1480,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();
@@ -1588,7 +1624,8 @@
APPLICANT: null,
APPLICATIONBEGTIME: null,
APPLICATIONENDTIME: null,
- CHECKFLAG: 1
+ CHECKFLAG: 1,
+ deptnos: null
}),
this.handleQuery();
},
--
Gitblit v1.9.3