From 6be49398a90a339a6c72ac9ea7a09fc368acda87 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 30 四月 2025 15:48:08 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/index.vue | 137 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 110 insertions(+), 27 deletions(-) diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue index f5c3146..c70694d 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,6 @@ <el-table v-loading="loading" :data="userList" - height="660" :row-class-name="tableRowClassName" @selection-change="handleSelectionChange" > @@ -231,10 +241,7 @@ size="medium" type="text" @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.sfzh }, - }) + gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname) " ><span class="button-textsc">{{ scope.row.sendname @@ -312,12 +319,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" @@ -721,7 +728,11 @@ 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"; @@ -763,6 +774,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: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」 @@ -806,10 +850,10 @@ name: "鍑洪櫌鏈嶅姟鎬婚噺", value: 0, }, - { - name: "鎮h�呰繃婊�", - value: 0, - }, + // { + // name: "鎮h�呰繃婊�", + // value: 0, + // }, { name: "搴旈殢璁�", value: 0, @@ -851,9 +895,10 @@ topqueryParams: { pageNum: 1, pageSize: 10, - serviceType: 10, + serviceType: 13, searchscope: 3, - sendstate:2, + sendstate: 2, + sort: 2, scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], @@ -895,6 +940,24 @@ { value: 0, label: "姝e父", + }, + ], + topicoptionssort: [ + { + value: 0, + label: "鍑洪櫌鏃堕棿(姝e簭)", + }, + { + value: 1, + label: "鍑洪櫌鏃堕棿(鍊掑簭)", + }, + { + value: 2, + label: "鍙戦�佹椂闂�(姝e簭)", + }, + { + value: 3, + label: "鍙戦�佹椂闂�(鍊掑簭)", }, ], errtype: "", @@ -955,10 +1018,13 @@ 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; + 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; @@ -966,12 +1032,12 @@ 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; @@ -998,6 +1064,22 @@ } }); this.total = response.total; + }); + }, + //鎮h��360璺宠浆 + gettoken360(sfzh,drcode,drname) { + this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; + if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') { + this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728'; + this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY'; + } + 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) { @@ -1158,9 +1240,10 @@ this.topqueryParams = { pageNum: 1, pageSize: 10, - serviceType: 10, + serviceType: 13, + sort: 2, searchscope: 2, - sendstate:2, + sendstate: 2, }; this.handleQuery(1); }, @@ -1196,7 +1279,7 @@ path: "/followvisit/QuestionnaireTask", query: { type: 2, - serviceType: 10, + serviceType: 13, }, }); }, -- Gitblit v1.9.3