From bc241c45a62a92045c18ef18f9355c8f4ea71c56 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 15 五月 2025 15:26:57 +0800
Subject: [PATCH] 测试完成
---
src/views/sfstatistics/percentage/index.vue | 97 +++++++++++++++++++++++++++++++++++-------------
1 files changed, 70 insertions(+), 27 deletions(-)
diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 2640598..3d34079 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -67,13 +67,12 @@
</el-select> -->
<el-select
v-model="queryParams.leavehospitaldistrictcodes"
-
size="medium"
multiple
filterable
placeholder="璇烽�夋嫨鐥呭尯"
>
- <el-option
+ <el-option
v-for="item in flatArray"
:key="item.deptCode"
:label="item.label"
@@ -103,7 +102,24 @@
>
</el-date-picker>
</el-form-item> -->
- <el-form-item label="缁熻鏃ユ湡" prop="userName">
+ <el-select
+ v-model="queryParams.serviceType"
+ multiple
+ placeholder="璇烽�夋嫨"
+ >
+ <el-option
+ v-for="item in options"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ <el-form-item
+ label-width="200"
+ label="搴旈殢璁挎椂闂磋寖鍥�"
+ prop="userName"
+ >
<el-date-picker
v-model="queryParams.dateRange"
type="daterange"
@@ -218,7 +234,7 @@
</el-table-column>
<el-table-column
- label="鎮h�呰繃婊ゆ暟閲�"
+ label="涓嶆墽琛�"
align="center"
width="120"
key="bzxCount"
@@ -240,7 +256,7 @@
>
</el-table-column
><el-table-column
- label="寰呮墽琛�"
+ label="寰呴殢璁�"
align="center"
key="dfsCount"
prop="dfsCount"
@@ -267,8 +283,8 @@
key="sfwcl"
prop="sfwcl"
>
- <template slot-scope="scope">
- <span>{{ (Number(scope.row.sfwcl)*100).toFixed(2) }}%</span>
+ <template slot-scope="scope">
+ <span>{{ (Number(scope.row.sfwcl) * 100).toFixed(2) }}%</span>
</template>
</el-table-column>
<!-- <el-table-column
@@ -370,9 +386,9 @@
type="danger"
plain
@click="routerErr(scope.row)"
- ><span class="button-zx"
- >{{scope.row.yczs}}</span
- ></el-button
+ ><span class="button-zx">{{
+ scope.row.yczs
+ }}</span></el-button
>
</template>
</el-table-column>
@@ -462,9 +478,7 @@
listtag,
tagclassifylist,
} from "@/api/system/label";
-import {
- getSfStatistics,deptTreeSelect
-} from "@/api/system/user";
+import { getSfStatistics, deptTreeSelect } from "@/api/system/user";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -513,7 +527,7 @@
idds: "", //鍒嗙被id
// 鎬绘潯鏁�
total: 0,
- flatArray:[],
+ flatArray: [],
amendtag: false, //鏄惁淇敼绫诲埆
lstamendtag: false, //鏄惁淇敼鏍囩
scavisible: false, //鍒犻櫎寮规
@@ -554,21 +568,48 @@
propss: { multiple: true },
options: [
- {
+ {
value: 1,
- label: "涓滃崡",
+ label: "鐩戞祴璇勪及",
},
{
value: 2,
- label: "瑗垮寳",
+ label: "鍑洪櫌闅忚",
},
{
value: 3,
- label: "浠ㄤ花浠�",
+ label: "闂ㄨ瘖闅忚",
},
{
value: 4,
- label: "鍏椋掗",
+ label: "瀹f暀鍏虫��",
+ },
+ {
+ value: 5,
+ label: "澶嶈瘖绠$悊",
+ },
+
+ {
+ value: 7,
+ label: "鎮h�呮姤鍛�",
+ },
+
+ {
+ value: 9,
+ label: "浣撴闅忚",
+ },
+
+ {
+ value: 11,
+ label: "褰卞儚闅忚",
+ },
+ {
+ value: 12,
+ label: "蹇冪數闅忚",
+ },
+ {
+ value: 13,
+ label: "涓撶梾闅忚",
},
],
pickerOptions: {
@@ -587,7 +628,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
- serviceType:[2],
+ serviceType: [2],
dateRange: [],
},
// 鍒椾俊鎭�
@@ -605,7 +646,7 @@
watch: {},
created() {
this.getList();
-this.getDeptTree();
+ this.getDeptTree();
},
methods: {
@@ -635,10 +676,10 @@
// 绉戝鍒楄〃
deptTreeSelect().then((response) => {
this.deptOptions = response.data;
- console.log( this.deptOptions,' this.deptOptions');
+ console.log(this.deptOptions, " this.deptOptions");
this.flatArray = this.flattenArray(response.data);
- console.log(this.flatArray,'this.flatArray');
+ console.log(this.flatArray, "this.flatArray");
});
},
flattenArray(multiArray) {
@@ -693,7 +734,7 @@
};
},
routerErr(row) {
- console.log(row,'璺宠浆寮傚父');
+ console.log(row, "璺宠浆寮傚父");
this.$router.push({
path: "/followvisit/discharge",
query: {
@@ -741,14 +782,16 @@
handleQuery() {
this.queryParams.pageNum = 1;
console.log();
- this.queryParams.startTime = this.parseTime(this.queryParams.dateRange[0]);
+ this.queryParams.startTime = this.parseTime(
+ this.queryParams.dateRange[0]
+ );
this.queryParams.endTime = this.parseTime(this.queryParams.dateRange[1]);
this.getList();
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.queryParams.dateRange = [];
- this.queryParams.leavehospitaldistrictcodes=[];
+ this.queryParams.leavehospitaldistrictcodes = [];
this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
@@ -782,7 +825,7 @@
/** 瀵煎嚭鎸夐挳鎿嶄綔 */
handleExport() {
this.download(
- "base/tag/export",
+ "smartor/serviceSubtask/getSfStatisticsExport",
{
...this.queryParams,
},
--
Gitblit v1.9.3