| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :span="12" |
| | | ><el-form-item label="开场白" prop="revisitBefore"> |
| | |
| | | this.tempDetpRelevanceslist = []; |
| | | this.tempbelongWards = []; |
| | | |
| | | if (this.id) { |
| | | depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | if (res.code == 200) { |
| | | let arr = res.rows; |
| | | console.log(arr, "arr"); |
| | | // if (this.id) { |
| | | // depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | // if (res.code == 200) { |
| | | // let arr = res.rows; |
| | | // console.log(arr, "arr"); |
| | | |
| | | arr.forEach((item) => { |
| | | if (item.deptType == 1) { |
| | | console.log(this.deptlist, "11"); |
| | | this.deptlist.push(item); |
| | | console.log("22"); |
| | | this.tempDetpRelevanceslist.push(item.deptCode); |
| | | } else if (item.deptType == 2) { |
| | | this.hosplist.push(item); |
| | | this.tempbelongWards.push(item.deptCode); |
| | | console.log("33"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | // arr.forEach((item) => { |
| | | // if (item.deptType == 1) { |
| | | // console.log(this.deptlist, "11"); |
| | | // this.deptlist.push(item); |
| | | // console.log("22"); |
| | | // this.tempDetpRelevanceslist.push(item.deptCode); |
| | | // } else if (item.deptType == 2) { |
| | | // this.hosplist.push(item); |
| | | // this.tempbelongWards.push(item.deptCode); |
| | | // console.log("33"); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // } |
| | | |
| | | // 疾病 |
| | | getillnesslist({ |