From 78f514be663d8aa67bee6646d243159126eb4444 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 23 四月 2025 14:56:56 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/technology/index.vue | 10 src/views/followvisit/SpecificDisease/index.vue | 10 src/views/patient/patient/hospital.vue | 58 +++++ src/views/patient/patient/outpatient.vue | 58 +++++ src/views/patient/patient/behospitalized.vue | 106 ++++++++--- src/views/patient/patient/index.vue | 165 +++++++++++------ src/views/followvisit/record/index.vue | 100 ++++++----- src/views/followvisit/discharge/index.vue | 10 8 files changed, 365 insertions(+), 152 deletions(-) diff --git a/src/views/followvisit/SpecificDisease/index.vue b/src/views/followvisit/SpecificDisease/index.vue index 49a76dd..0a9a515 100644 --- a/src/views/followvisit/SpecificDisease/index.vue +++ b/src/views/followvisit/SpecificDisease/index.vue @@ -218,7 +218,7 @@ size="medium" type="text" @click=" - gettoken360(scope.row.sfzh) + gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname) " ><span class="button-textsc">{{ scope.row.sendname @@ -1017,8 +1017,12 @@ }); }, //鎮h��360璺宠浆 - gettoken360(sfzh) { - this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh + 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'); diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue index 749d65b..01e3ca2 100644 --- a/src/views/followvisit/discharge/index.vue +++ b/src/views/followvisit/discharge/index.vue @@ -254,7 +254,7 @@ size="medium" type="text" @click=" - gettoken360(scope.row.sfzh) + gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname) " ><span class="button-textsc">{{ scope.row.sendname @@ -1359,8 +1359,12 @@ }); }, //鎮h��360璺宠浆 - gettoken360(sfzh) { - this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh + 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'); diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue index bdf3aca..85651b4 100644 --- a/src/views/followvisit/record/index.vue +++ b/src/views/followvisit/record/index.vue @@ -120,16 +120,16 @@ </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-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 @@ -242,7 +242,7 @@ size="medium" type="text" @click=" - gettoken360(scope.row.sfzh) + gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname) " ><span class="button-textsc">{{ scope.row.sendname @@ -729,7 +729,11 @@ resetUserPwd, changeUserStatus, } from "@/api/system/user"; -import { getTaskservelist, buidegetTasklist,query360PatInfo } 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"; @@ -788,7 +792,7 @@ }, YeWuXX: { BingRenXX: { - ZhengJianHM: '', + ZhengJianHM: "", ZhengJianLXDM: "01", ZhengJianLXMC: "灞呮皯韬唤璇�", ZuZhiJGID: localStorage.getItem("orgid"), @@ -894,8 +898,8 @@ pageSize: 10, serviceType: 13, searchscope: 3, - sendstate:2, - sort:2, + sendstate: 2, + sort: 2, scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], @@ -939,24 +943,24 @@ label: "姝e父", }, ], - topicoptionssort:[ - { - value: 0, - label: "鍑洪櫌鏃堕棿(姝e簭)", - }, - { - value: 1, - label: "鍑洪櫌鏃堕棿(鍊掑簭)", - }, - { - value: 2, - label: "鍙戦�佹椂闂�(姝e簭)", - }, - { - value: 3, - label: "鍙戦�佹椂闂�(鍊掑簭)", - }, - ], + topicoptionssort: [ + { + value: 0, + label: "鍑洪櫌鏃堕棿(姝e簭)", + }, + { + value: 1, + label: "鍑洪櫌鏃堕棿(鍊掑簭)", + }, + { + value: 2, + label: "鍙戦�佹椂闂�(姝e簭)", + }, + { + value: 3, + label: "鍙戦�佹椂闂�(鍊掑簭)", + }, + ], errtype: "", leavehospitaldistrictcode: "", serviceState: [], @@ -1015,10 +1019,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; @@ -1060,18 +1067,21 @@ this.total = response.total; }); }, - //鎮h��360璺宠浆 - gettoken360(sfzh) { - this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh + //鎮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'); + window.open(res.data.url, "_blank"); // this.linkUrl = res.data.url; - }else{ + } else { this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�"); } }); - }, buidegetTasklist(type) { if (this.topqueryParams.searchscope == 3) { @@ -1232,9 +1242,9 @@ pageNum: 1, pageSize: 10, serviceType: 13, - sort:2, + sort: 2, searchscope: 2, - sendstate:2, + sendstate: 2, }; this.handleQuery(1); }, diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue index 9cc10ee..5f9e835 100644 --- a/src/views/followvisit/technology/index.vue +++ b/src/views/followvisit/technology/index.vue @@ -231,7 +231,7 @@ size="medium" type="text" @click=" - gettoken360(scope.row.sfzh) + gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname) " ><span class="button-textsc">{{ scope.row.sendname @@ -1092,8 +1092,12 @@ }); }, //鎮h��360璺宠浆 - gettoken360(sfzh) { - this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh + 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'); diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue index 5e79732..b3f9181 100644 --- a/src/views/patient/patient/behospitalized.vue +++ b/src/views/patient/patient/behospitalized.vue @@ -45,14 +45,14 @@ </el-form-item> <el-form-item label="鎮h�呰寖鍥�" prop="status"> - <el-cascader - v-model="queryParams.scopetype" - placeholder="榛樿鍏ㄩ儴" - :options="sourcetype" - :props="{ expandTrigger: 'hover' }" - @change="handleChange" - ></el-cascader> - </el-form-item> + <el-cascader + v-model="queryParams.scopetype" + placeholder="榛樿鍏ㄩ儴" + :options="sourcetype" + :props="{ expandTrigger: 'hover' }" + @change="handleChange" + ></el-cascader> + </el-form-item> <el-form-item label=" 鍏ラ櫌鏃ユ湡 " prop="createTime"> <el-date-picker v-model="dateRange" @@ -159,7 +159,7 @@ <el-table-column label="濮撳悕" - width="100" + width="100" align="center" key="patname" prop="patname" @@ -168,19 +168,20 @@ <el-button size="medium" type="text" - @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.idcardno }, - }) - " + @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" ><span class="button-textsc">{{ scope.row.patname }}</span></el-button > </template> </el-table-column> - <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex"> + <el-table-column + label="鎬у埆" + width="100" + align="center" + key="sex" + prop="sex" + > <template slot-scope="scope"> <span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span> </template> @@ -327,9 +328,10 @@ <div class="uploading" v-else-if="dractive == 2"> <el-table :data="uploadingData" style="width: 100%"> <el-table-column prop="serial" label="搴忓彿"> </el-table-column> - <el-table-column prop="name" label="濮撳悕" - width="100"> </el-table-column> - <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column> + <el-table-column prop="name" label="濮撳悕" width="100"> + </el-table-column> + <el-table-column prop="sex" label="鎬у埆" width="100"> + </el-table-column> <el-table-column prop="certificate" label="璇佷欢绫诲瀷"> </el-table-column> <el-table-column prop="certificatenum" label="璇佷欢鍙风爜"> @@ -374,9 +376,7 @@ import { delUser } from "@/api/system/user"; import formatTime from "@/filters/index"; -import { - listpatient, -} from "@/api/patient/record"; +import { listpatient } from "@/api/patient/record"; import { messagelistpatient, alterpatient, @@ -392,6 +392,8 @@ import Treeselect from "@riophae/vue-treeselect"; import { listDept } from "@/api/system/dept"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; +import { query360PatInfo } from "@/api/AiCentre/index"; + import store from "@/store"; export default { @@ -447,6 +449,39 @@ label: "鐥呭尯鎮h��", }, ], + 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", + }, + }, + }, sourcetype: [ { value: 1, @@ -617,8 +652,8 @@ console.log(this.deptList, "this.deptList"); }); }, - // 鎮h�呰寖鍥村鐞� - handleChange(value) { + // 鎮h�呰寖鍥村鐞� + handleChange(value) { let type = value[0]; let code = value.slice(-1)[0]; this.queryParams.leavehospitaldistrictcodes = []; @@ -670,7 +705,22 @@ this.queryParams.deptId = data.id; this.handleQuery(); }, - + //鎮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鏌ヨ鏃犵粨鏋�"); + } + }); + }, // 鍙栨秷鎸夐挳 cancel() { this.Labelchange = false; @@ -701,13 +751,13 @@ resetQuery() { this.dateRange = []; this.resetForm("queryForm"); - this.queryParams= { + (this.queryParams = { pageNum: 1, pageSize: 10, cry: 0, searchscope: 2, - }, - this.handleQuery(); + }), + this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 handleSelectionChange(selection) { diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue index 3943ac0..43b7c87 100644 --- a/src/views/patient/patient/hospital.vue +++ b/src/views/patient/patient/hospital.vue @@ -178,12 +178,7 @@ <el-button size="medium" type="text" - @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.idcardno }, - }) - " + @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" ><span class="button-textsc" >{{scope.row.patname}}</span ></el-button @@ -417,6 +412,8 @@ import Treeselect from "@riophae/vue-treeselect"; import { listDept } from "@/api/system/dept"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; +import { query360PatInfo } from "@/api/AiCentre/index"; + import store from "@/store"; export default { @@ -466,6 +463,39 @@ label: "鐥呭尯鎮h��", }, ], + 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", + }, + }, + }, paperstypes: [ { papersname: "韬唤璇�" }, { papersname: "鎶ょ収" }, @@ -600,6 +630,22 @@ console.log(this.deptList, "this.deptList"); }); }, + //鎮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鏌ヨ鏃犵粨鏋�"); + } + }); + }, /** 鏌ヨ鏍囩鍒楄〃 */ gettabList() { const tagqueryParams = { diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index 05db6d9..25f12ff 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -124,14 +124,14 @@ </el-select> </el-form-item> --> <el-form-item label="鎮h�呰寖鍥�" prop="status"> - <el-cascader - v-model="queryParams.scopetype" - placeholder="榛樿鍏ㄩ儴" - :options="sourcetype" - :props="{ expandTrigger: 'hover' }" - @change="handleChange" - ></el-cascader> - </el-form-item> + <el-cascader + v-model="queryParams.scopetype" + placeholder="榛樿鍏ㄩ儴" + :options="sourcetype" + :props="{ expandTrigger: 'hover' }" + @change="handleChange" + ></el-cascader> + </el-form-item> <el-form-item label="鑱旂郴鐢佃瘽" prop="telcode"> <el-input v-model="queryParams.telcode" @@ -244,9 +244,8 @@ prop="name" /> --> <el-table-column - label="濮撳悕" - width="100" + width="100" align="center" key="name" prop="name" @@ -255,20 +254,20 @@ <el-button size="medium" type="text" - @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.idcardno }, - }) - " - ><span class="button-textsc" - >{{scope.row.name}}</span - ></el-button + @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" + ><span class="button-textsc">{{ + scope.row.name + }}</span></el-button > - </template> </el-table-column> - <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex"> + <el-table-column + label="鎬у埆" + width="100" + align="center" + key="sex" + prop="sex" + > <template slot-scope="scope"> <span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span> </template> @@ -451,20 +450,20 @@ prop="templatename" /> <el-table-column - label="鎬讳换鍔�/宸查殢璁�" - align="center" - key="nickName" - width="120" - prop="nickName" - > - <template slot-scope="scope"> - <span - >{{ scope.row.wfs ? scope.row.wfs + scope.row.yfs : "" }}/{{ - scope.row.yfs - }}</span - > - </template> - </el-table-column> + label="鎬讳换鍔�/宸查殢璁�" + align="center" + key="nickName" + width="120" + prop="nickName" + > + <template slot-scope="scope"> + <span + >{{ scope.row.wfs ? scope.row.wfs + scope.row.yfs : "" }}/{{ + scope.row.yfs + }}</span + > + </template> + </el-table-column> <el-table-column label="鍒涘缓浜�" align="center" @@ -539,8 +538,7 @@ <el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-row> <el-col :span="8"> - <el-form-item label="濮撳悕" - width="100" prop="name"> + <el-form-item label="濮撳悕" width="100" prop="name"> <el-input v-model="form.name" placeholder="璇疯緭鍏ュ鍚�" @@ -549,7 +547,7 @@ </el-form-item> </el-col> <el-col :span="8"> - <el-form-item label="鎬у埆"width="100" prop="sex"> + <el-form-item label="鎬у埆" width="100" prop="sex"> <el-select v-model="form.sex" placeholder="璇烽�夋嫨鎬у埆"> <el-option v-for="dict in sextype" @@ -732,9 +730,10 @@ <div class="uploading" v-else-if="dractive == 2"> <el-table :data="uploadingData" style="width: 100%"> <el-table-column prop="serial" label="搴忓彿"> </el-table-column> - <el-table-column prop="name" label="濮撳悕" - width="100"> </el-table-column> - <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column> + <el-table-column prop="name" label="濮撳悕" width="100"> + </el-table-column> + <el-table-column prop="sex" label="鎬у埆" width="100"> + </el-table-column> <el-table-column prop="certificatenum" label="璇佷欢鍙风爜"> </el-table-column> @@ -772,9 +771,10 @@ <div v-if="dractive == 3"> <el-table :data="uploadingData" style="width: 100%"> <el-table-column prop="serial" label="搴忓彿"> </el-table-column> - <el-table-column prop="name" label="濮撳悕" - width="100"> </el-table-column> - <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column> + <el-table-column prop="name" label="濮撳悕" width="100"> + </el-table-column> + <el-table-column prop="sex" label="鎬у埆" width="100"> + </el-table-column> <el-table-column prop="certificatenum" label="璇佷欢鍙风爜"> </el-table-column> <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column> @@ -862,11 +862,12 @@ Exporterrorpatient, toleadpatient, } from "@/api/patient/homepage"; -import { getTasklist } from "@/api/AiCentre/index"; +import { getTasklist,query360PatInfo } from "@/api/AiCentre/index"; import { listtag } from "@/api/system/label"; import { getToken } from "@/utils/auth"; import Treeselect from "@riophae/vue-treeselect"; import store from "@/store"; + import "@riophae/vue-treeselect/dist/vue-treeselect.css"; export default { @@ -1004,6 +1005,39 @@ idcardtype: "", relativetelcode: "", }, + 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", + }, + }, + }, activeName: "first", //渚ц竟閫夋嫨 //瀵煎叆杩涘害 dractive: 1, @@ -1038,7 +1072,7 @@ pageNum: 1, allhosp: "1", pageSize: 10, - notrequiredFlag:0, + notrequiredFlag: 0, searchscope: 2, scopetype: [], leaveldeptcodes: [], @@ -1151,6 +1185,22 @@ this.optionstag = response.rows; }); }, + //鎮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鏌ヨ鏃犵粨鏋�"); + } + }); + }, // 鏌ヨ瀵煎叆灞曠ず鍒楄〃 geterryList() { this.loading = true; @@ -1165,7 +1215,7 @@ }, RiskMarker(row) { this.RiskVisible = true; - this.RiskObj=row; + this.RiskObj = row; }, // 鍙栨秷鎸夐挳 @@ -1195,19 +1245,19 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.queryParams= { + (this.queryParams = { pageNum: 1, allhosp: "1", pageSize: 10, - notrequiredFlag:0, + notrequiredFlag: 0, searchscope: 2, idcardno: undefined, name: undefined, status: undefined, tagIds: undefined, telcode: undefined, - }, - this.handleQuery(); + }), + this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 handleSelectionChange(selection) { @@ -1264,8 +1314,8 @@ } }); }, - // 鎮h�呰寖鍥村鐞� - handleChange(value) { + // 鎮h�呰寖鍥村鐞� + handleChange(value) { let type = value[0]; let code = value.slice(-1)[0]; this.queryParams.leavehospitaldistrictcodes = []; @@ -1305,14 +1355,13 @@ }); }, RiskService() { - this.RiskObj.visitFlag = this.Risklist.join(", "); this.RiskObj.visitType = this.Riskradio; alterpatient(this.RiskObj).then((res) => { - if (res.code==200) { + if (res.code == 200) { this.getList(); - this.Risklist=[]; - this.Riskradio=1; + this.Risklist = []; + this.Riskradio = 1; this.$modal.msgSuccess("寮傚父璁板綍鎴愬姛"); } }); @@ -1486,7 +1535,7 @@ } .leftvlue { width: 80%; - margin-left:220px ; + margin-left: 220px; margin-top: 10px; } .leftvlue-bg { diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue index 990b13d..b554ba7 100644 --- a/src/views/patient/patient/outpatient.vue +++ b/src/views/patient/patient/outpatient.vue @@ -200,12 +200,7 @@ <el-button size="medium" type="text" - @click=" - $router.push({ - path: '/patient/indexls/', - query: { sfzh: scope.row.idcardno }, - }) - " + @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)" ><span class="button-textsc">{{ scope.row.patname }}</span></el-button @@ -423,6 +418,8 @@ import { getToken } from "@/utils/auth"; import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; +import { query360PatInfo } from "@/api/AiCentre/index"; + import store from "@/store"; export default { @@ -494,6 +491,39 @@ id: 1, }, ], + 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", + }, + }, + }, defaultProps: { children: "children", label: "label", @@ -669,7 +699,23 @@ this.loading = false; }); }, + //鎮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鏌ヨ鏃犵粨鏋�"); + } + }); + }, // 绛涢�夎妭鐐� filterNode(value, data) { if (!value) return true; -- Gitblit v1.9.3