| | |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNum"> |
| | | <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" style="width: 170px" clearable |
| | | @keyup.enter.native="handleQuery" @blur="handleQuery" /> |
| | | @keyup.enter.native="handleQuery" @blur="hb" /> |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList"> |
| | | <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.tjCustomerSex == '0'">男</span> |
| | | <span v-if="scope.row.tjCustomerSex == '1'">女</span> |
| | | <span v-if="scope.row.tjCustomerSex == '2'">未知</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" /> |
| | |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="6"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top:10px">项目列表</div> |
| | | <el-input placeholder="输入关键字进行过滤" v-model="filterText"> |
| | | </el-input> |
| | | <div class="tab3"> |
| | | <div class="outside1"> |
| | | <el-tree :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked"> |
| | | <el-tree v-loading="loading" :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked" :filter-node-method="filterNode" ref="tree"> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 添加补录项目 --> |
| | | <el-dialog :title="title" :visible.sync="Projectopen1" width="980px" style="height: 860px" append-to-body> |
| | | <el-dialog :title="title" :visible.sync="Projectopen1" width="1200px" style="height: 860px" append-to-body> |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="6"> |
| | | <el-col :span="8"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top:10px">项目列表</div> |
| | | <el-input placeholder="输入关键字进行过滤" v-model="filterText"> |
| | | </el-input> |
| | | <div class="tab3"> |
| | | <div class="outside1"> |
| | | <el-tree :data="Treedata" show-checkbox node-key="proId" :props="defaultProps" |
| | | @check-change="handleCurrentChecked"> |
| | | |
| | | <el-tree class="filter-tree" v-loading="loading" :data="Treedata" show-checkbox node-key="proId" |
| | | :props="defaultProps" @check-change="handleCurrentChecked" :filter-node-method="filterNode" ref="tree"> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="18"> |
| | | <el-col :span="15"> |
| | | <div class="grid-content bg-purple"> |
| | | <template> |
| | | <el-form :model="form"> |
| | |
| | | name: "Order", |
| | | data() { |
| | | return { |
| | | filterText: '', |
| | | orderIds: "", |
| | | tjnumbers: "", |
| | | cusIds: "", |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | watch: { |
| | | filterText(val) { |
| | | this.$refs.tree.filter(val); |
| | | } |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.proName.indexOf(value) !== -1; |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date(new Date().setHours(0, 0, 0, 0)).getTime(); |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | |
| | | // 补录项目 |
| | | handleProject(row) { |
| | | this.loading = true; |
| | | this.orderId = row.orderId; |
| | | this.cusId = row.tjCusIdCard; |
| | | this.userId = row.userId; |
| | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data.list; |
| | | this.loading = false; |
| | | }); |
| | | this.Projectopen = true; |
| | | this.title = "补录项目"; |
| | | }, |
| | | // 补录项目 |
| | | handleProject1(row) { |
| | | this.loading = true; |
| | | this.orderId = this.ids; |
| | | this.cusId = this.cusIds; |
| | | this.userId = this.userIds; |
| | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data.list; |
| | | this.loading = false; |
| | | }); |
| | | this.Projectopen1 = true; |
| | | this.title = "补录项目"; |
| | |
| | | // } |
| | | this.TotalPrice1 = 0; |
| | | this.proIds = []; |
| | | console.log(this.DataList) |
| | | if (this.DataList.length != 0) { |
| | | this.list1 = false; |
| | | this.DataList.forEach((item) => { |
| | |
| | | item.tjProjectList.forEach(item1 => { |
| | | this.proIds.push(item1.proId); |
| | | }) |
| | | |
| | | |
| | | }); |
| | | } |
| | | }, |
| | |
| | | margin-top: 8px; |
| | | } |
| | | |
| | | .tab3 { |
| | | max-height: 500px; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .outside1 { |
| | | width: 700px; |
| | | display: flex; |