From 60e5b16ec6d1c8a4fbb9c714b2066a5dc5202b46 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 15 四月 2025 18:14:12 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/outpatient/index.vue | 131 +++++++++---------------------------------- 1 files changed, 27 insertions(+), 104 deletions(-) diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue index 35ac394..93a0376 100644 --- a/src/views/followvisit/outpatient/index.vue +++ b/src/views/followvisit/outpatient/index.vue @@ -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" @@ -192,7 +192,7 @@ <el-table v-loading="loading" :data="userList" - height="806" + height="808" :row-class-name="tableRowClassName" @selection-change="handleSelectionChange" > @@ -218,7 +218,10 @@ size="medium" type="text" @click=" - gettoken360(scope.row.sfzh) + $router.push({ + path: '/patient/indexls/', + query: { sfzh: scope.row.idcardno }, + }) " ><span class="button-textsc">{{ scope.row.sendname @@ -236,17 +239,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"> @@ -303,7 +306,7 @@ </template> </el-table-column> <el-table-column - label="褰卞儚缁撴灉" + label="闅忚缁撴灉" width="200" align="center" key="remark" @@ -319,7 +322,7 @@ </template> </el-table-column> <el-table-column - label="褰卞儚鏃ユ湡" + label="妫�鏌ユ棩鏈�" width="200" align="center" key="endtime" @@ -341,7 +344,7 @@ </template></el-table-column > <el-table-column - label="褰卞儚澶╂暟" + label="宸叉鏌ュぉ鏁�" width="120" align="center" key="endDay" @@ -649,7 +652,7 @@ resetUserPwd, changeUserStatus, } from "@/api/system/user"; -import { getTaskservelist,query360PatInfo } from "@/api/AiCentre/index"; +import { getTaskservelist } from "@/api/AiCentre/index"; import Treeselect from "@riophae/vue-treeselect"; import store from "@/store"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; @@ -709,39 +712,7 @@ }, value: [], list: [], - postData: { - XiaoXiTou: { - FaSongFCSJC: "ZJHES", - FaSongJGID: "47255004333112711A1001", - FaSongJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�", - FaSongSJ: "2025-01-09聽17:29:36", - FaSongXTJC: "SUIFANGXT", - FaSongXTMC: "闅忚绯荤粺", - XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171", - XiaoXiLX: "SC_LC_360STCX", - XiaoXiMC: "360聽瑙嗗浘鏌ヨ", - ZuHuID: "1400361376454545408", - ZuHuMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�", - }, - YeWuXX: { - BingRenXX: { - ZhengJianHM: '', - ZhengJianLXDM: "01", - ZhengJianLXMC: "灞呮皯韬唤璇�", - ZuZhiJGID: "47255004333112711A1001", - ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�", - }, - YongHuXX: { - XiTongID: "SUIFANGXT", - XiTongMC: "闅忚绯荤粺", - YongHuID: "1400466972205912064", - YongHuXM: "JNRMYY", - ZuZhiJGID: "47255004333112711A1001", - ZuZhiJGMC: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�", - idp: "lyra", - }, - }, - }, + sourcetype: [ { value: 1, @@ -761,7 +732,7 @@ loading: false, cardlist: [ { - name: "褰卞儚鎶ュ憡鎬婚噺", + name: "褰卞儚鏈嶅姟鎬婚噺", value: 0, }, // { @@ -791,7 +762,7 @@ }, // { - // name: "宸插彂閫佹湭棰嗗彇", + // name: "琛ㄥ崟宸插彂閫�", // value: 0, // }, ], @@ -809,12 +780,10 @@ topqueryParams: { pageNum: 1, pageSize: 10, - serviceType: 3, - searchscope: 3, + serviceType: 11, sendstate:2, scopetype: [], - leaveldeptcodes: [], - leavehospitaldistrictcodes: [], + }, propss: { multiple: true }, options: [], @@ -898,26 +867,11 @@ /** 鏌ヨ褰卞儚闅忚鏈嶅姟鍒楄〃 */ 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; - if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) { - this.topqueryParams.deptOrDistrict=2; - }else{ - this.topqueryParams.deptOrDistrict=1; - } + getTaskservelist(this.topqueryParams).then((response) => { this.userList = response.rows[0].serviceSubtaskList; @@ -992,19 +946,6 @@ row.status = row.status === "0" ? "1" : "0"; }); }, - //鎮h��360璺宠浆s - gettoken360(sfzh) { - this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh - query360PatInfo(this.postData).then((res) => { - if (res.data.url) { - window.open(res.data.url, '_blank'); - // this.linkUrl = res.data.url; - }else{ - this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�"); - } - }); - - }, // 鍙栨秷鎸夐挳 cancel() { this.addalteropen = false; @@ -1030,13 +971,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]; @@ -1047,20 +982,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() { @@ -1068,9 +992,8 @@ this.topqueryParams = { pageNum: 1, pageSize: 10, + serviceType: 11, sendstate:2, - serviceType: 3, - searchscope: 2, }; this.handleQuery(1); }, @@ -1106,7 +1029,7 @@ path: "/followvisit/QuestionnaireTask", query: { type: 2, - serviceType: 3, + serviceType: 11, }, }); }, -- Gitblit v1.9.3