From 84b1d28d489aae3270ea0d34032e6aa3eb818883 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 26 二月 2025 09:27:49 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/tasklist/index.vue | 19 + src/views/patient/patient/physical.vue | 6 vue.config.js | 4 src/views/patient/patient/ExternalPatient.vue | 7 src/views/followvisit/record/detailpage/index.vue | 373 ++++++++++++++++++++++++++++++++++------------ src/views/patient/patient/hospital.vue | 18 + src/views/patient/patient/outpatient.vue | 6 src/views/patient/patient/index.vue | 16 + 8 files changed, 328 insertions(+), 121 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index 34e2179..7b4f9d1 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -14,10 +14,11 @@ @click="getTaskservelist()" >鏌ョ湅鎮h�呭叏閮ㄦ湇鍔�</el-button > - <el-button v-else type="success" @click="getTaskservelist(taskid)" + <el-button v-else type="success" @click="getTaskservelist(id)" >鏌ョ湅鎮h�呮湰娆℃湇鍔′俊鎭�</el-button > </div> + </div> <!-- <el-button type="success">闅忚鍚庣煭淇�</el-button> --> </div> @@ -25,6 +26,14 @@ <div> <el-table :data="logsheetlist" style="width: 100%"> <el-table-column prop="sendname" align="center" label="濮撳悕"> + </el-table-column> + <el-table-column + prop="taskName" + align="center" + width="200" + show-overflow-tooltip + label="浠诲姟鍚嶇О" + > </el-table-column> <el-table-column prop="sendstate" @@ -55,9 +64,12 @@ <el-tag type="danger" :disable-transitions="false" >鍙戦�佸け璐�</el-tag > - </div><div v-if="scope.row.sendstate == 6"> - <el-tag type="success" :disable-transitions="false">宸插畬鎴�</el-tag> - </div> + </div> + <div v-if="scope.row.sendstate == 6"> + <el-tag type="success" :disable-transitions="false" + >宸插畬鎴�</el-tag + > + </div> </template> </el-table-column> <el-table-column @@ -122,14 +134,6 @@ /> </template> </el-table-column> - <el-table-column - prop="taskName" - align="center" - width="200" - show-overflow-tooltip - label="浠诲姟鍚嶇О" - > - </el-table-column> <el-table-column prop="templatename" @@ -147,7 +151,7 @@ width="210" > </el-table-column> - <!-- <el-table-column + <el-table-column label="鎿嶄綔" fixed="right" align="center" @@ -159,41 +163,73 @@ size="medium" type="text" @click="Seedetails(scope.row)" - v-hasPermi="['system:user:edit']" ><span class="button-zx" - ><i class="el-icon-s-order"></i>鏌ョ湅鏈嶅姟</span + ><i class="el-icon-s-order"></i>鏌ョ湅鏈嶅姟缁撴灉</span ></el-button > </template> - </el-table-column> --> + </el-table-column> </el-table> </div> </div> - <div class="Followuserinfo"> + <div :class="form.serviceType == 2 ? 'Followuserinfo' : 'Followuserinfos'"> <div> - <div class="headline"> - <div>浜哄伐澶勭悊鎰忚</div> - </div> - <div style="margin-left: 30px"> - <el-button type="warning" @click="Editsingletaskson('1')" - >鏆備笉澶勭悊</el-button - > - <el-button type="success" @click="Editsingletaskson('2')" - >鐥呮儏绋冲畾</el-button - > - <el-button type="primary" @click="Editsingletaskson('3')" - >閫氱煡灏辫瘖</el-button - > - <!-- <el-button type="danger" @click="Editsingletaskson('4')" - >澶辫</el-button - > --> - <el-button type="info" @click="Editsingletaskson('5')" - >浜哄伐闅忚</el-button - > - </div> + <el-form ref="form" :model="form" label-width="120px"> + <div class="headline"> + <div>浜哄伐澶勭悊</div> + <el-row :gutter="20"> + <el-col :span="12" + ><el-form-item label="鑱旂郴鐢佃瘽"> + <el-input + disabled + placeholder="鑱旂郴鐢佃瘽缂哄け" + v-model="userform.telcode" + ></el-input> </el-form-item + ></el-col> + <el-col :span="12" + ><el-form-item label="鑱旂郴浜虹數璇�"> + <el-input + disabled + placeholder="鑱旂郴浜虹數璇濈己澶�" + v-model="userform.relativetelcode" + ></el-input> </el-form-item + ></el-col> + </el-row> + <!-- <div style="margin-left: 30px"> + <el-button type="warning">涓�閿懠鍙�</el-button> + </div> --> + </div> + + <el-form-item label="闅忚璁板綍"> + <el-input type="textarea" v-model="form.remark"></el-input> + </el-form-item> + + <el-form-item label="澶勭悊鎰忚"> + <div> + <el-button plain type="warning" @click="Editsingletaskson('1')" + >鏆備笉澶勭悊</el-button + > + <el-button plain type="success" @click="Editsingletaskson('2')" + >鐥呮儏绋冲畾</el-button + > + <el-button plain type="primary" @click="Editsingletaskson('3')" + >閫氱煡灏辫瘖</el-button + > + <!-- <el-button type="danger" @click="Editsingletaskson('4')" + >澶辫</el-button + > --> + <el-button plain type="info" @click="Editsingletaskson('5')" + >涓績闅忚</el-button + > + <el-button type="primary" round @click="sendAgain()" + >鍐嶆闅忚</el-button + > + </div> + </el-form-item> + </el-form> </div> </div> - <div> + <div v-if="form.serviceType == 2"> <el-tabs v-model="activeName" type="border-card"> <el-tab-pane name="wj"> <span class="mulsz" slot="label" @@ -201,7 +237,7 @@ > <div class="CONTENT"> <div class="title">{{ taskname ? taskname : "闂嵎" }}</div> - <!-- 闂嵎浠诲姟灞曠ず --> + <div class="preview-left" v-if="!Voicetype"> <!-- 鍗曢�� --> <div @@ -298,9 +334,8 @@ </div> </div> </div> - <!-- 璇煶闂嵎褰㈠紡灞曠ず --> + <div class="preview-left" v-else> - <!-- 鍗曢�� --> <div class="topic-dev" v-for="(item, index) in tableDatatop" @@ -328,7 +363,6 @@ </div> </div> - <!-- 濉┖ --> <div class="scriptTopic-dev" :key="index" v-else> <div class="dev-text"> {{ index + 1 }}銆乕闂瓟]<span>{{ item.questiontext }}</span> @@ -354,7 +388,7 @@ > </div> </el-tab-pane> - <!-- 璇煶闅忚璇︽儏---------------------- --> + <el-tab-pane name="yy"> <span class="mulsz" slot="label" ><i class="el-icon-headset"></i> 璇煶闅忚璇︽儏</span @@ -390,10 +424,7 @@ :autosize="{ minRows: 1 }" v-model="item.asrtext" ></el-input> - <!-- <el-radio v-model="radio" label="1">寰堟</el-radio> - <el-radio v-model="radio" label="2">杩樺彲浠�</el-radio> - <el-radio v-model="radio" label="3">涓嶅お濂�</el-radio> - <el-radio v-model="radio" label="4">姣旇緝宸�</el-radio> --> + <div> <mini-audio :audio-source=" @@ -417,6 +448,66 @@ </el-tab-pane> </el-tabs> </div> + <el-dialog title="鎮h�呭啀娆¢殢璁�" :visible.sync="dialogFormVisible"> + <el-form ref="form" :model="form" label-width="80px"> + <el-form-item label="浠诲姟鍚嶇О"> + <el-input + style="width: 400px" + disabled + v-model="form.taskName" + ></el-input> + </el-form-item> + <el-form-item label="鎮h�呭悕绉�"> + <el-input + style="width: 400px" + disabled + v-model="form.sendname" + ></el-input> + </el-form-item> + <el-form-item label="骞撮緞"> + <el-input style="width: 400px" disabled v-model="form.age"></el-input> + </el-form-item> + <el-form-item label="绉戝"> + <el-input + style="width: 400px" + disabled + v-model="form.deptname" + ></el-input> + </el-form-item> + <el-form-item label="鐥呭尯"> + <el-input + style="width: 400px" + disabled + v-model="form.leavehospitaldistrictname" + ></el-input> + </el-form-item> + + <el-form-item label="闅忚鏂瑰紡"> + <el-radio-group v-model="form.resource"> + <el-radio label="1">鏈梾鍖洪殢璁�</el-radio> + <el-radio label="2">闅忚涓績闅忚</el-radio> + </el-radio-group> + </el-form-item> + <!-- <el-form-item label="鍗冲埢鍙戦��"> + <el-switch v-model="zcform.delivery"></el-switch> + </el-form-item> --> + <el-form-item label="闅忚鏃堕棿"> + <el-date-picker + type="date" + placeholder="閫夋嫨鏃ユ湡" + v-model="form.date1" + style="width: 100%" + ></el-date-picker> + </el-form-item> + <el-form-item label="闅忚璁板綍"> + <el-input type="textarea" v-model="form.remark"></el-input> + </el-form-item> + </el-form> + <div slot="footer" class="dialog-footer"> + <el-button @click="dialogFormVisible = false">鍙� 娑�</el-button> + <el-button type="primary" @click="setupsubtask">纭鍒涘缓鏈嶅姟</el-button> + </div> + </el-dialog> </div> </template> @@ -424,6 +515,7 @@ import { getsearchrResults, getPersonVoices, + addserviceSubtask, getTaskservelist, getTaskFollowup, Editsingletaskson, @@ -432,6 +524,7 @@ updatePersonVoices, addPersonVoices, } from "@/api/AiCentre/index"; +import { messagelistpatient } from "@/api/patient/homepage"; export default { dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"], data() { @@ -443,9 +536,15 @@ activeName: "wj", voice: "", templateid: "", + zcform: {}, + form: {}, tableDatatop: [], //棰樼洰琛� voiceDatatop: [], //棰樼洰琛� + dynamicTags: [], + + userform: {}, Whetherall: false, //鏄惁鍏ㄩ儴璁板綍灞曠ず + dialogFormVisible: false, Voicetype: 0, //鏄惁涓鸿闊虫湇鍔� logsheetlist: [], topicobj: {}, @@ -465,22 +564,22 @@ this.Voicetype = this.$route.query.Voicetype; this.serviceType = this.$route.query.serviceType; - this.getTaskservelist(this.taskid); + this.getTaskservelist(this.id); }, methods: { // 鑾峰彇闂嵎鏁版嵁 - getsearchrResults() { + getsearchrResults(id) { getsearchrResults({ taskid: this.taskid, patid: this.patid, - subId: this.id, + subId: id ? id : this.id, isFinish: false, }).then((res) => { if (res.code === 200) { this.tableDatatop = res.data.scriptResult.script; this.tableDatatop.forEach((item) => { - console.log(item.scriptResultId,'scriptResultId'); + console.log(item.scriptResultId, "scriptResultId"); if (item.scriptResultId && item.scriptType != 2) { item.isoption = 3; @@ -495,12 +594,25 @@ } }); }, + // 鑾峰彇鍩虹淇℃伅 + getuserinfo() { + const queryParams = { + pid: Number(this.id), + allhosp: "0", + pageNum: 1, + }; + // 鎮h�呭熀纭�淇℃伅 + messagelistpatient(queryParams).then((response) => { + this.userform = response.rows[0]; + this.dynamicTags = response.rows[0].tagList.map(this.processElement); + }); + }, // 鑾峰彇璇煶鏁版嵁 - getPersonVoices() { + getPersonVoices(id) { let obj = { taskid: this.taskid, patid: this.patid, - subId: this.id, + subId: id ? id : this.id, }; console.log(this.voiceDatatop, "111"); @@ -509,7 +621,7 @@ if (res.code == 200) { this.voiceDatatop = res.data.serviceSubtaskDetails; this.voice = res.data.voice; - // this.activeName = "yy"; + // // this.activeName = "yy"; this.taskname = res.data.taskName; // 闂嵎灞曠ず鏁版嵁澶勭悊 this.tableDatatop = res.data.filteredDetails; @@ -577,7 +689,6 @@ } else if (item.scriptType != 2 && item.scriptResult) { obj.asrtext = item.scriptResult; } -console.log(item,'item90'); if (item.isoption == 3) { serviceSubtaskDetailedit(obj).then((res) => { @@ -599,50 +710,53 @@ this.Editsingletasksonyic(excep); }, yuyingetdetail() { - this.tableDatatop.forEach((item, index) => { - console.log(item.scriptResult, "scriptResult"); - item.scriptResult = item.scriptResult.join("&"); - item.templatequestionnum = index + 1; - item.subId = this.id; - item.taskid = this.taskid; - item.asrtext = item.matchedtext; - if (!item.id) { - item.isoperation = 1; - } - item.patid = this.patid; - item.templateid = item.templateID; - }); - let obj ={ - serviceSubtaskDetailList: this.tableDatatop, - param1: this.taskid, - param2: this.patid, - subId: this.id, - } + this.tableDatatop.forEach((item, index) => { + console.log(item.scriptResult, "scriptResult"); + item.scriptResult = item.scriptResult.join("&"); + item.templatequestionnum = index + 1; + item.subId = this.id; + item.taskid = this.taskid; + item.asrtext = item.matchedtext; + if (!item.id) { + item.isoperation = 1; + } + item.patid = this.patid; + item.templateid = item.templateID; + }); + let obj = { + serviceSubtaskDetailList: this.tableDatatop, + param1: this.taskid, + param2: this.patid, + subId: this.id, + }; - addPersonVoices(obj).then((res) => { - if (res.code == 200) { - this.$modal.msgSuccess("鏈嶅姟淇濆瓨鎴愬姛"); - } - }); - - }, + addPersonVoices(obj).then((res) => { + if (res.code == 200) { + this.$modal.msgSuccess("鏈嶅姟淇濆瓨鎴愬姛"); + } + }); + }, // 鑾峰彇鎮h�呰褰� - getTaskservelist(taskid) { - // this.taskid = taskid; - if (taskid) { + getTaskservelist(id) { + this.id = id; + if (id) { this.Whetherall = false; } else { this.Whetherall = true; } + getTaskservelist({ patid: this.patid, - taskid: taskid, + subid: id, }).then((res) => { if (res.code == 200) { + this.form = res.rows[0].serviceSubtaskList[0]; this.logsheetlist = res.rows[0].serviceSubtaskList; this.templateid = this.logsheetlist[0].templateid; + console.log(this.form.serviceType, "serviceType"); } + if (this.Voicetype) { this.getPersonVoices(); } else { @@ -654,7 +768,7 @@ let objson = {}; getTaskservelist({ patid: this.patid, - taskid: this.taskid, + subId: this.id, }).then((res) => { if (res.code == 200) { objson = res.rows[0].serviceSubtaskList[0]; @@ -662,7 +776,7 @@ Editsingletaskson(objson).then((res) => { if (res.code) { this.$modal.msgSuccess("璁板綍鎴愬姛"); - this.getTaskservelist(this.taskid); + this.getTaskservelist(this.id); } }); } @@ -672,29 +786,35 @@ let objson = {}; getTaskservelist({ patid: this.patid, - taskid: this.taskid, + subId: this.id, }).then((res) => { if (res.code == 200) { objson = res.rows[0].serviceSubtaskList[0]; - console.log(objson, "obj"); - objson.excep = excep; Editsingletaskson(objson).then((res) => { if (res.code) { this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛"); - this.getTaskservelist(this.taskid); + this.getTaskservelist(this.id); } }); } }); }, - // 鏇存敼寮傚父鐘舵�� + // 璋冭捣鍐嶆鍙戦�� + sendAgain() { + this.dialogFormVisible = true; + }, + // 鏌ョ湅璇︽儏 Seedetails(row) { this.$modal - .confirm('鏄惁鏌ョ湅浠诲姟涓�"' + optionids + '"鐨勬湇鍔¢」锛�') - .then(function () {}) + .confirm('鏄惁鏌ョ湅浠诲姟涓�"' + row.taskName + '"鐨勬湇鍔¤鎯呮暟鎹紵') .then(() => { - this.getList(); + this.taskid = row.taskid; + this.id = row.id; + this.patid = row.patid; + this.Voicetype = row.type; + this.serviceType = row.serviceType; + this.getTaskservelist(this.id); }) .catch(() => {}); }, @@ -734,7 +854,29 @@ } }); }, - + // 鍒涘缓鍐嶆闅忚鏈嶅姟 + setupsubtask() { + console.log(this.form); + let form = structuredClone(this.form); + form.longSendTime = this.formatTime(form.date1); + if (form.resource) { + if (form.resource == 2) { + form.serviceType = 10; + } + } else { + this.$modal.msgError("鏈�夋嫨闅忚鏂瑰紡"); + } + form.id = null; + form.sendstate = 2; + addserviceSubtask(form).then((res) => { + if (res.code == 200) { + this.$modal.msgSuccess("鍒涘缓鎴愬姛"); + } else { + this.$modal.msgError("鍒涘缓澶辫触"); + } + this.dialogFormVisible = false; + }); + }, updateScore(a, b, c) { console.log(a); console.log(b); @@ -751,6 +893,27 @@ .Followuserinfo { margin: 20px 10px; align-items: center; + padding: 30px; + background: #ffff; + border: 1px solid #dcdfe6; + -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), + 0 0 6px 0 rgba(0, 0, 0, 0.04); + .userinfo-text { + font-size: 20px; + margin-right: 20px; + margin-bottom: 10px; + } + .userinfo-value { + color: rgb(15, 139, 211); + span { + margin-right: 20px; + } + } +} +.Followuserinfos { + margin: 20px 10px; + align-items: center; + height: 300px; padding: 30px; background: #ffff; border: 1px solid #dcdfe6; @@ -829,6 +992,21 @@ .scriptTopic-isabnormal { color: red; } +.detailed { + width: 88%; + border-radius: 8px; + padding: 30px; + margin-bottom: 30px; + background-color: #ddf0f8; + .bg-purple { + margin-bottom: 20px; + } + .spanvalue { + display: inline-block; + min-width: 200px; + border-bottom: 1px solid rgb(172, 172, 172); + } +} .headline { font-size: 24px; height: 40px; @@ -874,6 +1052,9 @@ ::v-deep.offside-value .el-radio__label { color: #fff; } +::v-deep.el-link.el-link--default { + color: #02a7f0 !important; +} .mulsz { font-size: 25px; margin-top: 20px; diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue index 6776497..594ab60 100644 --- a/src/views/followvisit/tasklist/index.vue +++ b/src/views/followvisit/tasklist/index.vue @@ -702,7 +702,7 @@ this.tasktopic == 7 || this.tasktopic == 6 ) { - if (!this.topqueryParams.type) this.topqueryParams.type = '2'; + if (!this.topqueryParams.type) this.topqueryParams.type = "2"; this.longtermlist = [ { value: 1, @@ -714,7 +714,7 @@ }, ]; } else if (this.tasktopic == 4 || this.tasktopic == 8) { - if (!this.topqueryParams.type) this.topqueryParams.type = '3'; + if (!this.topqueryParams.type) this.topqueryParams.type = "3"; this.longtermlist = [ { value: 3, @@ -722,7 +722,7 @@ }, ]; } else if (this.tasktopic == 5) { - if (!this.topqueryParams.type) this.topqueryParams.type = '1'; + if (!this.topqueryParams.type) this.topqueryParams.type = "1"; this.longtermlist = [ { value: 1, @@ -797,9 +797,16 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.topqueryParams.deptId = undefined; - this.$refs.tree.setCurrentKey(null); + this.topqueryParams = { + pageNum: 1, + pageSize: 10, + type: 2, + }; + this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( + (obj) => obj.deptCode + ); + this.topqueryParams.leavehospitaldistrictcodes = + store.getters.belongWards.map((obj) => obj.districtCode); this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/src/views/patient/patient/ExternalPatient.vue b/src/views/patient/patient/ExternalPatient.vue index 91eee25..f04b70c 100644 --- a/src/views/patient/patient/ExternalPatient.vue +++ b/src/views/patient/patient/ExternalPatient.vue @@ -803,7 +803,6 @@ queryParams: { pageNum: 1, pageSize: 10, - }, // 琛ㄥ崟鏍¢獙 rules: { @@ -925,8 +924,10 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + pageSize: 10, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue index ebd51cc..0a68128 100644 --- a/src/views/patient/patient/hospital.vue +++ b/src/views/patient/patient/hospital.vue @@ -20,9 +20,9 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item label="浣忛櫌鍙�" prop="patid"> + <el-form-item label="浣忛櫌鍙�" prop="patno"> <el-input - v-model="queryParams.patid" + v-model="patno" placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�" clearable style="width: 250px" @@ -429,6 +429,7 @@ { papersname: "涓浗娓境灞呮皯韬唤璇�" }, { papersname: "涓浗鍙版咕灞呮皯韬唤璇�" }, ], + patno:null, // 琛ㄥ崟鍙傛暟 form: { name: "", @@ -600,13 +601,22 @@ this.queryParams.startOutHospTime = this.dateRange[0]; this.queryParams.endOutHospTime = this.dateRange[1]; this.queryParams.pageNum = 1; + if (this.patno) { + this.queryParams.patno = this.patno; + + } this.getList(); }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + pageSize: 10, + cry: 1, + searchscope:2, + }, + this.patno=null; this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index ecdbad6..f2b4801 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -80,7 +80,7 @@ </el-option> </el-select> </el-form-item> --> - <el-form-item + <!-- <el-form-item label-width="138px" label="涓绘不鍖荤敓" prop="userName" @@ -91,16 +91,16 @@ maxlength="30" @keyup.enter.native="handleQuery" /> - </el-form-item> + </el-form-item> --> - <el-form-item label="闂ㄨ瘖缂栧彿" prop="visitno"> + <!-- <el-form-item label="闂ㄨ瘖缂栧彿" prop="visitno"> <el-input v-model="queryParams.visitno" placeholder="璇疯緭鍏ョ紪鍙�" maxlength="30" @keyup.enter.native="handleQuery" /> - </el-form-item> + </el-form-item> --> <el-form-item label="鎮h�呭鍚�" prop="name"> <el-input v-model="queryParams.name" @@ -1150,8 +1150,12 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + allhosp: "1", + pageSize: 10, + searchscope: 2, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue index 8f7b3ac..511dfb1 100644 --- a/src/views/patient/patient/outpatient.vue +++ b/src/views/patient/patient/outpatient.vue @@ -599,8 +599,10 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + pageSize: 10, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/src/views/patient/patient/physical.vue b/src/views/patient/patient/physical.vue index a7b31d6..4d19dbc 100644 --- a/src/views/patient/patient/physical.vue +++ b/src/views/patient/patient/physical.vue @@ -771,8 +771,10 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + pageSize: 10, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 diff --git a/vue.config.js b/vue.config.js index 08b0554..25f1f4d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,9 +36,9 @@ // 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.144.34:8095`, + // target: `http://192.168.144.34:8095`, // target: `http://61.160.111.174:8095`, - // target:`http://localhost: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`, -- Gitblit v1.9.3