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/statistics/chargeStatistics/index.vue | 82 ++++++++++++++++++++++++++++++++++-------
1 files changed, 68 insertions(+), 14 deletions(-)
diff --git a/src/views/project/statistics/chargeStatistics/index.vue b/src/views/project/statistics/chargeStatistics/index.vue
index d2223e6..61a46fd 100644
--- a/src/views/project/statistics/chargeStatistics/index.vue
+++ b/src/views/project/statistics/chargeStatistics/index.vue
@@ -17,19 +17,19 @@
/>
</el-form-item>
</el-col>
- <el-col :span="8">
- <el-form-item label="缁熻绫诲瀷">
- <el-select
- v-model="queryParams.pachageflag"
- placeholder="璇烽�夋嫨妗堜緥鐘舵��"
+ <el-col :span="12">
+ <el-form-item label="缁熻鏃ユ湡">
+ <el-date-picker
+ style="width: 100%"
+ v-model="selecttime"
+ type="monthrange"
+ range-separator="鑷�"
+ start-placeholder="寮�濮嬫湀浠�"
+ end-placeholder="缁撴潫鏈堜唤"
+ value-format="yyyy-MM-dd"
+ @change="getTimeList"
>
- <el-option
- v-for="item in reportlist"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
+ </el-date-picker>
</el-form-item>
</el-col>
</el-row>
@@ -88,8 +88,7 @@
size="mini"
type="text"
icon="el-icon-edit"
- @click="handleAdd(scope.row)"
- >鍖诲璇勪及</el-button
+ >璇存槑</el-button
>
</template>
</el-table-column>
@@ -285,6 +284,61 @@
this.resetForm("queryForm");
this.handleQuery();
},
+ getTimeList(e) {
+ if (this.selecttime != 0) {
+ this.queryParams.pabegtime = this.selecttime[0];
+ this.queryParams.paendtime = this.selecttime[1];
+ // if (this.queryParams.paendtime == this.queryParams.pabegtime) {
+ let num = Number(this.queryParams.paendtime.slice(5, 7));
+ if (num < 9) {
+ let mon = Number(this.queryParams.paendtime.slice(6, 7));
+ this.queryParams.paendtime =
+ this.queryParams.paendtime.slice(0, 5) +
+ "0" +
+ (mon + 1) +
+ "-" +
+ "01" +
+ " " +
+ "00" +
+ ":" +
+ "00" +
+ ":" +
+ "00";
+ }
+ // this.queryParams.paendtime=this.queryParams.paendtime.slice(0,5)骞�
+ else if (num >= 10) {
+ this.queryParams.paendtime =
+ this.queryParams.paendtime.slice(0, 5) +
+ (num + 1) +
+ "-" +
+ "01" +
+ " " +
+ "00" +
+ ":" +
+ "00" +
+ ":" +
+ "00";
+ } else {
+ this.queryParams.paendtime =
+ this.queryParams.paendtime.slice(0, 5) +
+ "10" +
+ "-" +
+ "01" +
+ " " +
+ "00" +
+ ":" +
+ "00" +
+ ":" +
+ "00";
+ }
+ this.queryParams.pabegtime =
+ this.queryParams.pabegtime + " " + "00" + ":" + "00" + ":" + "00";
+ // }
+ } else {
+ // this.queryParams.pabegtime = "1998-01-01 00:00:00";
+ // this.queryParams.paendtime = "2998-01-01 00:00:00";
+ }
+ },
getSummaries(param) {
const { columns, data } = param;
const sums = [];
--
Gitblit v1.9.3