| | |
| | | v-show="showSearch" |
| | | label-width="68px" |
| | | > |
| | | <!-- <el-form-item label="编码" prop="bm"> |
| | | <el-input |
| | | v-model="queryParams.bm" |
| | | placeholder="请输入编码" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> --> |
| | | <el-form-item label="科室" prop="ks"> |
| | | <el-input |
| | | v-model="queryParams.ks" |
| | |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | icon="el-icon-download" |
| | | icon="el-icon-upload2" |
| | | size="mini" |
| | | @click="handleImport" |
| | | >导入 |
| | |
| | | <el-table-column label="范围最大值" align="center" prop="fwzdz" /> |
| | | <el-table-column label="异常标志" align="center" prop="ycbz" /> |
| | | <el-table-column label="是否疾病" align="center" prop="sfjb"> |
| | | <!-- <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfjb" /> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column label="是否常见病" align="center" prop="sfcjb"> |
| | | <!-- <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfcjb" /> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column label="是否慢性病" align="center" prop="sfmxb"> |
| | | <!-- <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfmxb" /> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="是否重大疾病" |
| | | align="center" |
| | | width="120" |
| | | prop="sfzdjb" |
| | | > |
| | | <!-- <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfzdjb" /> |
| | | </template> --> |
| | | </el-table-column> |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | |
| | | <el-select |
| | | v-model="form.ks" |
| | | placeholder="请选择科室" |
| | | style="width: 200" |
| | | style="width: 200px" |
| | | @change="idFn" |
| | | > |
| | | <el-option |
| | |
| | | idFn(value) { |
| | | console.log("Selected Value:", value); |
| | | this.departmentOptions.forEach((item) => { |
| | | console.log(this.departmentOptions, 333); |
| | | console.log(item, 555); |
| | | |
| | | if (item.value == value) { |
| | | this.form.ks = item.label; |
| | | } |
| | |
| | | |
| | | /* 弹框确定按钮 */ |
| | | submit() { |
| | | |
| | | this.ChangeList.forEach((item) => { |
| | | this.form.jymc = item.title; |
| | | |
| | |
| | | this.title = "添加体检项目建议规则新表"; |
| | | deptTreeSelect().then((response) => { |
| | | this.departmentOptions = response.data[0].children; |
| | | console.log(response, 999); |
| | | }); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | |
| | | }); |
| | | deptTreeSelect().then((response) => { |
| | | this.departmentOptions = response.data[0].children; |
| | | console.log(response, 999); |
| | | }); |
| | | }, |
| | | |
| | |
| | | }); |
| | | }, |
| | | handleDelete(row) { |
| | | console.log(row,6677); |
| | | |
| | | const pkValue = row.id; // 获取主键值,如果row中没有主键值,则使用this.ids |
| | | const pkValue = row.id || this.ids; // 获取主键值,如果row中没有主键值,则使用this.ids |
| | | this.$modal |
| | | .confirm(`是否确认删除${row.ks}编号为"${pkValue}"的数据项?`) |
| | | .confirm(`是否确认删除"${pkValue}"的数据项?`) |
| | | .then(() => { |
| | | return delAdvicerules(pkValue); // 调用删除接口,传入主键值 |
| | | }) |
| | |
| | | dangerouslyUseHTMLString: true, |
| | | }); |
| | | } |
| | | /* this.ListObj = response.data; |
| | | this.advicerulesList = response.data.list; |
| | | |
| | | this.userList.forEach((item) => { |
| | | this.CompanyList.forEach((item1) => { |
| | | if (item1.drugManufacturerId == this.objs.drugManufacturerId) { |
| | | item.company = item1.cnName; |
| | | } |
| | | }); |
| | | }); */ |
| | | this.upload.open = false; |
| | | this.upload.isUploading = false; |
| | | this.$refs.upload.clearFiles(); |
| | | this.leftList = response.msg; |
| | | console.log(response.code); |
| | | |
| | | /* if (this.leftList == "操作失败") { |
| | | this.isdisabled = true; |
| | | this.$alert( |
| | | "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + |
| | | response.msg + |
| | | "<div style='br;margin:10px'>" + |
| | | response.data[0] + |
| | | "身份证或手机号码有误" + |
| | | "</div>", |
| | | "导入结果", |
| | | { dangerouslyUseHTMLString: true } |
| | | ); |
| | | } else { |
| | | this.isdisabled = false; |
| | | this.$alert( |
| | | "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + |
| | | response.msg, |
| | | { dangerouslyUseHTMLString: true } |
| | | ); |
| | | this.rightList = response; |
| | | } */ |
| | | for (let i = 0; i < fileList.length; i++) { |
| | | if (file.name != fileList[i].name) { |
| | | this.fileList.push({ |