| | |
| | | export default { |
| | | props: ["card"], |
| | | data() { |
| | | var jurisdiction = |
| | | this.card.jurisdiction == "1372091709474910209" |
| | | ? "1372091709474910209" |
| | | : this.card.jurisdiction; |
| | | var dicUrl = |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | search = true; |
| | | if (this.card.jurisdiction != "") { |
| | | dicUrl = |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697&jurisdiction=" + |
| | | this.card.jurisdiction; |
| | | } else if (this.card.jurisdiction == 1372091709474910209) { |
| | | // a = ""; |
| | | } |
| | | if (this.card.deptId != "") { |
| | | search = false; |
| | | } |
| | | return { |
| | | securityid1: "", |
| | | ExperienceVisible: false, |
| | |
| | | prop: "deptName", |
| | | type: "tree", |
| | | overHidden: true, |
| | | dicUrl: |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | dicUrl: dicUrl, |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | |
| | | labelWidth: 118, |
| | | width: 230, |
| | | searchLabelWidth: 80, |
| | | search: true, |
| | | search: search, |
| | | searchSpan: 4, |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | |
| | | prop: "jurisdiction", |
| | | hide: true, |
| | | searchLabelWidth: 80, |
| | | search: true, |
| | | search: search, |
| | | searchSpan: 4, |
| | | overHidden: true, |
| | | labelWidth: 118, |
| | |
| | | return ""; |
| | | }, |
| | | getPractitionersPageInfo(page, params = {}) { |
| | | // this.card.jurisdiction = "130"; |
| | | // this.card.this.card = "1425365571343515649"; |
| | | // if (params.hold == undefined) { |
| | | // params.hold = 1; |
| | | // } |
| | | if (this.card.jurisdiction != "" || this.card.jurisdiction != undefined) { |
| | | if (this.query1.deptId != "" || this.query1.deptId != undefined) { |
| | | this.card.deptId = this.query1.deptId; |
| | | } |
| | | this.option1.column[2].search = true; |
| | | } else { |
| | | this.option1.column[2].search = false; |
| | | } |
| | | if (this.card.jurisdiction == 1372091709474910209) { |
| | | this.card.jurisdiction = ""; |
| | | } |
| | |
| | | if (releaseTimeRange) { |
| | | params = { |
| | | ...params, |
| | | ...this.card, |
| | | beginTime: releaseTimeRange[0], |
| | | overTime: releaseTimeRange[1], |
| | | status: 1, |
| | | ...this.query1, |
| | | ...this.card, |
| | | }; |
| | | // values.releaseTimeRange = null; |
| | | } else { |
| | | params = { |
| | | ...params, |
| | | ...this.card, |
| | | ...this.query1, |
| | | status: 1, |
| | | ...this.card, |
| | | }; |
| | | } |
| | | console.log(params); |
| | | // console.log(params); |
| | | getdata(page.currentPage, page.pageSize, params).then((res) => { |
| | | // console.log(res.data.data.records); |
| | | const data = res.data.data; |