| | |
| | | // span: 5, |
| | | // }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | searchLabelWidth: 80, |
| | | search: true, |
| | | searchSpan: 4, |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: "省份", |
| | | hide: true, |
| | | prop: "province", |
| | | // search: true, |
| | | width: 100, |
| | |
| | | }, |
| | | { |
| | | label: "地市", |
| | | hide: true, |
| | | prop: "city", |
| | | type: "select", |
| | | width: 100, |
| | |
| | | }, |
| | | { |
| | | label: "区县", |
| | | hide: true, |
| | | searchSpan: 2, |
| | | searchLabelWidth: 1, |
| | | width: 100, |
| | |
| | | label: "任务状态", |
| | | prop: "rtype", |
| | | type: "select", |
| | | span: 6, |
| | | value: "2", |
| | | dicData: [ |
| | | { |
| | |
| | | // props: { |
| | | // label: "title", |
| | | // }, |
| | | span: 6, |
| | | width: 72, |
| | | // hide: true, |
| | | minRows: 1, |
| | |
| | | // props: { |
| | | // label: "title", |
| | | // }, |
| | | span: 6, |
| | | width: 72, |
| | | // hide: true, |
| | | minRows: 1, |
| | |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | hide: true, |
| | | searchLabelWidth: 80, |
| | | search: true, |
| | | searchSpan: 4, |
| | | overHidden: true, |
| | | span: 9, |
| | | width: 72, |
| | | parent: false, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | slot: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | // { |
| | | // label: "巡逻路线", |
| | |
| | | label: "请在下方地图中,建立路径!", |
| | | labelWidth: "0", |
| | | className: "mapClass", |
| | | span: 8, |
| | | prop: "haveMap", |
| | | hide: true, |
| | | display: true, |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | getList(page.currentPage, page.pageSize).then((res) => { |
| | | getList(page.currentPage, page.pageSize,params).then((res) => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | |
| | |
| | | calcHeight: 54, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchMenuSpan: 4, |
| | | border: true, |
| | | index: true, |
| | | selection: true, |
| | |
| | | label: "登录账号", |
| | | prop: "account", |
| | | search: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | }, |
| | | { |
| | |
| | | label: "用户姓名", |
| | | prop: "realName", |
| | | search: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | search: true, |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | searchLabelWidth: 80, |
| | | searchSpan: 4, |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | display: false, |
| | | }, |
| | | { |
| | |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "用户平台", |
| | |
| | | { |
| | | label: "用户平台", |
| | | type: "select", |
| | | searchSpan: 5, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | |
| | | ], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: "登录账号", |
| | | prop: "account", |
| | | rules: [ |