| | |
| | | </el-form-item> |
| | | <el-form-item v-show="tjproposal == 0"> |
| | | <el-input |
| | | v-model="searchAdv" |
| | | v-model="queryParams1.zyzd" |
| | | style="width: 180px" |
| | | placeholder="请输入搜索内容" |
| | | clearable |
| | |
| | | |
| | | <el-table |
| | | :data="dataList" |
| | | v-if="tjproposal == 1" |
| | | ref="elTable" |
| | | v-loading="loading" |
| | | @selection-change="handleSelectionChange" |
| | |
| | | prop="createTime" |
| | | /> --> |
| | | </el-table> |
| | | <div class="pag"> |
| | | <el-table |
| | | :data="dataList" |
| | | v-else |
| | | ref="elTable" |
| | | v-loading="loading" |
| | | @selection-change="handleSelectionChange" |
| | | border |
| | | height="500px" |
| | | > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column label="科室" prop="ks" width="100" align="center" /> |
| | | <el-table-column label="建议名称" prop="jymc" align="center" /> |
| | | <el-table-column label="建议内容" prop="jynr" align="center" /> |
| | | <!-- <el-table-column |
| | | label="创建人" |
| | | align="center" |
| | | prop="createBy" |
| | | width="110px" |
| | | /> |
| | | <el-table-column |
| | | label="创建时间" |
| | | width="160px" |
| | | align="center" |
| | | prop="createTime" |
| | | /> --> |
| | | </el-table> |
| | | <div class="pag" v-if="tjproposal == 1"> |
| | | <div class="pag1"> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.page" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="radiotjproposalChange" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div class="pag" v-else> |
| | | <div class="pag1"> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams1.pageNum" |
| | | :limit.sync="queryParams1.pageSize" |
| | | @pagination="radiotjproposalChange" |
| | | /> |
| | | </div> |
| | |
| | | getKjTjAdviceKjbqBySex, |
| | | getCyTjAdviceKjbqBySex, |
| | | } from "@/api/hosp/project"; |
| | | import { |
| | | listAdvicerules, |
| | | } from "@/api/hosp/advicerules"; |
| | | import { getInfo } from "@/api/login"; |
| | | export default { |
| | | name: "Packagese", |
| | |
| | | // 遮罩层 |
| | | loading: false, |
| | | searchAdv: "", |
| | | queryParams1: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | zyzd: '' |
| | | }, |
| | | queryParams: { |
| | | sex: "", |
| | | isZj: "", |
| | |
| | | }, |
| | | getList() { |
| | | this.loading = true; |
| | | getKjTjAdviceKjbqBySex(this.queryParams).then((res) => { |
| | | this.dataList = res.data.records; |
| | | this.total = res.data.total; |
| | | listAdvicerules(this.queryParams1).then((res) => { |
| | | this.dataList = res.rows; |
| | | this.total = res.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | console.log(this.list); |
| | | }, |
| | | search() { |
| | | this.queryParams.jybt = this.searchAdv; |
| | | this.queryParams.page = 1; |
| | | // this.queryParams.jybt = this.searchAdv; |
| | | // this.queryParams.page = 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.dataList = res.rows; |
| | | this.total = res.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | radiotjproposalChange() { |
| | | if (this.tjproposal == "0") { |
| | | this.searchAdv = ""; |
| | | this.queryParams.isZj = this.fList.isZj; |
| | | this.queryParams.userId = null; |
| | | // this.queryParams.isZj = this.fList.isZj; |
| | | // this.queryParams.userId = null; |
| | | this.getList(); |
| | | } else { |
| | | this.loading = true; |