From bf0c58d66631e078f2dbf13800b535687f080da7 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期四, 08 五月 2025 11:20:25 +0800 Subject: [PATCH] qx --- src/views/doctor/checkAll/index.vue | 116 +++++++++++++++++++++++++++++++++++--- src/views/login.vue | 1 src/views/system/package/index.vue | 13 ++-- src/api/doctor/checkAll.js | 11 +++ 4 files changed, 123 insertions(+), 18 deletions(-) diff --git a/src/api/doctor/checkAll.js b/src/api/doctor/checkAll.js index c0bb6f1..c573407 100644 --- a/src/api/doctor/checkAll.js +++ b/src/api/doctor/checkAll.js @@ -157,4 +157,13 @@ }) } - +//鎬绘鐐瑰嚮浣撴淇℃伅璇︽儏 +export function getFcList(tjNumber) { + return request({ + url: '/check/getFcList', + method: 'get', + params: { + tjNum: tjNumber + } + }) +} diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index cdb1d10..3ba356a 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -132,6 +132,9 @@ <div class="btn1"> <el-button @click="yichangjieguo()" type="primary"><span class="vertical-text">寮傚父缁撴灉</span></el-button> </div> + <div class="btn1"> + <el-button @click="fuchaxiangmu()" type="primary"><span class="vertical-text">澶嶆煡椤圭洰</span></el-button> + </div> </div> <div class="box"> <div class="left-container"> @@ -159,7 +162,8 @@ <el-table-column align="center" prop="" label=" 鍙傝�冭寖鍥�"> <template slot-scope="scope"> <div v-if="scope.row.project != null"> - {{ scope.row.standard.tjStandardGtValue || "/" + "-" + scope.row.standard.tjStandardLtValue || "/" }} + {{ scope.row.standard.tjStandardGtValue || "/" + "-" + scope.row.standard.tjStandardLtValue || + "/" }} </div> <div v-else>{{ scope.row.stanId || "/" }}</div> </template> @@ -198,7 +202,8 @@ 妫�鏌ユ墍瑙侊細 </td> <td style="border: 1px solid #dfe6ec; height: auto" colspan="2"> - <el-input type="textarea" autosize placeholder="璇疯緭鍏ュ唴瀹�" v-model="item.jgbx" style="width: 100%"></el-input> + <el-input type="textarea" autosize placeholder="璇疯緭鍏ュ唴瀹�" v-model="item.jgbx" + style="width: 100%"></el-input> </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> @@ -206,7 +211,8 @@ 妫�鏌ユ彁绀猴細 </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2"> - <el-input type="textarea" autosize placeholder="璇疯緭鍏ュ唴瀹�" v-model="item.remark" style="width: 100%"></el-input> + <el-input type="textarea" autosize placeholder="璇疯緭鍏ュ唴瀹�" v-model="item.remark" + style="width: 100%"></el-input> </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse; width: 200px;"> @@ -228,7 +234,8 @@ <el-form ref="numberValidateForm" label-width="80px" class="demo-ruleForm" v-if="tjproject != '1'"> <el-form-item label="鎬绘寤鸿"> - <el-input type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" v-model="textarea1" :rows="3" style="width: 96%"></el-input> + <el-input type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" v-model="textarea1" :rows="3" + style="width: 96%"></el-input> </el-form-item> </el-form> <div slot="footer" class="dialog-footers"> @@ -256,7 +263,8 @@ <div style="padding: 10px;"> <!-- 鍐呭鍖哄煙 --> <div v-if="props.row.advices && props.row.advices.length > 0"> - <div v-for="(jianyi, index1) in props.row.advices" :key="index1" style="margin-bottom: 10px"> + <div v-for="(jianyi, index1) in props.row.advices" :key="index1" + style="margin-bottom: 10px"> <div> 鏍囬锛� <el-input v-model="jianyi.bt" size="small" type="textarea" autosize @@ -306,7 +314,8 @@ <div style="padding: 10px;"> <!-- 鍐呭鍖哄煙 --> <div v-if="props.row.advices && props.row.advices.length > 0"> - <div v-for="(jianyi, index1) in props.row.advices" :key="index1" style="margin-bottom: 10px"> + <div v-for="(jianyi, index1) in props.row.advices" :key="index1" + style="margin-bottom: 10px"> <div> 鏍囬锛� <el-input v-model="jianyi.bt" size="small" type="textarea" autosize @@ -366,6 +375,35 @@ </template> </el-table-column> <el-table-column label="妫�鏌ユ椂闂�" align="center" prop="bcupdateTime" width="160" /> + </el-table> + </div> + </template> + + <template v-if="status1 == 2"> + <div> + <div style="text-align: center; margin-top: 10px;"> + 澶嶆煡椤圭洰 + </div> + <div style="display: flex;margin:15px ;"> + <span slot="label" style="display: inline-block; border-bottom: 2px solid blue" @click="handleQuery"> + 椤圭洰閫夋嫨 + </span> + <div style="margin:0 20px;">椤圭洰鍚嶇О锛歿{ }}</div> + <div style="margin:0 20px ;">浠锋牸锛歿{ }}</div> + <el-button type="primary" size="mini" @click="handleaddClick()">娣诲姞</el-button> + </div> + + <el-table :row-style="redxiangmu" :data="fcList" style="width: 100%"> + <el-table-column align="center" label="搴忓彿" width="144" prop="deptName"></el-table-column> + <el-table-column align="center" prop="proName" label="绉戝" width="260"></el-table-column> + <el-table-column align="center" prop="pro_name" label="椤圭洰鍚嶇О" width="260"></el-table-column> + <el-table-column label="浠锋牸" align="center" prop="bcupdateTime" width="100" /> + <el-table-column label="鎿嶄綔" align="center" width="130px"> + <template slot-scope="scope"> + <el-button type="primary" icon="el-icon-share" size="mini" @click="handledeleteClick(scope.row)" + title="鍒犻櫎"></el-button> + </template> + </el-table-column> </el-table> </div> </template> @@ -660,6 +698,26 @@ <el-button type="primary" @click="applySelectedAdvice" :disabled="!selectedAdvice">纭畾</el-button> </span> </el-dialog> + + <el-dialog :visible.sync="xmopen" width="800px" append-to-body> + <el-form ref="form" :model="forms" label-width="80px"> + <el-form-item label="鍚嶇О" prop="pacName"> + <el-input v-model="forms.pacName" placeholder="璇疯緭鍏ュ悕绉�" /> + </el-form-item> + </el-form> + <el-table :data="datasList" ref="elTable" v-loading="loading" @selection-change="handlexmChange" border + height="320px"> + <el-table-column type="selection" width="40" align="center" /> + <el-table-column label="搴忓彿" align="center" prop="pacRemark" /> + <el-table-column label="鍚嶇О" align="center" prop="pacName" width="100px" /> + <el-table-column label="浠锋牸" align="center" prop="price" /> + <el-table-column label="绉戝" align="center" prop="pacRemark" /> + </el-table> + <div slot="footer" class="dialog-footer"> + <el-button type="primary" @click="submitFormxm">纭� 瀹�</el-button> + <el-button @click="cancels">鍙� 娑�</el-button> + </div> + </el-dialog> <Packages ref="bbb" :baogao="baogao" /> <Prescription ref="Pre" :preObj="preObj" /> <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" /> @@ -687,7 +745,8 @@ getModified, isPdfOrJimu, addOrder, - addOrder1 + addOrder1, + getFcList } from "@/api/doctor/checkAll"; import { getInfoById } from "@/api/hosp/history"; import { getInfo } from "@/api/login"; @@ -735,6 +794,11 @@ adviceLoading: false, // 鎺у埗琛ㄦ牸鍔犺浇鐘舵�� adviceEmptyText: '鏆傛棤鏁版嵁', // 鑷畾涔夌┖鏁版嵁鎻愮ず total1: 0, + forms:{ + pacName:"" + }, + xmopen: false, + datasList:[], queryParams1: { pageNum: 1, pageSize: 10, @@ -848,6 +912,7 @@ }, formobj: {}, yichangList: [], + fcList: [], statusList: [], queryParam: { pageNum: 1, @@ -997,7 +1062,7 @@ this.cancelAdviceDialog(); done(); }) - .catch(() => {}); + .catch(() => { }); } else { this.cancelAdviceDialog(); done(); @@ -1135,8 +1200,8 @@ shanchu({ id: row.orderDetailId, }).then((res) => { - console.log(res,1111); - + console.log(res, 1111); + if (res.code === 200) { const parentItem = this.yichangList.find(item => item.sone.some(soneItem => soneItem.orderDetailId === row.orderDetailId) @@ -1174,6 +1239,28 @@ }); }, + handleQuery() { + this.xmopen= true + + }, + + handleaddClick() { + + }, + + handledeleteClick() { + + }, + + handlexmChange(){ + + }, + submitFormxm(){ + +}, +cancels() { + this.xmopen= false + }, getExpends() { this.expends = this.yichangList.flatMap(item => item.sone.map(soneItem => soneItem.orderDetailId) @@ -1234,6 +1321,13 @@ }); } }); + }, + + fuchaxiangmu() { + this.status1 = 2; + getFcList(this.tjNumber).then(res => { + this.fcList = res.data + }) }, getdate() { @@ -1732,7 +1826,7 @@ done(); }); }) - .catch(() => {}); + .catch(() => { }); } else { let data = { userId: this.userId, diff --git a/src/views/login.vue b/src/views/login.vue index c23b89f..80a2305 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -298,6 +298,7 @@ } } this.$router.push({ path: this.redirect || "/" }).catch(() => { }); + location.reload(); } }).catch(() => { diff --git a/src/views/system/package/index.vue b/src/views/system/package/index.vue index 7a4c5e5..197f8ae 100644 --- a/src/views/system/package/index.vue +++ b/src/views/system/package/index.vue @@ -151,7 +151,7 @@ <el-row style="display: flex; width: 1300px"> <el-col> <div style="text-align: center; margin-bottom: 10px; margin-top: 10px">椤圭洰鍒楄〃</div> - <el-input placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" v-model="filterText" @input="debounceFilter" clearable /> + <el-input placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" v-model="queryParams1.nr" @input="handleFilterInput" clearable /> <div class="tab3" style="height: 365px"> <el-tree class="filter-tree" @@ -319,11 +319,12 @@ this.getCategory(); }, methods: { - debounceFilter() { - clearTimeout(this.debounceTimer); - this.debounceTimer = setTimeout(() => { - this.filterTree(); - }, 600); + handleFilterInput() { + this.queryParams1.page = 1; + this.getDataList(); + this.$nextTick(() => { + this.$refs.tree.setCheckedKeys(this.checkedNodes); + }); }, filterTree() { if (!this.filterText) { -- Gitblit v1.8.0