| | |
| | | v-show="showSearch" |
| | | label-width="68px" |
| | | > |
| | | <el-form-item label="套餐名称" prop="zhmc"> |
| | | <el-form-item label="组合名称" prop="zhmc"> |
| | | <el-input |
| | | v-model="queryParams.zhmc" |
| | | placeholder="请输入套餐名称" |
| | | placeholder="请输入组合名称" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | |
| | | > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column |
| | | label="套餐名称" |
| | | label="组合名称" |
| | | align="center" |
| | | prop="zhmc" |
| | | width="150px" |
| | |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 修改体检套餐对话框 --> |
| | | <!-- 修改体检组合对话框 --> |
| | | <el-dialog |
| | | :title="title" |
| | | :visible.sync="open" |
| | |
| | | > |
| | | <!-- <div class="dialo"> |
| | | <div class="dialo1"> --> |
| | | <el-form-item label="套餐名称" prop="zhmc"> |
| | | <el-form-item label="组合名称" prop="zhmc"> |
| | | <span |
| | | slot="label" |
| | | style="display: inline-block; border-bottom: 2px solid blue" |
| | | @click="handlePackage" |
| | | > |
| | | 套餐名称 |
| | | 组合名称 |
| | | </span> |
| | | <el-input |
| | | v-model="form.zhmc" |
| | | placeholder="请输入套餐名称" |
| | | placeholder="请输入组合名称" |
| | | style="width: 150px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | showSearch: true, |
| | | // 总条数 |
| | | total: 0, |
| | | // 体检套餐表格数据 |
| | | // 体检组合表格数据 |
| | | packageList: [], |
| | | // 套餐选中的父项 |
| | | // 组合选中的父项 |
| | | allpackageList: [], |
| | | // 已选 |
| | | newproName: [], |
| | | // 所有体检项目· |
| | | allList: [], |
| | | treeList: [], |
| | | // 所有套餐数据 |
| | | // 所有组合数据 |
| | | // allpackage:[], |
| | | // 弹出层标题 |
| | | title: "", |
| | |
| | | return data.proEngName.indexOf(value) !== -1; |
| | | } |
| | | }, |
| | | /** 查询体检套餐列表 */ |
| | | /** 查询体检组合列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | getZhList(this.queryParams).then((response) => { |
| | |
| | | handlePackage() { |
| | | this.$refs.aaa.open = true; |
| | | this.$refs.aaa.getList(); |
| | | this.$refs.aaa.title = "套餐字典"; |
| | | this.$refs.aaa.title = "组合字典"; |
| | | }, |
| | | handleChanges(param1) { |
| | | this.form.pacName = param1[0].pacName; |
| | |
| | | handleAdd() { |
| | | this.reset(); |
| | | this.open = true; |
| | | this.title = "体检套餐信息维护"; |
| | | this.title = "体检组合信息维护"; |
| | | this.DataList = []; |
| | | this.checkedkey = []; |
| | | this.checkedListkey = []; |
| | |
| | | }, |
| | | |
| | | handleUp() { |
| | | this.title = "体检套餐信息维护"; |
| | | this.title = "体检组合信息维护"; |
| | | this.open = true; |
| | | // getPacTjProjectList().then((response) => { |
| | | // this.allList = response.data; |
| | |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | this.title = "体检套餐信息维护"; |
| | | this.title = "体检组合信息维护"; |
| | | this.open = true; |
| | | this.form = row; |
| | | this.DataList = []; |
| | |
| | | } |
| | | }); |
| | | } else { |
| | | Message.warning("请先填写套餐名称"); |
| | | Message.warning("请先填写组合名称"); |
| | | } |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const pacIds = row.id || this.ids; |
| | | this.$modal |
| | | .confirm('是否确认删除体检套餐编号为"' + pacIds + '"的数据项?') |
| | | .confirm('是否确认删除体检组合编号为"' + pacIds + '"的数据项?') |
| | | .then(function () { |
| | | return delzhxm(pacIds); |
| | | }) |
| | |
| | | .catch(() => {}); |
| | | }, |
| | | |
| | | /** 分配套餐内项目操作 */ |
| | | /** 分配组合内项目操作 */ |
| | | handleProject: function (row) { |
| | | const pacId = row.pacId; |
| | | this.$router.push("/system/user-auth/role/" + pacId); |
| | |
| | | `package_${new Date().getTime()}.xlsx` |
| | | ); |
| | | }, |
| | | // 套餐详情 |
| | | // 组合详情 |
| | | // handleSeach(row) { |
| | | // this.Seachopen = true; |
| | | // this.loading = true; |