From 5b58a2c07e2317b2dc8f60c6bfe83dd0774896bc Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期五, 04 七月 2025 17:36:21 +0800 Subject: [PATCH] 1 --- src/views/doctor/checkAll/index.vue | 70 +++++++++++++++++++++++++++++++++- 1 files changed, 67 insertions(+), 3 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 1a1b329..2a5907d 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -23,7 +23,7 @@ </el-select> </el-form-item> <el-form-item label="浣撴绫诲埆"> - <el-select style="width: 200px" v-model="queryParams.tjCategory" placeholder="璇烽�夋嫨浣撴绫诲埆"> + <el-select style="width: 200px" v-model="queryParams.tjCategory" placeholder="璇烽�夋嫨浣撴绫诲埆" @change="searchCategory"> <el-option v-for="dict in dict.type.dict_tjtype" :key="dict.value" :label="dict.label" :value="dict.value"></el-option> </el-select> @@ -91,9 +91,16 @@ <el-radio-button label="1">宸插鏍�</el-radio-button> </el-radio-group> + <el-row :gutter="10" class="mb8" v-if="piliang" style="margin: 15px;"> + <el-col :span="1.5"> + <el-button type="primary" size="mini" @click="handleshenhe">鎵归噺鏍告敹</el-button> + </el-col> + </el-row> + <template> <el-table v-loading="loading" :data="checkList" ref="table" border style="margin: 20px; width: 98%" @current-change="handleCurrentChange"> + <el-table-column type="selection" align="center" label="閫夋嫨" width="50" v-if="piliang"/> <el-table-column label="浣撴鍙�" align="center" prop="tjNumber" :show-overflow-tooltip="true" width="160px" fixed="left" /> <el-table-column label="濮撳悕" align="center" prop="cusName" :show-overflow-tooltip="true" width="100px" @@ -334,8 +341,9 @@ </div> <template v-if="item.jyjc == '0'"> <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%" - :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys" + :header-cell-style="{ background: '#67C23A' }" :row-key="getRowKeys" v-loading="loading"> + <!-- :expand-row-keys="expends" --> <el-table-column type="expand"> <template slot-scope="props"> <div style="padding: 10px;"> @@ -382,11 +390,29 @@ <el-table-column align="center" prop="proResult" label="妫�娴嬬粨鏋�" width="85"></el-table-column> <el-table-column align="center" prop="stanId" label=" 鍙傝�冭寖鍥�" width="117"></el-table-column> <el-table-column align="center" prop="proAdvice" label="鍗曚綅" width="78"></el-table-column> + <el-table-column + label="鎿嶄綔" + align="center" + class-name="small-padding fixed-width" + width="60" + fixed="right" + > + <template slot-scope="props"> + <el-button + size="mini" + type="text" + icon="el-icon-delete" + @click="shanchu(props.row)" + > + </el-button> + </template> + </el-table-column> </el-table> </template> <template v-if="item.jyjc == '1'"> <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%" - :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys"> + :header-cell-style="{ background: '#67C23A' }" :row-key="getRowKeys"> + <!-- :expand-row-keys="expends" --> <el-table-column type="expand"> <template slot-scope="props"> <div style="padding: 10px;"> @@ -431,6 +457,23 @@ </template> </el-table-column> <el-table-column align="center" prop="proResult" label="妫�娴嬬粨鏋�" width="403"></el-table-column> + <el-table-column + label="鎿嶄綔" + align="center" + class-name="small-padding fixed-width" + width="60" + fixed="right" + > + <template slot-scope="props"> + <el-button + size="mini" + type="text" + icon="el-icon-delete" + @click="shanchu(props.row)" + > + </el-button> + </template> + </el-table-column> </el-table> </template> </div> @@ -918,9 +961,11 @@ zhiyeJg: '', // 鍒濆鍖栦綋妫�缁撴灉涓洪粯璁ゅ�� selectedAdvice: null, activeAdviceIndex: 0, + gotyval: null, advicerulesList: [], xmChange: [], showjianyi: false, + piliang: false, isLoading: false, adviceLoading: false, adviceEmptyText: '鏆傛棤鏁版嵁', @@ -1756,6 +1801,11 @@ radioChange(value) { this.loading = true; + if(value == "0" && this.gotyval == "01"){ + this.piliang = true + }else{ + this.piliang = false + } this.queryParams.checkStatus = value; this.queryParams.page = 1; this.queryParams.pageSize = 10; @@ -1854,6 +1904,19 @@ searchSelect(val) { this.CheckBox = val; + }, + + searchCategory(val){ + this.gotyval = val + if(val == "01" && this.tjStatus == "0"){ + this.piliang = true + }else{ + this.piliang = false + } + }, + + handleshenhe(){ + }, dateChangebirthday1(val) { @@ -1989,6 +2052,7 @@ }, handleCurrentChange(val) { + console.log(val) if (val != null) { this.handleClick(val); } -- Gitblit v1.8.0