| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | <!-- <el-form-item |
| | | label="点位编码" |
| | | v-if=" |
| | | isTongdeCampus && (serviceType == 6 || serviceType == 14) |
| | | " |
| | | > |
| | | <el-input |
| | | style="width: 220px" |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | placeholder="请输入点位编码" |
| | | /> |
| | | </el-form-item> |
| | | style="width: 220px" |
| | | clearable |
| | | filterable |
| | | placeholder="请选择点位" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item label="服务形式"> |
| | | <SortCheckbox |
| | |
| | | >药品关联</el-radio |
| | | > |
| | | <el-radio label="5">任务组</el-radio> |
| | | <el-radio label="7" v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">点位关联</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <!-- 点位关联 --> |
| | | <el-row v-if="form.appltype == 7"> |
| | | <el-form-item label="关联点位" prop="pointLocation"> |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | style="width: 400px" |
| | | clearable |
| | | filterable |
| | | placeholder="请选择点位" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | | <!-- 药品关联 --> |
| | | <el-row v-if="form.appltype == 6"> |
| | |
| | | } from "@/api/AiCentre/index"; |
| | | import { listMedication } from "@/api/knowledge/drug"; |
| | | import { getIvrtask } from "@/api/smartor/ivrtask"; |
| | | import { deptTreeSelect } from "@/api/system/user"; |
| | | import OptionalForm from "@/components/OptionalForm"; |
| | | import SFtable from "@/components/SFtable"; |
| | | import SortCheckbox from "@/components/SortCheckbox"; |
| | |
| | | queryParamsdept: {}, |
| | | quote: false, |
| | | serviceType: null, |
| | | // 可选点位(同德院区,deptType=3) |
| | | pointOptions: [], |
| | | // 再次随访关联任务(缙云县人民医院) |
| | | nextTaskDialogVisible: false, |
| | | nextTaskLoading: false, |
| | |
| | | this.getillnesslist(); |
| | | this.Getdetails(); |
| | | this.getQtemplateclassify(); |
| | | this.getPointOptions(); |
| | | }, |
| | | activated() { |
| | | if (this.id != this.$route.query.id) { |
| | |
| | | }, |
| | | |
| | | // ---------- 数据加载 ---------- |
| | | getPointOptions() { |
| | | // 仅同德院区:点位下拉(deptType=3) |
| | | if (!this.isTongdeCampus) return; |
| | | deptTreeSelect(3).then((response) => { |
| | | const flat = []; |
| | | const walk = (nodes) => { |
| | | (Array.isArray(nodes) ? nodes : []).forEach((n) => { |
| | | if (n.label && n.deptCode) { |
| | | flat.push({ label: n.label, value: String(n.deptCode) }); |
| | | } |
| | | if (n.children && n.children.length) walk(n.children); |
| | | }); |
| | | }; |
| | | walk(response && response.data); |
| | | this.pointOptions = flat; |
| | | }); |
| | | }, |
| | | Acquisitiontype() { |
| | | let queryParams = { |
| | | pageNum: this.topqueryParams.pageNum, |
| | |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.form.oplevelcode = null; |
| | | } else if (this.form.appltype == 7) { |
| | | this.deptcodesWards = []; |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.form.oplevelcode = null; |
| | | this.medicalCodes = []; |
| | | } |
| | | |
| | | // 服务形式校验 |
| | |
| | | this.diagglist[0] || |
| | | this.form.oplevelcode || |
| | | this.medicalCodes[0] || |
| | | this.form.pointLocation || |
| | | this.form.longTask == 2 || |
| | | this.serviceType == 3 || |
| | | this.form.appltype == 5; |