From e4717b437f7b4ef27c9801508f252f811fc65b3e Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期三, 09 四月 2025 13:43:22 +0800 Subject: [PATCH] 111 --- src/views/doctor/pacsCheck/index.vue | 4 ++ src/views/doctor/checkAll/index.vue | 16 ++++++- src/components/proposal/index.vue | 41 ++++++++++++-------- src/views/system/tijianall/index.vue | 33 ++++++++++------ 4 files changed, 63 insertions(+), 31 deletions(-) diff --git a/src/components/proposal/index.vue b/src/components/proposal/index.vue index 5dbfd55..4042982 100644 --- a/src/components/proposal/index.vue +++ b/src/components/proposal/index.vue @@ -59,10 +59,10 @@ <div class="pag" v-if="tjproposal == '0'"> <div class="pag1"> <pagination - v-show="total > 0" + v-show="total1 > 0" :total="total1" - :page.sync="queryParams.pageNum" - :limit.sync="queryParams.pageSize" + :page.sync="queryParams1.pageNum" + :limit.sync="queryParams1.pageSize" @pagination="radiotjproposalChange" /> </div> @@ -120,6 +120,7 @@ } from "@/api/hosp/project"; import { listAdvicerules } from "@/api/hosp/advicerules"; import { getInfo } from "@/api/login"; +import { get } from "sortablejs"; export default { name: "Packagese", props: { @@ -144,14 +145,16 @@ sex: "", isZj: "", userId: "", - page: 1, + pageNum: 1, pageSize: 10, - jynr: "", - jybt: "", }, queryParams1: { pageNum: 1, pageSize: 10, + jymc: "", + sex: "", + isZj: "", + userId: "", }, list: [], fList: {}, @@ -181,6 +184,8 @@ this.loading = true; this.openone = true; getTjHyBgList(this.queryParams).then((res) => { + console.log(res,6666); + this.dataList = res.data.records; this.loading = false; }); @@ -215,31 +220,35 @@ console.log(this.list); }, search() { - this.queryParams.jybt = this.searchAdv; - this.queryParams.page = 1; + this.queryParams1.jymc = this.searchAdv; + this.queryParams1.pageNum = 1; this.loading = true; - getKjTjAdviceKjbqBySex(this.queryParams).then((res) => { - this.dataList = res.data.records; - this.total = res.data.total; + listAdvicerules(this.queryParams1).then((res) => { + this.advicerulesList = res.rows; + this.total1 = res.total; this.loading = false; }); }, radiotjproposalChange() { if (this.tjproposal == "0") { this.searchAdv = ""; - this.queryParams.isZj = this.fList.isZj; - this.queryParams.userId = null; + this.queryParams1.isZj = this.fList.isZj; + this.queryParams1.userId = null; this.getList(); } else { this.loading = true; getInfo().then((res) => { - this.queryParams.userId = res.user.userId; - this.queryParams.isZj = null; - getCyTjAdviceKjbqBySex(this.queryParams).then((res) => { + this.queryParams1.userId = res.user.userId; + this.queryParams1.isZj = null; + getCyTjAdviceKjbqBySex(this.queryParams1).then((res) => { if (res.data) { + this.advicerulesList = res.data.records; + this.total1 = res.data.total; this.dataList = res.data.records; this.total = res.data.total; } else { + this.advicerulesList = []; + this.total1 = 0; this.dataList = []; this.total = 0; this.$modal.msgError(res.msg); diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 695b888..82d9999 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -273,7 +273,6 @@ :before-close="handleClose" :with-header="false" size="100%" - > <div class="top"> <table @@ -1385,7 +1384,12 @@ </el-dialog> <Packages ref="bbb" :baogao="baogao" /> <Prescription ref="Pre" :preObj="preObj" /> - <proposal ref="proposal" :cusobj="cusobj" :tjNumber="tjNumber" @event1="eventchange($event)" /> + <proposal + ref="proposal" + :cusobj="cusobj" + :tjNumber="tjNumber" + @event1="eventchange($event)" + /> <createproposal ref="createproposal" :creatobj="creatobj" /> <el-dialog @@ -2000,11 +2004,16 @@ }, eventchange(data) { this.dataText = data; + console.log(data, 6655); + if (this.textarea1 == null) { this.textarea1 = ""; } - data.forEach((item) => { + /* data.forEach((item) => { this.textarea1 += item.advice; + }); */ + data.forEach((item) => { + this.textarea1 += (item.advice || item.jynr || "") + "\n"; }); }, proposalChange() { @@ -2055,6 +2064,7 @@ if (res.data) { // this.Testitems = res.data this.changedate = res.data; + this.changedate.forEach((item) => { this.textarea1 = item.checkAdvice; }); diff --git a/src/views/doctor/pacsCheck/index.vue b/src/views/doctor/pacsCheck/index.vue index 2d370f4..19002ad 100644 --- a/src/views/doctor/pacsCheck/index.vue +++ b/src/views/doctor/pacsCheck/index.vue @@ -16,6 +16,7 @@ clearable @keyup.enter.native="handleQuery" style="width: 170px" + @input="onInput" /> </el-form-item> <!-- <el-form-item label="濮撳悕" prop="name"> @@ -331,6 +332,9 @@ }); }, methods: { + onInput(val) { + this.inputVal = val.replace(/\s+/g, ""); // 娓呴櫎鎵�鏈夌┖鏍� + }, handleDateChange(val) { if (val && val.length === 2) { this.queryParams.start = val[0]; // 璁剧疆寮�濮嬫椂闂� diff --git a/src/views/system/tijianall/index.vue b/src/views/system/tijianall/index.vue index bbbb03a..afbce3f 100644 --- a/src/views/system/tijianall/index.vue +++ b/src/views/system/tijianall/index.vue @@ -120,7 +120,7 @@ ]" > <el-input - @input="form.cusName = $event.replace(/\s/g, '')" + @input="form.cusName = $event.replace(/\s/g, '')" v-model="form.cusName" placeholder="璇疯緭鍏ュ鍚�" style="width: 99%" @@ -180,9 +180,12 @@ trigger: 'blur', }, ]" - > - - <el-input v-model="form.cusPhone" placeholder="璇疯緭鍏ョ數璇�" @input="form.cusPhone = $event.replace(/\s/g, '')"/> + > + <el-input + v-model="form.cusPhone" + placeholder="璇疯緭鍏ョ數璇�" + @input="form.cusPhone = $event.replace(/\s/g, '')" + /> </el-form-item> <el-form-item label="濠氬Щ" prop="cusMarryStatus"> @@ -228,7 +231,6 @@ placeholder="璇疯緭鍏ヨ韩浠借瘉鍙�" @input="handleIdCardInput" style="width: 190px" - /> <!-- <i style="font-size: 17px; margin-left: 3px" @@ -246,8 +248,11 @@ label-width="106px" > <el-form-item label="閭" prop="cusEmail"> - - <el-input v-model="form.cusEmail" placeholder="璇疯緭鍏ラ偖绠�" @input="form.cusEmail = $event.replace(/\s/g, '')"/> + <el-input + v-model="form.cusEmail" + placeholder="璇疯緭鍏ラ偖绠�" + @input="form.cusEmail = $event.replace(/\s/g, '')" + /> </el-form-item> <el-form-item label="姘戞棌" prop="cusNational"> <el-select @@ -294,7 +299,11 @@ label-width="106px" > <el-form-item label="鍗″彿" prop="indexCard"> - <el-input v-model="form.indexCard" placeholder="璇疯緭鍏ュ崱鍙�" @input="form.indexCard = $event.replace(/\s/g, '')"/> + <el-input + v-model="form.indexCard" + placeholder="璇疯緭鍏ュ崱鍙�" + @input="form.indexCard = $event.replace(/\s/g, '')" + /> </el-form-item> <el-form-item label="鑱屼笟" prop="career"> <el-select @@ -1486,7 +1495,7 @@ // 濡傛灉 dictCompId 娌℃湁鍙樺寲锛岄噸缃负绌� if (this.form.dictCompId === originalCompId) { - this.form.dictCompId = ''; + this.form.dictCompId = ""; } } }, @@ -1503,9 +1512,9 @@ } }, handleIdCardInput(value) { - this.form.cusIdcard = value.replace(/\s/g, ''); - this.inputChange(); // 淇濈暀鍘熸湁鐨勮韩浠借瘉杈撳叆澶勭悊閫昏緫 -}, + this.form.cusIdcard = value.replace(/\s/g, ""); + this.inputChange(); // 淇濈暀鍘熸湁鐨勮韩浠借瘉杈撳叆澶勭悊閫昏緫 + }, inputChange() { const reg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; -- Gitblit v1.8.0