From 91f78c7a3c325b7627f269524cdf92f006948cdf Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 17:37:35 +0800
Subject: [PATCH] 景宁电话接入
---
src/views/patient/subsequent/index.vue | 140 +++++++++++++++++++---------------------------
1 files changed, 57 insertions(+), 83 deletions(-)
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index d89e591..a4c1cca 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -17,7 +17,7 @@
font-weight: 600;
"
>
- {{ item.value }}
+ {{ item.value ? item.value : 0 }}
</div>
</div>
</el-card>
@@ -26,7 +26,7 @@
<div class="ysfleftvlue">
<el-card shadow="hover">
<div style="padding: 8px">
- <span>宸插彂閫佹湭棰嗗彇</span>
+ <span>琛ㄥ崟宸插彂閫�</span>
<div
style="
text-align: center;
@@ -79,7 +79,7 @@
></el-input>
</el-form-item>
- <el-form-item label="妫�鏌ユ椂闂�">
+ <el-form-item label="浣撴鏃堕棿">
<el-date-picker
v-model="dateRange"
style="width: 240px"
@@ -138,8 +138,7 @@
<el-col :span="1.5">
<el-button
type="primary"
- plain
- icon="el-icon-plus"
+ icon="el-icon-plus"
size="medium"
@click="handleAdd"
>鏂板</el-button
@@ -154,7 +153,6 @@
icon="el-icon-upload2"
size="medium"
@click="handleExport"
- v-hasPermi="['system:user:export']"
>瀵煎嚭</el-button
>
</div>
@@ -192,7 +190,7 @@
<el-table
v-loading="loading"
:data="userList"
- height="660"
+ height="808"
:row-class-name="tableRowClassName"
@selection-change="handleSelectionChange"
>
@@ -206,9 +204,9 @@
width="180"
/>
<!-- <el-table-column label="搴忓彿" fixed align="center" key="id" prop="id" /> -->
-
<el-table-column
label="濮撳悕"
+ width="100"
align="center"
key="sendname"
prop="sendname"
@@ -218,9 +216,10 @@
size="medium"
type="text"
@click="
- $router.push({
- path: '/patient/indexls'+'?current='+scope.row.sfzh
- })
+ $router.push({
+ path: '/patient/indexls/',
+ query: { sfzh: scope.row.idcardno },
+ })
"
><span class="button-textsc">{{
scope.row.sendname
@@ -238,17 +237,17 @@
<template slot-scope="scope">
<div v-if="scope.row.sendstate == 1">
<el-tag type="primary" :disable-transitions="false"
- >琚鍙�</el-tag
+ >琛ㄥ崟宸查鍙�</el-tag
>
</div>
<div v-if="scope.row.sendstate == 2">
<el-tag type="primary" :disable-transitions="false"
- >寰呭彂閫�</el-tag
+ >寰呴殢璁�</el-tag
>
</div>
<div v-if="scope.row.sendstate == 3">
<el-tag type="success" :disable-transitions="false"
- >宸插彂閫佹湭棰嗗彇</el-tag
+ >琛ㄥ崟宸插彂閫�</el-tag
>
</div>
<div v-if="scope.row.sendstate == 4">
@@ -273,7 +272,7 @@
/>
<el-table-column
- label="浜哄伐澶勭悊鎰忚"
+ label="澶勭悊鎰忚"
align="center"
key="suggest"
prop="suggest"
@@ -289,12 +288,12 @@
<el-table-column
label="闅忚浜哄憳"
align="center"
- key="createBy"
- prop="createBy"
+ key="updateBy"
+ prop="updateBy"
width="120"
/>
<el-table-column
- label="闅忚鏃堕棿"
+ label="闅忚瀹屾垚鏃堕棿"
sortable
align="center"
prop="finishtime"
@@ -305,7 +304,7 @@
</template>
</el-table-column>
<el-table-column
- label="浣撴缁撴灉"
+ label="闅忚缁撴灉"
width="200"
align="center"
key="remark"
@@ -321,7 +320,7 @@
</template>
</el-table-column>
<el-table-column
- label="浣撴鏃ユ湡"
+ label="妫�鏌ユ棩鏈�"
width="200"
align="center"
key="endtime"
@@ -343,7 +342,7 @@
</template></el-table-column
>
<el-table-column
- label="浣撴澶╂暟"
+ label="宸叉鏌ュぉ鏁�"
width="120"
align="center"
key="endDay"
@@ -392,7 +391,7 @@
/> -->
<!-- <el-table-column label="骞撮緞" align="center" key="age" prop="age" /> -->
- <!-- <el-table-column label="鎬у埆" align="center" key="sex" prop="sex" /> -->
+ <!-- <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex" /> -->
<!-- <el-table-column label="搴婂彿" align="center" key="badNo" prop="badNo" /> -->
<el-table-column
label="绉戝"
@@ -509,7 +508,7 @@
@pagination="getList"
/>
</el-row>
- <!-- 娣诲姞鎴栦慨鏀逛綋妫�闅忚瀵硅瘽妗� -->
+ <!-- 娣诲姞鎴栦慨鏀瑰奖鍍忛殢璁垮璇濇 -->
<el-dialog
:title="title"
:visible.sync="addalteropen"
@@ -552,7 +551,7 @@
</el-row>
<el-row :gutter="20">
<el-col :span="24">
- <el-form-item label="浣撴闅忚瑕佹眰">
+ <el-form-item label="褰卞儚闅忚瑕佹眰">
<el-input type="textarea" v-model="form.desc"></el-input>
</el-form-item>
</el-col>
@@ -677,7 +676,7 @@
// 鐢ㄦ埛琛ㄦ牸鏁版嵁
userList: null,
// 寮瑰嚭灞傛爣棰�
- title: "鏂板浣撴闅忚",
+ title: "鏂板褰卞儚闅忚",
// 鏄惁鏄剧ず淇敼銆佹坊鍔犲脊鍑哄眰
addalteropen: false,
// 淇敼鍙戦�佹椂闂村璇濇
@@ -699,13 +698,13 @@
yfsvalue: "",
inputValue: "",
preachform: "",
- previewVisible: false, //浣撴闅忚棰勮寮规
+ previewVisible: false, //褰卞儚闅忚棰勮寮规
radio: "",
radios: [],
- previewtype: 2, //棰勮浣撴闅忚绫诲瀷
+ previewtype: 2, //棰勮褰卞儚闅忚绫诲瀷
total: 0, // 鎬绘潯鏁�
- ImportQuantity: 999, //瀵间綋妫�闅忚鏁伴噺
- //棰勮浣撴闅忚淇℃伅
+ ImportQuantity: 999, //瀵煎奖鍍忛殢璁挎暟閲�
+ //棰勮褰卞儚闅忚淇℃伅
previewvalue: {
username: "杩欎釜鍖荤敓瀵逛綘鎬庝箞鏍�",
},
@@ -731,7 +730,7 @@
loading: false,
cardlist: [
{
- name: "浣撴鎶ュ憡鎬婚噺",
+ name: "浣撴鏈嶅姟鎬婚噺",
value: 0,
},
// {
@@ -739,7 +738,7 @@
// value: 0,
// },
{
- name: "搴旈殢璁�",
+ name: "闇�闅忚",
value: 0,
},
@@ -761,7 +760,7 @@
},
// {
- // name: "宸插彂閫佹湭棰嗗彇",
+ // name: "琛ㄥ崟宸插彂閫�",
// value: 0,
// },
],
@@ -779,11 +778,10 @@
topqueryParams: {
pageNum: 1,
pageSize: 10,
- serviceType: 5,
- searchscope: 3,
+ serviceType: 9,
+ sendstate:2,
scopetype: [],
- leaveldeptcodes: [],
- leavehospitaldistrictcodes: [],
+
},
propss: { multiple: true },
options: [],
@@ -791,15 +789,15 @@
topicoptions: [
{
value: 1,
- label: "琚鍙�",
+ label: "琛ㄥ崟宸查鍙�",
},
{
value: 2,
- label: "寰呭彂閫�",
+ label: "寰呴殢璁�",
},
{
value: 3,
- label: "宸插彂閫佹湭棰嗗彇",
+ label: "琛ㄥ崟宸插彂閫�",
},
{
value: 4,
@@ -864,24 +862,15 @@
this.getList(1);
},
methods: {
- /** 鏌ヨ浣撴闅忚鏈嶅姟鍒楄〃 */
+ /** 鏌ヨ褰卞儚闅忚鏈嶅姟鍒楄〃 */
getList(refresh) {
// 榛樿鍏ㄩ儴
- if (this.topqueryParams.searchscope == 3) {
- this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
- this.topqueryParams.leavehospitaldistrictcodes =
- store.getters.belongWards.map((obj) => obj.districtCode);
- }
+
// 鎺ュ彈寮傚父璺宠浆
- if (this.errtype) {
- this.topqueryParams.leavehospitaldistrictcodes.push(
- this.leavehospitaldistrictcode
- );
- console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
- }
+
this.loading = true;
+
+
getTaskservelist(this.topqueryParams).then((response) => {
this.userList = response.rows[0].serviceSubtaskList;
this.total = response.total;
@@ -892,7 +881,7 @@
// this.cardlist[2].value = response.rows[0].ysf;
this.ycvalue = response.rows[0].yc;
// this.cardlist[3].value = response.rows[0].fssb;
- // this.cardlist[4].value = response.rows[0].dfs;
+ // this.cardlist[4].value = response.rows[0].dsf;
// this.cardlist[5].value = response.rows[0].yfs2;
this.yfsvalue = response.rows[0].yfs;
}
@@ -922,7 +911,7 @@
this.total = response.total;
});
},
- // 鏌ョ湅浣撴闅忚璇︽儏
+ // 鏌ョ湅褰卞儚闅忚璇︽儏
Referencequestion(row) {
this.previewVisible = true;
},
@@ -940,7 +929,7 @@
this.options = [];
}
},
- // 浣撴闅忚鐘舵�佷慨鏀�
+ // 褰卞儚闅忚鐘舵�佷慨鏀�
handleStatusChange(row) {
let text = row.status === "0" ? "鍚敤" : "鍋滅敤";
this.$modal
@@ -980,13 +969,7 @@
},
/** 鎼滅储鎸夐挳鎿嶄綔 */
handleQuery(refresh) {
- if (this.topqueryParams.searchscope == 3) {
- this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
- this.topqueryParams.leavehospitaldistrictcodes =
- store.getters.belongWards.map((obj) => obj.districtCode);
- }
+
this.topqueryParams.pageNum = 1;
this.topqueryParams.startOutHospTime = this.dateRange[0];
this.topqueryParams.endOutHospTime = this.dateRange[1];
@@ -997,20 +980,9 @@
handleChange(value) {
let type = value[0];
let code = value.slice(-1)[0];
- this.topqueryParams.leavehospitaldistrictcodes = [];
- this.topqueryParams.leaveldeptcodes = [];
- if (type == 1) {
- this.topqueryParams.leaveldeptcodes.push(code);
- this.topqueryParams.leavehospitaldistrictcodes = [];
- this.topqueryParams.searchscope = 1;
- } else if (type == 2) {
- this.topqueryParams.leavehospitaldistrictcodes.push(code);
- this.topqueryParams.leaveldeptcodes = [];
- this.topqueryParams.searchscope = 2;
- } else {
- this.topqueryParams.searchscope = 3;
- }
+
+
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
@@ -1018,8 +990,8 @@
this.topqueryParams = {
pageNum: 1,
pageSize: 10,
- serviceType: 5,
- searchscope: 2,
+ serviceType: 9,
+ sendstate:2,
};
this.handleQuery(1);
},
@@ -1055,7 +1027,7 @@
path: "/followvisit/QuestionnaireTask",
query: {
type: 2,
- serviceType: 5,
+ serviceType: 9,
},
});
},
@@ -1165,7 +1137,7 @@
}
}
this.$router.push({
- path: "/followvisit/record/detailpage/",
+ path: "/followvisit/record/physical/",
query: {
taskid: row.taskid,
patid: row.patid,
@@ -1189,7 +1161,7 @@
this.topqueryParams.pageNum = null;
this.topqueryParams.pageSize = null;
this.download(
- "smartor/serviceSubtask/export",
+ "smartor/serviceSubtask/patItemExport",
{
...this.topqueryParams,
},
@@ -1300,10 +1272,12 @@
}
}
::v-deep.leftvlue .el-card__body {
- background: #d0e9fd;
+ background: #F2F8FF;
+ color: #324A9B;
}
::v-deep.leftvlue .el-card__body:hover {
- background: #8dc8f8;
+ background: #3664D9;
+ color: #fff;
cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
}
::v-deep.errleftvlue .el-card__body {
--
Gitblit v1.9.3