From 080186b670ed6ee1c3149454a1abe44da0085d52 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 16 一月 2025 10:18:32 +0800 Subject: [PATCH] 测试完成 --- vue.config.js | 4 ++-- src/views/system/user/profile/index.vue | 12 ++++++++++-- src/api/AiCentre/SingleTask.js | 8 ++++++++ external (2).zip | 0 src/views/outsideChainwtnew.vue | 27 +++++++++++++-------------- src/views/patient/propaganda/QuestionnaireTask.vue | 4 ++-- 6 files changed, 35 insertions(+), 20 deletions(-) diff --git "a/external \0502\051.zip" "b/external \0502\051.zip" new file mode 100644 index 0000000..27c8933 --- /dev/null +++ "b/external \0502\051.zip" Binary files differ diff --git a/src/api/AiCentre/SingleTask.js b/src/api/AiCentre/SingleTask.js index 9480392..7cb15f2 100644 --- a/src/api/AiCentre/SingleTask.js +++ b/src/api/AiCentre/SingleTask.js @@ -47,6 +47,14 @@ data: data, }); } + // 浠诲姟閫夊彇鎮h�呬俊鎭� + export function getTaskpatientQC(data) { + return request({ + url: "/smartor/patarchive/getPatientInfoQC", + method: "post", + data: data, + }); + } // 鏂板鎴栦慨鏀逛换鍔� export function Editsingletask(data) { return request({ diff --git a/src/views/outsideChainwtnew.vue b/src/views/outsideChainwtnew.vue index 01487e8..83c09e1 100644 --- a/src/views/outsideChainwtnew.vue +++ b/src/views/outsideChainwtnew.vue @@ -63,7 +63,6 @@ <el-checkbox-group class="custom-radio" v-model="item.scriptResult" - @change="updateScore($event, index, item)" > <el-checkbox border @@ -448,19 +447,19 @@ } }, // 澶勭悊澶氶�夐�夐」 - updateScore(selectedvalues, index, arr) { - // 锟斤拷鍔犲垎鏁� - let score = 0; - selectedvalues.forEach((value) => { - const selectedOption = arr.svyLibTemplateTargetoptions.find( - (option) => option.optioncontent == value - ); - if (selectedOption) { - score += Number(selectedOption.score); - } - }); - this.questionList[index].score = score; - }, + // updateScore(selectedvalues, index, arr) { + // // 锟斤拷鍔犲垎鏁� + // let score = 0; + // selectedvalues.forEach((value) => { + // const selectedOption = arr.svyLibTemplateTargetoptions.find( + // (option) => option.optioncontent == value + // ); + // if (selectedOption) { + // score += Number(selectedOption.score); + // } + // }); + // this.questionList[index].score = score; + // }, }, }; </script> diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index 78551f2..98f113b 100644 --- a/src/views/patient/propaganda/QuestionnaireTask.vue +++ b/src/views/patient/propaganda/QuestionnaireTask.vue @@ -872,7 +872,7 @@ import { messagelistpatient } from "@/api/patient/homepage"; import store from "@/store"; import { - getTaskpatient, + getTaskpatientQC, getlibrarylist, getFollowuplist, getQtemplatelist, @@ -1626,7 +1626,7 @@ this.patientqueryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); } - getTaskpatient(this.patientqueryParams).then((response) => { + getTaskpatientQC(this.patientqueryParams).then((response) => { this.patientuserList = response.rows; this.patientuserList.forEach((item) => { if (item.endtime) { diff --git a/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue index b5624d3..5321727 100644 --- a/src/views/system/user/profile/index.vue +++ b/src/views/system/user/profile/index.vue @@ -23,14 +23,22 @@ <svg-icon icon-class="email" />鐢ㄦ埛閭 <div class="pull-right">{{ user.email }}</div> </li> - <li class="list-group-item"> + <li class="list-group-item" v-if="user.belongWards[0]"> <svg-icon icon-class="tree" />鎵�灞為櫌鍖� <div class="pull-right" >{{ user.belongWards[0].districtName }}</div> </li> - <li class="list-group-item"> + <li class="list-group-item" v-else> + <svg-icon icon-class="tree" />鎵�灞為櫌鍖� + <div class="pull-right" >鏈厤缃�</div> + </li> + <li class="list-group-item" v-if="user.belongDepts[0]"> <svg-icon icon-class="tree" />鎵�灞炵瀹� <div class="pull-right" >{{ user.belongDepts[0].deptName }}</div> </li> + <li class="list-group-item" v-else> + <svg-icon icon-class="tree" />鎵�灞炵瀹� + <div class="pull-right" >鏈厤缃�</div> + </li> <li class="list-group-item"> <svg-icon icon-class="peoples" />鎵�灞炶鑹� <div class="pull-right">{{ roleGroup }}</div> diff --git a/vue.config.js b/vue.config.js index 21f5d7c..23a50e9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,13 +35,13 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://192.168.168.60:8095`, + target: `http://192.168.168.60:8095`, // target: `http://10.202.20.185:8095`, // target: `http://192.168.100.184:8095`, // target:`http://localhost:8095`, // target: `http://192.168.101.135:8095`, // target: `http://192.168.101.166:8093`, - target: `http://192.168.191.181:8095`, + // target: `http://192.168.191.181:8095`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.3