| | |
| | | <el-tab-pane label="单项"> |
| | | <div class="tab3"> |
| | | <div class="tab2"> |
| | | <el-tree :data="data" show-checkbox node-key="proId" :props="defaultProps" |
| | | <v-tree-transfer :treeData="treedataList" |
| | | :defaultProps="{ children: 'tjProjectList', label: 'proName' }" :defaultKeys="defaultKeys" |
| | | @changeKeys="changeCategoryKeys" :key="datekey"></v-tree-transfer> |
| | | <!-- <el-tree :data="data" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked"> |
| | | </el-tree> |
| | | </el-tree>--> |
| | | </div> |
| | | </div> |
| | | </el-tab-pane> |
| | |
| | | <el-form-item label="卡号" prop="indexCard"> |
| | | <el-input v-model="formIn.indexCard" placeholder="请输入卡号" style="width: 190px" /> |
| | | </el-form-item> |
| | | <el-button type="primary" @click="taocan = true" size="mini">选择套餐</el-button> |
| | | <el-button type="primary" @click="Package" size="mini">选择套餐</el-button> |
| | | </el-form> |
| | | </div> |
| | | |
| | |
| | | import { deptTreeSelect, projectGetList, getPackageListName, getaddtTransition, getTransitionList, } from "@/api/system/tijian"; |
| | | import { getCompany, queryCompany } from "@/api/team/tuanti"; |
| | | import user from "@/store/modules/user"; |
| | | import VTreeTransfer from '../../system/tijian/TreeTransfer.vue' |
| | | export default { |
| | | components: { |
| | | VTreeTransfer |
| | | }, |
| | | name: "Reservation", |
| | | dicts: ["dict_user_national", "dict_user_national", "dict_user_marry", "sys_yes_no", |
| | | "sys_user_sex", "dict_team", "tj_time_region", "dict_tjtype", "dict_job", |
| | |
| | | }, |
| | | }, |
| | | taocan: false, |
| | | defaultKeys: [], |
| | | value1: "", |
| | | pacName: "", |
| | | hides: false, |
| | |
| | | thisCancas: null, |
| | | thisContext: null, |
| | | thisVideo: null, |
| | | datekey: Date.now(), |
| | | treedataList: [], |
| | | list: [], |
| | | activeName: "1", |
| | | // 遮罩层 |
| | |
| | | // response.rows.forEach((item, index) => |
| | | // {item.newID =(this.queryParams.pageNum - 1) * this.queryParams.pageSize +index +1; |
| | | // }); |
| | | this.reservationList.forEach((item) => { |
| | | if (item.tjType === "2") { |
| | | item.tjType = "个人"; |
| | | } else { |
| | | item.tjType = "团队"; |
| | | } |
| | | if (item.tjCategory === "01") { |
| | | item.tjCategory = "健康体检"; |
| | | } else if (item.tjCategory === "02") { |
| | | item.tjCategory = "职业病体检"; |
| | | } else if (item.tjCategory === "03") { |
| | | item.tjCategory = "公卫体检"; |
| | | } else if (item.tjCategory === "04") { |
| | | item.tjCategory = "入职体检"; |
| | | } else if (item.tjCategory === "05") { |
| | | item.tjCategory = "公务员体检"; |
| | | } else if (item.tjCategory === "06") { |
| | | item.tjCategory = "医保体检"; |
| | | } else if (item.tjCategory === "07") { |
| | | item.tjCategory = "婚检"; |
| | | } else if (item.tjCategory === "09") { |
| | | item.tjCategory = "出入境体检"; |
| | | } |
| | | }); |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | |
| | | |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | console.log(row) |
| | | this.title = "修改体检预约"; |
| | | this.formIn = row; |
| | | if (this.formIn.timeRegion === 0) { |
| | |
| | | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.data = response.data.list; |
| | | this.dXData = response.data; |
| | | this.treedataList = response.data.list; |
| | | this.dXData = response.data.list; |
| | | return; |
| | | }); |
| | | } else { |
| | | this.$message.warning("已过期请重新预约"); |
| | | } |
| | | }, |
| | | changeCategoryKeys(val) { |
| | | this.proIds = []; |
| | | this.proIds = val |
| | | }, |
| | | /** 修改详细按钮操作 */ |
| | | handleUpdate1(row) { |
| | |
| | | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.data = response.data.list; |
| | | this.dXData = response.data; |
| | | this.treedataList = response.data.list; |
| | | this.dXData = response.data.list; |
| | | return; |
| | | }); |
| | | }, |
| | |
| | | numberChange(currentValue, oldValue) { |
| | | this.discount = currentValue; |
| | | this.TotalPrice = (this.TotalPrice1 * (this.discount / 10)).toFixed(2); |
| | | }, |
| | | |
| | | Package() { |
| | | this.taocan = true; |
| | | this.datekey = Date.now() |
| | | }, |
| | | |
| | | /** 搜索操作 */ |
| | |
| | | this.multiple = !selection.length; |
| | | if (selection[0]) { |
| | | this.DataList = []; |
| | | this.data = JSON.parse(JSON.stringify(this.dXData)); |
| | | this.treedataList = JSON.parse(JSON.stringify(this.dXData)); |
| | | selection[0].tjProjectList.forEach((selectionitem) => { |
| | | this.data.forEach((item) => { |
| | | this.treedataList.forEach((item) => { |
| | | if (selectionitem.proName == item.proName) { |
| | | item.disabled = true; |
| | | item.tjProjectList = []; |
| | |
| | | }); |
| | | }); |
| | | } else { |
| | | this.data = JSON.parse(JSON.stringify(this.dXData)); |
| | | this.treedataList = JSON.parse(JSON.stringify(this.dXData)); |
| | | return; |
| | | } |
| | | }, |