| | |
| | | { |
| | | "path": "pages/home/selectSiteTwo", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "enablePullDownRefresh": false |
| | | "navigationBarTitleText": "区域选择", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | | } |
| | | } |
| | | ], |
| | |
| | | ] |
| | | }, |
| | | |
| | | //居住证 |
| | | //居住证 |
| | | { |
| | | "root": "subPackage/reside", |
| | | "pages": [{ |
| | |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | } else if (path == '/subPackage/workbench/views/cscj') {
|
| | | this.$u.func.globalNavigator(path, "navTo")
|
| | | } else {
|
| | | this.$u.func.globalNavigator(`${path}&houseCode=${this.curHouseCode}`, "navTo")
|
| | | if (this.curHouseCode) {
|
| | | if (path.includes('?')) {
|
| | | this.$u.func.globalNavigator(`${path}&houseCode=${this.curHouseCode}`, "navTo")
|
| | | } else {
|
| | | this.$u.func.globalNavigator(`${path}?houseCode=${this.curHouseCode}`, "navTo")
|
| | | }
|
| | | } else {
|
| | | this.$u.func.globalNavigator(`${path}`, "navTo")
|
| | | }
|
| | | }
|
| | | } else {
|
| | | uni.showToast({
|
| | |
| | | })
|
| | | },
|
| | |
|
| | | //场所任务跳转 |
| | | //场所任务跳转
|
| | | navToSiteList() {
|
| | | let {
|
| | | houseCode
|
| | |
| | |
|
| | | <style lang="scss">
|
| | | @import "./index.scss";
|
| | | </style> |
| | | </style>
|
| | |
| | | } |
| | | }, |
| | | getHouseHoldData() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | | }) |
| | | statisticsModal.getHouseholdStatistics({ |
| | | code: this.chilrenList.join(","), |
| | | roleType: this.getRoleType() |
| | |
| | | this.sexData = data.gender; |
| | | this.setPersonData(data.age) |
| | | this.setSexData(data.gender) |
| | | uni.hideLoading() |
| | | }) |
| | | }, |
| | | |
| | | getHouseLabelData() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | | }) |
| | | statisticsModal.getHouseLabelStatistic({ |
| | | code: this.chilrenList.join(","), |
| | | roleType: this.getRoleType() |
| | |
| | | let data = res.data; |
| | | this.houseLabelData = data; |
| | | this.setHouseLabelData(data) |
| | | uni.hideLoading() |
| | | }) |
| | | }, |
| | | // 设置房屋标签 |
| | |
| | | } else if (i.name.trim() == "居住证申请") { |
| | | i.count = data.jzzsq; |
| | | } else if (i.name.trim() == "从业人员审核") { |
| | | i.count = data.cssh; |
| | | i.count = data.cyrysh; |
| | | } else if (i.name.trim() == "无诈申请") { |
| | | i.count = data.wztj; |
| | | } else if (i.name.trim() == "校园安全隐患排查") { |
| | |
| | | // 过滤掉待完善状态的
|
| | | const isApp = 1;
|
| | | let res = ""
|
| | | if (this.type == 2) {
|
| | | res = await getSiteMaintenanceData({
|
| | | ...params,
|
| | | roleName,
|
| | | isApp,
|
| | | ...this.pagingParams
|
| | | })
|
| | | } else {
|
| | | if (this.type == 1) {
|
| | | res = await getPlacePractitionerPage({
|
| | | ...params,
|
| | | roleName,
|
| | | isApp,
|
| | | ...this.pagingParams
|
| | | })
|
| | | } else {
|
| | | res = await getSiteMaintenanceData({
|
| | | ...params,
|
| | | roleName,
|
| | | isApp,
|
| | | ...this.pagingParams
|
| | | })
|
| | | }
|
| | | console.log(res);
|
| | | // console.log(res);
|
| | | const {
|
| | | code,
|
| | | data: {
|