| | |
| | | ref="inputName" |
| | | v-model="queryParams.name" |
| | | placeholder="请输入姓名" |
| | | style="width: 120px" |
| | | style="width: 200px" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | |
| | | ref="inputName" |
| | | v-model="queryParams.tjNum" |
| | | placeholder="请输入体检号" |
| | | style="width: 170px" |
| | | style="width: 200px" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="hb" |
| | |
| | | ref="inputName" |
| | | v-model="queryParams.xmmc" |
| | | placeholder="请输入体检项目" |
| | | style="width: 120px" |
| | | style="width: 300px" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="单位名称" |
| | | prop="tjCompName" |
| | | style="margin-left: 20px" |
| | | > |
| | | <el-select |
| | | :remote-method="getRemoteData" |
| | | v-model="queryParams.tjCompName" |
| | | value-key="drugManufacturerId" |
| | | style="width: 300px" |
| | | remote |
| | | filterable |
| | | placeholder="请选择单位名称" |
| | | clearable |
| | | @change="searchSelect" |
| | | |
| | | > |
| | | <el-option |
| | | v-for="dict in CompanyList" |
| | | :key="dict.drugManufacturerId" |
| | | :label="dict.cnName" |
| | | :value="dict" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList"> |
| | | <el-date-picker |
| | |
| | | :show-overflow-tooltip="true" |
| | | width="160px" |
| | | /> |
| | | <el-table-column |
| | | label="单位名称" |
| | | align="center" |
| | | prop="dictCompName" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="状态" |
| | | align="center" |
| | | prop="tjtype" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <!-- <el-table-column label="流水号" align="center" prop="tjSerialNumber" /> --> |
| | | <el-table-column |
| | | label="所选套餐" |
| | |
| | | :formatter="driver" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="导诊打印次数" |
| | | align="center" |
| | | prop="dycs" |
| | | width="110px" |
| | | :formatter="driver" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.dycs === null ? 0 : scope.row.dycs }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="登记时间" |
| | | align="center" |
| | |
| | | </el-table-column> |
| | | <!-- <el-table-column label="创建人" align="center" prop="createBy" /> --> |
| | | <!-- <el-table-column label="更新人" align="center" prop="updateBy" /> --> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="单位工号" |
| | | align="center" |
| | | prop="firmWorkId" |
| | | width="100px" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="单位名称" |
| | | align="center" |
| | | prop="dictCompName" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | /> --> |
| | | |
| | | <!-- <el-table-column label="部门名" align="center" prop="firmDeptName" /> --> |
| | | |
| | | <!-- <el-table-column label="客户照片" align="center" prop="photo" /> --> |
| | |
| | | <template> |
| | | <el-form :model="form"> |
| | | <el-form-item label="体检类型" prop="tjType"> |
| | | <el-radio-group v-model="form.tjType"> |
| | | <div class="type"> |
| | | {{ { 1: "团队", 2: "个人", 3: "团体票" }[form.tjType] }} |
| | | </div> |
| | | |
| | | <!-- <el-radio-group v-model="form.tjType"> |
| | | <el-radio :label="1">团队</el-radio> |
| | | <el-radio :label="2">个人</el-radio> |
| | | </el-radio-group> |
| | | </el-radio-group> --> |
| | | </el-form-item> |
| | | </el-form> |
| | | </template> |
| | |
| | | style="width: 120px" |
| | | v-model="payType" |
| | | placeholder="请选择付款类型" |
| | | @change="onPayTypeChange" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.dict_pay_type" |
| | |
| | | </div> |
| | | |
| | | <div class="heji"> |
| | | <template> |
| | | <el-form :model="form" :inline="true"> |
| | | <div class="o"> |
| | | <el-form |
| | | :model="form" |
| | | :inline="true" |
| | | style="display: flex; align-items: center" |
| | | > |
| | | <el-form-item label="体检类型" prop="tjType"> |
| | | <el-radio-group v-model="form.tjType"> |
| | | <el-radio :label="1">团队</el-radio> |
| | | <el-radio :label="2">个人</el-radio> |
| | | </el-radio-group> |
| | | <div class="type"> |
| | | {{ { 1: "团队", 2: "个人", 3: "团体票" }[form.tjType] }} |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | </template> |
| | | </div> |
| | | |
| | | <div class="outsides"> |
| | | <el-form :inline="true" class="outside2" label-width="80px"> |
| | |
| | | style="width: 120px" |
| | | v-model="payType" |
| | | placeholder="请选择付款类型" |
| | | @change="onPayTypeChange" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.dict_pay_type" |
| | |
| | | getProParentIdDxList, |
| | | getProSonDxList, |
| | | } from "@/api/system/tijian"; |
| | | import { |
| | | SubmitCompany, |
| | | getCompany, |
| | | queryCompany, |
| | | addbatch, |
| | | } from "@/api/team/tuanti"; |
| | | import { createLogger } from "vuex"; |
| | | export default { |
| | | components: { |
| | |
| | | DataLists: [], |
| | | infoList: [], |
| | | bldhs: [], |
| | | CompanyList: [], |
| | | filterage: "", |
| | | activeName1: "second", |
| | | filterText: "", |
| | |
| | | TotalPrice7: 0, |
| | | numberList: [], |
| | | dialogVisible: false, |
| | | CheckBox: {}, |
| | | // 遮罩层 |
| | | loading: true, |
| | | // 选中数组 |
| | |
| | | bgbeginTime: null, |
| | | bgendTime: null, |
| | | xmmc: null, |
| | | tjCompName:'', |
| | | dw:null |
| | | }, |
| | | startTime: "", |
| | | startTime1: "", |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | |
| | | watch: { |
| | | filterText(val) { |
| | | this.$refs.tree.filter(val); |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | // 搜索 |
| | | getRemoteData(query) { |
| | | if (query) { |
| | | let compName = query; |
| | | queryCompany(compName).then((response) => { |
| | | this.CompanyList = response.data; |
| | | this.CompanyList.forEach((item) => { |
| | | this.queryParams = item; |
| | | }); |
| | | }); |
| | | } |
| | | }, |
| | | // 选框数据 |
| | | searchSelect(val) { |
| | | this.CheckBox = val; |
| | | console.log(this.CheckBox,9999); |
| | | |
| | | }, |
| | | onPayTypeChange() { |
| | | if (this.payType === "6" && this.form.tjType !== 3) { |
| | | this.cannotSelectPayType = true; |
| | | this.$message.warning("该付款类型在此体检类型下不允许选择!"); |
| | | this.payType = this.dict.type.dict_pay_type[0]?.value || null; |
| | | } else { |
| | | this.cannotSelectPayType = false; |
| | | } |
| | | }, |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | if (res.data) { |
| | |
| | | }, |
| | | /** 查询体检记录列表 */ |
| | | getList() { |
| | | this.queryParams.compId = this.CheckBox.drugManufacturerId; |
| | | this.queryParams.dw = this.CheckBox.cnName; |
| | | if (this.startTime) { |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | this.queryParams.djendTime = this.startTime[1]; |
| | |
| | | }); |
| | | } |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | }); |
| | | // 获取单位信息集合 |
| | | getCompany(this.queryParams).then((response) => { |
| | | this.CompanyList = response.data; |
| | | console.log( this.CompanyList,555); |
| | | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | }) |
| | | .then(() => { |
| | | revokeTjOrderByTjNum(this.tjnumbers).then((res) => { |
| | | this.$modal.msgSuccess(res.msg); |
| | | this.$modal.msgSuccess("撤销成功"); |
| | | this.getList(); |
| | | }); |
| | | }) |
| | |
| | | djendTime: null, |
| | | bgbeginTime: null, |
| | | bgendTime: null, |
| | | dw: null |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | this.cusSex = item.tjCustomerSex; |
| | | this.form.tjType = parseInt(item.tjType); |
| | | }); |
| | | |
| | | this.ids = selection.map((item) => item.orderId); |
| | | // this.tjNumbers = selection.map((item) => item.tjNumber); |
| | | this.single = selection.length !== 1; |
| | |
| | | const jxbz = this.bldhid; |
| | | // const params = { viewNum, tjNumber, jxbz }; |
| | | // console.log(params); |
| | | getInfo() |
| | | .then((res) => { |
| | | console.log(res, 1111); |
| | | const dqdlr = res.user.userId; // 获取 userId |
| | | const params = { viewNum, tjNumber, jxbz, dqdlr }; |
| | | |
| | | hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage( |
| | | "导诊单", |
| | | "/report/budabreDailyReport", |
| | | params |
| | | ); |
| | | this.budadaozhen = false; |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }) |
| | | getInfo().then((res) => { |
| | | console.log(res, 1111); |
| | | const dqdlr = res.user.userId; // 获取 userId |
| | | const params = { viewNum, tjNumber, jxbz, dqdlr }; |
| | | |
| | | hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage("导诊单", "/report/budabreDailyReport", params); |
| | | this.budadaozhen = false; |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }); |
| | | /* hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage("导诊单", "/report/budabreDailyReport", params); |
| | |
| | | |
| | | // 补录项目 |
| | | handleProject(row) { |
| | | this.payType = "0"; |
| | | this.loading = true; |
| | | this.DataList = []; |
| | | this.DataList3 = []; |
| | |
| | | }, |
| | | // 补录项目 |
| | | handleProject1() { |
| | | this.payType = "0"; |
| | | this.loading = true; |
| | | this.DataList = []; |
| | | this.DataList3 = []; |
| | |
| | | // .el-dialog__body { |
| | | // padding: 20px; |
| | | // } |
| | | |
| | | .o { |
| | | margin-top: 8px; |
| | | } |
| | | .outside { |
| | | width: 500px; |
| | | display: flex; |
| | |
| | | width: 500px; |
| | | display: flex; |
| | | // margin-top: 12px; |
| | | // margin-right: 40%; |
| | | } |
| | | |
| | | .tab3 { |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | </style> |