From 8d0f7fcc4a961a6a2cd969171066f652cc8e736f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 18 四月 2025 16:56:52 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/index.vue | 138 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 110 insertions(+), 28 deletions(-) diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue index f5dcf56..bdf3aca 100644 --- a/src/views/followvisit/record/index.vue +++ b/src/views/followvisit/record/index.vue @@ -119,6 +119,17 @@ </el-option> </el-select> </el-form-item> + <el-form-item label="鎺掑簭鏂瑰紡" prop="status"> + <el-select v-model="topqueryParams.sort" placeholder="璇烽�夋嫨"> + <el-option + v-for="item in topicoptionssort" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> <el-form-item> <el-button @@ -205,7 +216,7 @@ <el-table v-loading="loading" :data="userList" - height="660" + height="806" :row-class-name="tableRowClassName" @selection-change="handleSelectionChange" > @@ -221,6 +232,7 @@ <!-- <el-table-column label="搴忓彿" fixed align="center" key="id" prop="id" /> --> <el-table-column label="濮撳悕" + width="100" align="center" key="sendname" prop="sendname" @@ -230,10 +242,7 @@ size="medium" type="text" @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.sfzh }, - }) + gettoken360(scope.row.sfzh) " ><span class="button-textsc">{{ scope.row.sendname @@ -262,7 +271,7 @@ </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"> @@ -295,7 +304,7 @@ /> <el-table-column - label="浜哄伐澶勭悊鎰忚" + label="澶勭悊鎰忚" align="center" key="suggest" prop="suggest" @@ -311,12 +320,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" @@ -398,7 +407,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="绉戝" @@ -484,7 +493,7 @@ class-name="small-padding fixed-width" > <template slot-scope="scope"> - <el-tooltip + <!-- <el-tooltip class="item" effect="dark" content="鍐嶆闅忚" @@ -499,7 +508,7 @@ ><i class="el-icon-s-promotion"></i>鍐嶆闅忚</span ></el-button > - </el-tooltip> + </el-tooltip> --> <el-tooltip v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2" class="item" @@ -720,7 +729,7 @@ resetUserPwd, changeUserStatus, } from "@/api/system/user"; -import { getTaskservelist, buidegetTasklist } from "@/api/AiCentre/index"; +import { getTaskservelist, buidegetTasklist,query360PatInfo } from "@/api/AiCentre/index"; import Treeselect from "@riophae/vue-treeselect"; import store from "@/store"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; @@ -762,6 +771,39 @@ postOptions: [], ruleForm: { type: [], + }, + postData: { + XiaoXiTou: { + FaSongFCSJC: "ZJHES", + FaSongJGID: localStorage.getItem("orgid"), + FaSongJGMC: localStorage.getItem("orgname"), + FaSongSJ: "2025-01-09聽17:29:36", + FaSongXTJC: "SUIFANGXT", + FaSongXTMC: "闅忚绯荤粺", + XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171", + XiaoXiLX: "SC_LC_360STCX", + XiaoXiMC: "360聽瑙嗗浘鏌ヨ", + ZuHuID: localStorage.getItem("ZuHuID"), + ZuHuMC: localStorage.getItem("orgname"), + }, + YeWuXX: { + BingRenXX: { + ZhengJianHM: '', + ZhengJianLXDM: "01", + ZhengJianLXMC: "灞呮皯韬唤璇�", + ZuZhiJGID: localStorage.getItem("orgid"), + ZuZhiJGMC: localStorage.getItem("orgname"), + }, + YongHuXX: { + XiTongID: "SUIFANGXT", + XiTongMC: "闅忚绯荤粺", + YongHuID: "1400466972205912064", + YongHuXM: "JNRMYY", + ZuZhiJGID: localStorage.getItem("orgid"), + ZuZhiJGMC: localStorage.getItem("orgname"), + idp: "lyra", + }, + }, }, zcform: {}, dynamicTags: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」 @@ -805,10 +847,10 @@ name: "鍑洪櫌鏈嶅姟鎬婚噺", value: 0, }, - { - name: "鎮h�呰繃婊�", - value: 0, - }, + // { + // name: "鎮h�呰繃婊�", + // value: 0, + // }, { name: "搴旈殢璁�", value: 0, @@ -823,7 +865,7 @@ value: 0, }, { - name: "寰呮墽琛�", + name: "寰呴殢璁�", value: 0, }, { @@ -850,8 +892,10 @@ topqueryParams: { pageNum: 1, pageSize: 10, - serviceType: 10, + serviceType: 13, searchscope: 3, + sendstate:2, + sort:2, scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], @@ -866,7 +910,7 @@ }, { value: 2, - label: "寰呮墽琛�", + label: "寰呴殢璁�", }, { value: 3, @@ -895,6 +939,24 @@ label: "姝e父", }, ], + topicoptionssort:[ + { + value: 0, + label: "鍑洪櫌鏃堕棿(姝e簭)", + }, + { + value: 1, + label: "鍑洪櫌鏃堕棿(鍊掑簭)", + }, + { + value: 2, + label: "鍙戦�佹椂闂�(姝e簭)", + }, + { + value: 3, + label: "鍙戦�佹椂闂�(鍊掑簭)", + }, + ], errtype: "", leavehospitaldistrictcode: "", serviceState: [], @@ -953,18 +1015,23 @@ 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; this.total = response.total; if (refresh) { this.cardlist[0].value = Number(response.rows[0].wzx) + Number(response.rows[0].ysf); - this.cardlist[1].value = response.rows[0].wzx; - this.cardlist[2].value = response.rows[0].ysf; + // this.cardlist[1].value = response.rows[0].wzx; + this.cardlist[1].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[5].value = response.rows[0].yfs2; + this.cardlist[2].value = response.rows[0].fssb; + this.cardlist[3].value = response.rows[0].dfs; + this.cardlist[4].value = response.rows[0].yfs2; this.yfsvalue = response.rows[0].yfs; } this.loading = false; @@ -992,6 +1059,19 @@ }); this.total = response.total; }); + }, + //鎮h��360璺宠浆 + 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鏌ヨ鏃犵粨鏋�"); + } + }); + }, buidegetTasklist(type) { if (this.topqueryParams.searchscope == 3) { @@ -1151,8 +1231,10 @@ this.topqueryParams = { pageNum: 1, pageSize: 10, - serviceType: 10, + serviceType: 13, + sort:2, searchscope: 2, + sendstate:2, }; this.handleQuery(1); }, @@ -1188,7 +1270,7 @@ path: "/followvisit/QuestionnaireTask", query: { type: 2, - serviceType: 10, + serviceType: 13, }, }); }, -- Gitblit v1.9.3