From 72ab160441fb85d65813789dfa3f15a60e6de764 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期二, 15 七月 2025 18:02:29 +0800 Subject: [PATCH] 1 --- src/components/proposal/index.vue | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/components/proposal/index.vue b/src/components/proposal/index.vue index 472fd2a..d8aac1c 100644 --- a/src/components/proposal/index.vue +++ b/src/components/proposal/index.vue @@ -89,7 +89,7 @@ prop="createTime" /> --> </el-table> - <div class="pag" v-if="tjproposal == 1"> + <div class="pag" v-if="tjproposal == 1"> <div class="pag1"> <pagination v-show="total > 0" @@ -105,7 +105,7 @@ <pagination v-show="total > 0" :total="total" - :page.sync="queryParams1.pageNum" + :page.sync="queryParams1.pageNum" :limit.sync="queryParams1.pageSize" @pagination="radiotjproposalChange" /> @@ -124,9 +124,7 @@ getKjTjAdviceKjbqBySex, getCyTjAdviceKjbqBySex, } from "@/api/hosp/project"; -import { - listAdvicerules, -} from "@/api/hosp/advicerules"; +import { listAdvicerules } from "@/api/hosp/advicerules"; import { getInfo } from "@/api/login"; export default { name: "Packagese", @@ -149,7 +147,7 @@ queryParams1: { pageNum: 1, pageSize: 10, - zyzd: '' + zyzd: "", }, queryParams: { sex: "", @@ -158,7 +156,7 @@ page: 1, pageSize: 10, jynr: "", - jybt:"" + jybt: "", }, list: [], fList: {}, @@ -173,6 +171,10 @@ this.tjproposal = "0"; this.getList(); }, + mrjy(val) { + const mode = val === "Y" ? "1" : "0"; + this.setTjProposal(mode); + }, }, mounted() { // this.getList() @@ -184,6 +186,12 @@ // } }, methods: { + setTjProposal(mode) { + if (this.tjproposal !== mode) { + this.tjproposal = mode; + this.radiotjproposalChange(mode); // 鎵ц鍒囨崲閫昏緫 + } + }, getAllList() { this.loading = true; this.openone = true; @@ -216,7 +224,7 @@ // this.queryParams.page = 1; this.loading = true; listAdvicerules(this.queryParams1).then((res) => { - this.dataList = res.rows; + this.dataList = res.rows; this.total = res.total; this.loading = false; }); @@ -266,7 +274,7 @@ .pag1 { width: 30%; } -::v-deep .el-dialog__body{ +::v-deep .el-dialog__body { padding: 7px 20px; } </style> -- Gitblit v1.8.0