From 807bf444a4930a18ba56fd987d3261853391050d Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期二, 19 三月 2024 14:12:31 +0800 Subject: [PATCH] qxtj --- src/views/doctor/check/index.vue | 20 ++++++++++---------- src/views/doctor/checkAll/index.vue | 2 +- vue.config.js | 2 +- src/views/system/biol/index.vue | 35 ++++++++++++++++++----------------- 4 files changed, 30 insertions(+), 29 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 0c729ff..add7c44 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -232,7 +232,7 @@ 鎬у埆锛� </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> - {{ tableAll.cusSex}} + {{ tableAll.cusSex == 0? "鐢�" :tableAll.cusSex == 1?"濂�":"鏈煡"}} </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> @@ -1284,15 +1284,15 @@ this.loading = true; this.drawer = true; this.tableAll = row; - if (this.tableAll.cusSex === 0) { - this.tableAll.cusSex = "鐢�"; - } - if (this.tableAll.cusSex === 1) { - this.tableAll.cusSex = "濂�"; - } - if (this.tableAll.cusSex === 2) { - this.tableAll.cusSex = "鏈煡"; - } + // if (this.tableAll.cusSex === 0) { + // this.tableAll.cusSex = "鐢�"; + // } + // if (this.tableAll.cusSex === 1) { + // this.tableAll.cusSex = "濂�"; + // } + // if (this.tableAll.cusSex === 2) { + // this.tableAll.cusSex = "鏈煡"; + // } this.tjNumber = row.tjNumber; let num = 0; getParentList(this.tjNumber).then((response) => { diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 745094e..fa565b2 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -110,7 +110,7 @@ 鎬у埆锛� </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> - {{ tableAll.cusSex }} + {{ tableAll.cusSex == 0? "鐢�" :tableAll.cusSex == 1?"濂�":"鏈煡"}} </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> diff --git a/src/views/system/biol/index.vue b/src/views/system/biol/index.vue index 064403b..d7f7d3d 100644 --- a/src/views/system/biol/index.vue +++ b/src/views/system/biol/index.vue @@ -2,18 +2,18 @@ <div class="app-container"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="濮撳悕" prop="name"> - <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" style="width: 100px" @keyup.enter.native="handleQuery" /> + <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" style="width: 100px" + @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNum"> <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="hb" /> </el-form-item> <el-form-item label="鎶ュ憡鏃堕棿" prop="createTimeList"> - <el-date-picker clearable v-model="createTimeList" type="daterange" range-separator="-" - start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']" - format="yyyy-MM-dd HH:mm:ss" - value-format="yyyy-MM-dd HH:mm:ss" - placeholder="璇烽�夋嫨鍑烘姤鍛婃椂闂�" @change="dateChangebirthday1"> + <el-date-picker clearable v-model="createTimeList" type="daterange" range-separator="-" start-placeholder="寮�濮嬫棩鏈�" + end-placeholder="缁撴潫鏃ユ湡" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']" + format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" placeholder="璇烽�夋嫨鍑烘姤鍛婃椂闂�" + @change="dateChangebirthday1"> </el-date-picker> </el-form-item> <!-- <el-form-item label="鍗曚綅鍚嶇О" prop="firmId"> @@ -126,8 +126,8 @@ <div class="pag"> <div class="pag1"> - <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" - @pagination="getList" /> + <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" + :limit.sync="queryParams.pageSize" @pagination="getList" /> </div> </div> @@ -264,7 +264,7 @@ </div> </el-dialog> <!--:before-close="handleClose" --> - <el-dialog title="鎻愮ず" :visible.sync="dialogVisiblese" width="30%" > + <el-dialog title="鎻愮ず" :visible.sync="dialogVisiblese" width="30%"> <el-radio v-model="radios" label="1">椋熷搧浠庝笟浜哄憳鍋ュ悍妫�鏌ヨ〃</el-radio> <el-radio v-model="radios" label="2">鍏叡鍦烘墍浠庝笟浜哄憳妫�鏌ヨ〃</el-radio> <span slot="footer" class="dialog-footer"> @@ -465,7 +465,7 @@ }, created() { // this.getNowTime(); - + this.Company(); this.getdate(); }, @@ -477,7 +477,7 @@ methods: { getdate() { getNewDateList().then((res) => { - this.createTimeList= [ + this.createTimeList = [ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; @@ -546,7 +546,6 @@ }, baogaoyulan() { const tjNumber = this.report[0]; - console.log(tjNumber) isPdfOrJimu(tjNumber).then((response) => { if (response.data.flag == "0") { const flag = true; @@ -763,9 +762,11 @@ }, /** 鏌ヨ浣撴璁板綍鍒楄〃 */ getList() { - console.log(this.queryParams) - this.queryParams.djbeginTime = this.createTimeList[0]; - this.queryParams.djendTime = this.createTimeList[1]; + if (this.createTimeList) { + this.queryParams.djbeginTime = this.createTimeList[0]; + this.queryParams.djendTime = this.createTimeList[1]; + } + this.loading = true; getInfo().then((response) => { this.userIds = response.user.userId; @@ -810,7 +811,7 @@ }, // 琛ㄥ崟閲嶇疆 reset() { - + this.form = { orderId: null, tjType: null, @@ -844,7 +845,7 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { - this.createTimeList =[] + this.createTimeList = [] this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/vue.config.js b/vue.config.js index 697baa5..2c15e68 100644 --- a/vue.config.js +++ b/vue.config.js @@ -53,7 +53,7 @@ // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`, - target: `http://192.168.0.108:5011`, + target: `http://192.168.0.112:5011`, // // target: `http://192.168.0.99:8080/ltkj-admin`, // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`, // target: `http://10.168.0.9:5011`, -- Gitblit v1.8.0