| | |
| | | { |
| | | "path": "views/report", |
| | | "style": { |
| | | "navigationBarTitleText": "报事报修", |
| | | "navigationBarTitleText": "保修报事", |
| | | "enablePullDownRefresh": false, |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | |
| | | <text class="f-32 fw">我的任务</text>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class="row flex j-c-s-b">
|
| | | <view class="row-item flex_base" @click="navigatorPage(`/subPackage/workbench/views/audit?type=1`)">
|
| | | <u-icon name="/static/icon/nav-07.png" width="90rpx" height="90rpx"></u-icon>
|
| | |
| | | this.info.type = option.type
|
| | | },
|
| | | onShow() {
|
| | | this.curSelectSite = uni.getStorageSync('siteInfo')
|
| | | this.info.addressCode = this.curSelectSite.id
|
| | | this.curSelectSite = uni.getStorageSync('curSelectSite')
|
| | | this.info.addressCode = this.curSelectSite.id |
| | | console.log(this.curSelectSite);
|
| | | },
|
| | | methods: {
|
| | |
| | | }, |
| | | onShow() { |
| | | this.getStatistics() |
| | | this.curSelectSite = uni.getStorageSync('siteInfo') |
| | | this.curSelectSite = uni.getStorageSync('curSelectSite') |
| | | console.log(this.curSelectSite); |
| | | }, |
| | | |
| | |
| | | <view class="h0 flex-1 build-list-box content">
|
| | | <u-collapse :border="false">
|
| | | <u-collapse-item v-show="isShowBuild" style="border: none;" :name="index"
|
| | | v-for="(item, index) in buildingList" :key="index">
|
| | | <!-- :title="item.unitName" -->
|
| | | <view slot="title" class="flex">
|
| | | <u-icon name="/static/icon/group.png" size="16"></u-icon>
|
| | | <view style="margin-left: 17rpx;">{{ item.unitName }}</view>
|
| | | v-for="(item, index) in buildingList" :key="index"> |
| | | <!-- :title="item.unitName" --> |
| | | <view slot="title" class="flex"> |
| | | <u-icon name="/static/icon/group.png" size="16"></u-icon> |
| | | <view style="margin-left: 17rpx;">{{ item.unitName }}</view> |
| | | </view>
|
| | | <view class="flex floor-content" v-for="(cItem, cIndex) in item.children" :key="cIndex">
|
| | | <view class="floor-num-box flex a-i-c j-c-c">
|
| | |
| | | </view>
|
| | | </u-collapse-item>
|
| | | <u-collapse-item class="sp-list" v-show="isShowShop" style="border: none;">
|
| | | <view slot="title" class="flex">
|
| | | <u-icon name="/static/icon/group.png" size="16"></u-icon>
|
| | | <view style="margin-left: 17rpx;">商铺</view>
|
| | | </view>
|
| | | <view slot="title" class="flex"> |
| | | <u-icon name="/static/icon/group.png" size="16"></u-icon> |
| | | <view style="margin-left: 17rpx;">商铺</view> |
| | | </view> |
| | | <view class="house-list-box flex" v-for="(item, index) in shopList" :name="index" :key="index"
|
| | | @click.native="pushShopPage(item)">
|
| | | <view class="l">
|
| | |
| | | },
|
| | | onShow() {
|
| | | this.getBuildingList()
|
| | | this.curSelectSite = uni.getStorageSync('siteInfo')
|
| | | this.curSelectSite = uni.getStorageSync('curSelectSite')
|
| | | },
|
| | | methods: {
|
| | | async getBuildingList() {
|
| | |
| | | height: 0;
|
| | | flex: 1;
|
| | | overflow-y: auto;
|
| | |
|
| | | |
| | | |
| | | |
| | |
|
| | | .content {
|
| | | margin-top: 20rpx;
|
| | | background-color: #fff;
|
| | | background-color: #fff; |
| | |
|
| | |
|
| | | .floor-info-box {
|
| | |
| | | align-items: center;
|
| | | width: calc(100% - 30rpx);
|
| | | min-height: 116rpx;
|
| | | box-sizing: border-box;
|
| | | background-color: #FAFBFE;
|
| | | box-sizing: border-box; |
| | | background-color: #FAFBFE; |
| | | margin: 15rpx;
|
| | |
|
| | | &>view {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | .u-grid-item {
|
| | | .u-grid-item { |
| | | border: none;
|
| | | }
|
| | | }
|
| | |
| | | <line-item :list="collectData">
|
| | | <template #other="{ sdate }">
|
| | | <view style="padding: 20rpx 0;" v-if="sdate.name === 'imageUrls' && sdate.value !== '未完善' ">
|
| | | <u--image :src="sdate.value" width="80px" height="80px" @click="imgPreview(sdate.value)"></u--image>
|
| | | <u--image :src="sdate.value" width="80px" height="80px"
|
| | | @click="imgPreview(sdate.value)"></u--image>
|
| | | </view>
|
| | | </template>
|
| | | </line-item>
|
| | |
| | | import {
|
| | | getDoorplateAddressDetail
|
| | | } from "@/api/doorplateAddress/doorplateAddress";
|
| | | import {
|
| | | getPlaceDetail
|
| | | } from '@/api/place/place.js'
|
| | | export default {
|
| | | components: {
|
| | | lineItem
|
| | |
| | | },
|
| | | methods: {
|
| | | async getBuildingDetail() {
|
| | | // const {
|
| | | // code,
|
| | | // data
|
| | | // } = await getDoorplateAddressDetail({
|
| | | // stdId: this.stdId
|
| | | // })
|
| | | const {
|
| | | code,
|
| | | data
|
| | | } = await getDoorplateAddressDetail({
|
| | | stdId: this.stdId
|
| | | } = await getPlaceDetail({
|
| | | houseCode: this.stdId
|
| | | })
|
| | | console.log(data);
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | | title: "数据请求失败",
|
| | |
| | | })
|
| | | return
|
| | | }
|
| | | const doorplateAddressEntity = data?.doorplateAddressEntity || {}
|
| | | const placePoiLabelVOList = data?.placePoiLabelVOList || {}
|
| | | this.houseNumberData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.place[item.name] || '未完善'
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | |
|
| | | if (item.name == 'label') {
|
| | |
|
| | | let labelArr = []
|
| | | placePoiLabelVOList.forEach(item => {
|
| | | labelArr.push(item.labelName)
|
| | | })
|
| | | |
| | | item.value = labelArr.join('、')
|
| | | }
|
| | | })
|
| | | |
| | |
|
| | | this.gridData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.place[item.name] || '未完善'
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | |
| | |
|
| | | this.collectData.forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = data.place[item.name] || '未完善'
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | |
| | |
|
| | |
|
| | | this.policeData.forEach(item => {
|
| | | item.value = data[item.name] || '未完善'
|
| | | if (!data[item.name]) {
|
| | | item.value = data.doorplateAddressEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | },
|
| | | imgPreview(value) {
|
| | |
| | | height: calc(100% - 110rpx);
|
| | | padding-bottom: 20rpx;
|
| | | overflow: auto;
|
| | |
|
| | | .map {
|
| | | width: 100%;
|
| | | height: 240rpx;
|
| | | background-color: #fff;
|
| | | }
|
| | |
|
| | | .box-title {
|
| | | padding: 10px 0;
|
| | |
|
| | |
| | | <template>
|
| | | <view class="container">
|
| | | <view class="header">
|
| | | <u-icon name="/static/icon/map.png" width="15" height="18"></u-icon>
|
| | | <u-icon name="/static/icon/map.png" width="15" height="18"></u-icon> |
| | | <text>{{ curSelectSite.name }}/{{ curHouseTitle }}</text>
|
| | | </view>
|
| | | <view class="flex f-d-c main">
|
| | |
| | | return {
|
| | | isShowAoi:false,
|
| | | isShowShop:false,
|
| | | currentId: '',
|
| | | currentId: '', |
| | | curSelectSite: {},
|
| | | curHouseTitle: '',
|
| | | houseList: [{
|
| | |
| | |
|
| | | },
|
| | | onShow() {
|
| | | this.getHouseInfo()
|
| | | this.curSelectSite = uni.getStorageSync('siteInfo')
|
| | | this.getHouseInfo() |
| | | this.curSelectSite = uni.getStorageSync('curSelectSite')
|
| | | },
|
| | |
|
| | | methods: {
|
| | |
| | | const aoiList = res.data.aoiList
|
| | | const shopList = res.data.shopList
|
| | | if(aoiList.length>0){
|
| | | this.isShowAoi =true
|
| | | aoiList.forEach(item => {
|
| | | item.title = item.name
|
| | | this.isShowAoi =true |
| | | aoiList.forEach(item => { |
| | | item.title = item.name |
| | | })
|
| | | this.houseList = aoiList || [{
|
| | | title: '-'
|
| | |
| | |
|
| | | },
|
| | | pushPage(value) {
|
| | | const { id, title,addressType } = value
|
| | | if (!id) {
|
| | | return
|
| | | const { id, title,addressType } = value |
| | | if (!id) { |
| | | return |
| | | }
|
| | | // addressType == 3 街路巷
|
| | | if(addressType == 1 || addressType == 3){
|
| | |
| | | }
|
| | | </script>
|
| | |
|
| | | <style lang="scss" scoped>
|
| | | page {
|
| | | background-color: #f5f5f5;
|
| | | <style lang="scss" scoped> |
| | | page { |
| | | background-color: #f5f5f5; |
| | | }
|
| | | .container {
|
| | | width: 100%;
|
| | |
| | | font-size: 26rpx;
|
| | |
|
| | | .header {
|
| | | background-color: #fff;
|
| | | padding: 20rpx 30rpx;
|
| | | display: flex;
|
| | | color: #333333;
|
| | | text {
|
| | | margin-left: 15rpx;
|
| | | background-color: #fff; |
| | | padding: 20rpx 30rpx; |
| | | display: flex; |
| | | color: #333333; |
| | | text { |
| | | margin-left: 15rpx; |
| | | }
|
| | | }
|
| | |
|
| | |
| | | position: relative;
|
| | | height: 0;
|
| | | flex: 1;
|
| | | overflow-y: auto;
|
| | | margin-top: 20rpx;
|
| | | overflow-y: auto; |
| | | margin-top: 20rpx; |
| | | background-color: #fff;
|
| | |
|
| | | .house-container {
|
| | | flex-wrap: wrap;
|
| | | flex-wrap: wrap; |
| | | padding: 14rpx;
|
| | |
|
| | | .house-list-box {
|
| | |
| | | {{ labelModelInfo.title }}
|
| | | </view>
|
| | |
|
| | | <u-radio-group class="mt-40" v-model="labelValue" placement="row">
|
| | | <u-radio-group v-model="" class="mt-40" v-model="labelValue" placement="row">
|
| | | <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in labelList" :key="index"
|
| | | :label="item.name" :labelColor="item.color" :name="item.name" :activeColor="item.color" @change="radioChange(item)">
|
| | | </u-radio>
|
| | |
| | | title: '',
|
| | | selectedColor: ''
|
| | | },
|
| | | labelValue: '',
|
| | | labelValue: "",
|
| | | remark: '',
|
| | | // 标记
|
| | | number: 0
|
| | | number: 0 |
| | | |
| | | }
|
| | | },
|
| | | created() {
|
| | |
| | | this.labelModelInfo.title = item.name
|
| | | this.currentLabelInfo = item
|
| | | // 遍历标签集合
|
| | | this.labelList.forEach(e => {
|
| | | this.labelList.forEach(e => { |
| | | console.log(e.color,item.color);
|
| | | if (e.color == item.color) {
|
| | | this.labelValue = e.name
|
| | | this.labelValue = e.name |
| | | console.log(e);
|
| | | this.remark = item.remark
|
| | | this.number = 1
|
| | | }
|
| | |
| | | <view class="l flex">
|
| | | <u-icon name="/static/icon/selected.png" size="16"></u-icon>
|
| | | <!-- u-icon name="photo"></u-icon> -->
|
| | | <view class="owner-img-box">主</view>
|
| | | <view class="owner-img-box" v-if="item.relationship == 1">主</view>
|
| | | </view>
|
| | | <view class="r">
|
| | | <u-icon name="/static/icon/delete.png" size="16" @click="removeHouseholdSub(item)"></u-icon>
|
| | |
| | | <u-form-item label="电话号码" class="form-item">
|
| | | <u--input v-model="form.telephone" border="none"></u--input>
|
| | | </u-form-item>
|
| | | <u-form-item label="根据地" class="form-item">
|
| | | <u-form-item label="咱据地" class="form-item">
|
| | | <u--input v-model="form.tempAddress" border="none"></u--input>
|
| | | </u-form-item>
|
| | | </u-form>
|
| | |
| | | },
|
| | | {
|
| | | label: "采集人",
|
| | | name: 'createUser',
|
| | | name: 'createUserName',
|
| | | value: "未完善"
|
| | | },
|
| | | {
|
| | |
| | | onLoad(option) {
|
| | | const {
|
| | | houseCode,
|
| | | id
|
| | | id,
|
| | | type
|
| | | } = option
|
| | | this.houseCode = houseCode
|
| | | this.currentId = id
|
| | |
| | | this.getBuildingDetail()
|
| | | }
|
| | |
|
| | |
|
| | | if (!!type || type != void 0) {
|
| | | uni.setNavigationBarTitle({
|
| | | title: '详情'
|
| | | })
|
| | | }
|
| | | },
|
| | | onShow() {
|
| | | this.getLabel()
|
| | |
| | | icon: 'error'
|
| | | })
|
| | | return
|
| | | } |
| | | const dpaEntity = data?.doorplateAddressEntity || {} |
| | | |
| | | this.form.buildingCode = dpaEntity?.buildingCode || '' |
| | | |
| | | }
|
| | | const dpaEntity = data?.doorplateAddressEntity || {}
|
| | |
|
| | | this.form.buildingCode = dpaEntity?.buildingCode || ''
|
| | |
|
| | | let buildingNameArr = [
|
| | | dpaEntity?.townStreetName,
|
| | | dpaEntity?.neiName,
|
| | |
| | | let arr = buildingNameArr.filter(e => {
|
| | | return e != null || e != ''
|
| | | })
|
| | | this.form.placeName = data['placeName'] || '' |
| | | |
| | | Object.keys(this.form).forEach(key => { |
| | | if (!data[key]) { |
| | | this.form[key] = dpaEntity[key] || '未完善' |
| | | } else { |
| | | this.form[key] = data[key] || '未完善' |
| | | } |
| | | if (key === "images") { |
| | | this.form[key] = [] |
| | | } |
| | | this.form.placeName = data['placeName'] || ''
|
| | |
|
| | | Object.keys(this.form).forEach(key => {
|
| | | if (!data[key]) {
|
| | | this.form[key] = dpaEntity[key] || '未完善'
|
| | | } else {
|
| | | this.form[key] = data[key] || '未完善'
|
| | | }
|
| | | if (key === "images") {
|
| | | this.form[key] = []
|
| | | }
|
| | | })
|
| | |
|
| | | this.form.building = arr.join("")
|
| | |
| | | if (!data[item.name]) {
|
| | | item.value = dpaEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name]|| '未完善'
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | this.publicData[key].forEach(item => {
|
| | | if (!data[item.name]) {
|
| | | item.value = dpaEntity[item.name] || '未完善'
|
| | | } else {
|
| | | item.value = data[item.name]|| '未完善'
|
| | | item.value = data[item.name] || '未完善'
|
| | | }
|
| | | })
|
| | | })
|
| | |
|
| | | data.placePoiLabelVOList.forEach(item => {
|
| | | let label = this.labelList[0].children.find(sl => sl.text === item.labelName) || {}
|
| | | console.log(label);
|
| | | label['isClose'] = false
|
| | | this.showLabelList.push(label)
|
| | | })
|
| | |
| | | const townStreet = await this.getDoorplateAddressList(null, "townStreet")
|
| | | this.setColumn(townStreet, 0)
|
| | | //设置社区
|
| | | const nei = await this.getDoorplateAddressList(townStreet[0].code, "nei")
|
| | | const nei = await this.getDoorplateAddressList(townStreet[0]?.code, "nei")
|
| | | this.setColumn(nei, 1)
|
| | | //设置路
|
| | | const streetRu = await this.getDoorplateAddressList(nei[0].code, "streetRu")
|
| | | const streetRu = await this.getDoorplateAddressList(nei[0]?.code, "streetRu")
|
| | | this.setColumn(streetRu, 2)
|
| | | //设置地区
|
| | | const district = await this.getDoorplateAddressList(streetRu[0].code, "district")
|
| | | const district = await this.getDoorplateAddressList(streetRu[0]?.code, "district")
|
| | | this.setColumn(district, 3)
|
| | | //设置楼栋
|
| | | const building = await this.getDoorplateAddressList(district[0].code, "building")
|
| | | const building = await this.getDoorplateAddressList(district[0]?.code, "building")
|
| | | this.setColumn(building, 4)
|
| | | },
|
| | |
|
| | |
| | | }
|
| | | },
|
| | | onShow() { |
| | | this.currentRole = uni.getStorageSync("activeRole") |
| | | this.resetParams()
|
| | | this.getSiteList() |
| | | this.currentRole = uni.getStorageSync("activeRole")
|
| | | this.getSiteList()
|
| | | },
|
| | | onReachBottom() {
|
| | | this.pagingParams.current++
|
| | |
| | | const params = {
|
| | | placeName: this.keyWord,
|
| | | confirmFlag: this.tabStatus
|
| | | }
|
| | | } |
| | | const { roleName } = this.currentRole
|
| | | const res = await getSiteMaintenanceData({
|
| | | ...params,
|
| | | ...params, |
| | | roleName,
|
| | | ...this.pagingParams
|
| | | }) |
| | | console.log(res);
|
| | |
| | | size: 10
|
| | | },
|
| | | tabsType: 1,
|
| | | status: 'nomore'
|
| | | status: 'nomore', |
| | | currentRole: {}
|
| | | }
|
| | | },
|
| | | onShow() { |
| | | this.recordsData = []
|
| | | this.recordsData = [] |
| | | this.currentRole = uni.getStorageSync('activeRole')
|
| | | this.getrRecordList()
|
| | | },
|
| | | onReachBottom() {
|
| | |
| | | },
|
| | | methods: {
|
| | | async getrRecordList(placeName = this.iptContext, isPerfect = this.tabsType) {
|
| | | this.status = 'loadmore'
|
| | | this.status = 'loadmore' |
| | | const { roleName } = this.currentRole |
| | | console.log(this.currentRole);
|
| | | const {
|
| | | code,
|
| | | data: {
|
| | |
| | | }
|
| | | } = await getLocationRecord({
|
| | | placeName,
|
| | | isPerfect,
|
| | | isPerfect, |
| | | roleName,
|
| | | ...this.pagingParams
|
| | | })
|
| | | if (code !== 200) {
|
| | |
| | | })
|
| | | return
|
| | | }
|
| | | let url = "/subPackage/workbench/views/cscj?id=" + id
|
| | | let url = "/subPackage/workbench/views/cscj?id=" + id + "&type=1"
|
| | | this.$u.func.globalNavigator(url)
|
| | | }
|
| | | }
|
| | |
| | |
|
| | | <script>
|
| | | import {
|
| | | updatePlaceExtData, |
| | | updatePlaceExtData,
|
| | | getPlaceDetail
|
| | | } from '@/api/placeExp/placeExp.js'
|
| | | import uploadMixin from "@/mixin/uploadMixin";
|
| | |
| | | },
|
| | | data() {
|
| | | return {
|
| | | form: { |
| | | id: '', |
| | | form: {
|
| | | id: '',
|
| | | placeId: '',
|
| | | localtion: '',
|
| | | placeName: '',
|
| | |
| | | }
|
| | | },
|
| | | onShow() {
|
| | | this.curSelectSite = uni.getStorageSync('siteInfo') |
| | | this.curSelectSite = uni.getStorageSync('siteInfo')
|
| | | this.getCsDetails()
|
| | | // this.getLocation()
|
| | | },
|
| | | methods: { |
| | | getCsDetails() { |
| | | getPlaceDetail({ |
| | | placeId: this.curSelectSite.id |
| | | }).then(detailRes => { |
| | | const { code, data } = detailRes |
| | | if (code !== 200) { |
| | | uni.showToast({ |
| | | title: '数据请求失败', |
| | | icon: 'error' |
| | | }) |
| | | return |
| | | } |
| | | const placePractitioner = data?.placePractitioner || [] |
| | | Object.keys(this.form).forEach(key => { |
| | | this.form[key] = data[key] |
| | | if(key === 'imageUrls' || key === 'planImageUrls') { |
| | | this.form[key] = [] |
| | | !!data[key] && this.form[key].push() |
| | | } |
| | | methods: {
|
| | | // getLocation() {
|
| | | // uni.chooseLocation({
|
| | | // success: (res) => {
|
| | | // console.log(res);
|
| | | // }
|
| | | // })
|
| | | // },
|
| | | getCsDetails() {
|
| | | getPlaceDetail({
|
| | | placeId: this.curSelectSite.id
|
| | | }).then(detailRes => {
|
| | | const {
|
| | | code,
|
| | | data
|
| | | } = detailRes
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | | title: '数据请求失败',
|
| | | icon: 'error'
|
| | | })
|
| | | return
|
| | | }
|
| | | const placePractitioner = data?.placePractitioner || []
|
| | | Object.keys(this.form).forEach(key => {
|
| | | this.form[key] = data[key]
|
| | | if (key === 'imageUrls' || key === 'planImageUrls') {
|
| | | this.form[key] = [] |
| | | if (!!data[key]) { |
| | | data[key] = JSON.parse(data[key]) |
| | | if (Array.isArray(data[key])) { |
| | | this.form[key] = data[key] |
| | | } |
| | | } else { |
| | | this.form[key].push(data[key]) |
| | | }
|
| | | }
|
| | | }) |
| | | this.personNum = placePractitioner.length |
| | | this.$nextTick(() => { |
| | | console.log(placePractitioner); |
| | | this.$refs.formItemRef.forEach((item, index) => { |
| | | item.form = placePractitioner[index] |
| | | }) |
| | | }) |
| | | }) |
| | | },
|
| | | |
| | | console.log(this.form);
|
| | | this.personNum = placePractitioner.length
|
| | | this.$nextTick(() => {
|
| | | console.log(placePractitioner);
|
| | | this.$refs.formItemRef.forEach((item, index) => {
|
| | | item.form = placePractitioner[index]
|
| | | })
|
| | | })
|
| | | })
|
| | | }, |
| | | updatePlaceExt(data) { |
| | | data['imageUrls'] = JSON.stringify(data['imageUrls']) |
| | | data['planImageUrls'] = JSON.stringify(data['planImageUrls'])
|
| | | updatePlaceExtData({...data}).then(res => { |
| | | const { code } = res |
| | | data['imageUrls'] = data['imageUrls'].join('、') |
| | | data['planImageUrls'] = data['planImageUrls'].join('、') |
| | | updatePlaceExtData({ |
| | | ...data |
| | | }).then(res => { |
| | | const { |
| | | code |
| | | } = res |
| | | if (code !== 200) { |
| | | uni.showToast({ |
| | | title: '提交失败', |
| | |
| | | }, 1500) |
| | | } |
| | | }) |
| | | })
|
| | | },
|
| | | addPerson() {
|
| | | this.personNum++
|
| | | },
|
| | | submit() {
|
| | | const placePractitioner = []
|
| | | }) |
| | | }, |
| | | addPerson() { |
| | | this.personNum++ |
| | | }, |
| | | submit() { |
| | | const placePractitioner = [] |
| | | this.$refs.formItemRef.forEach(item => { |
| | | item.form.placeId = this.form.placeId
|
| | | placePractitioner.push(item.form)
|
| | | })
|
| | | item.form.placeId = this.form.placeId |
| | | placePractitioner.push(item.form) |
| | | }) |
| | | this.form.placePractitioner = placePractitioner |
| | | this.updatePlaceExt(this.form)
|
| | | this.updatePlaceExt(this.form) |
| | | }, |
| | | pushPage() { |
| | | this.$u.func.globalNavigator('/subPackage/workbench/views/cshw') |
| | |
| | | })
|
| | | }
|
| | | },
|
| | | onLoad() {
|
| | | onLoad() { |
| | | this.currentRole = uni.getStorageSync('activeRole')
|
| | | this.getStatistics()
|
| | | },
|
| | | onShow() {
|
| | |
| | | scrollTop: 0, // 滚动到页面的目标位置(单位px)
|
| | | });
|
| | | },
|
| | | getStatistics(auditStatus = '') {
|
| | | let params = {}
|
| | | getStatistics(auditStatus = '') { |
| | | const { roleName } = this.currentRole
|
| | | let params = { |
| | | roleName |
| | | }
|
| | | if (auditStatus) {
|
| | | params = {
|
| | | auditStatus
|
| | | auditStatus, |
| | | roleName
|
| | | }
|
| | | }
|
| | | getStatistics(params).then(res => {
|
| | |
| | | return res.name
|
| | | },
|
| | | async getRentalHouseInfo(params = {}) {
|
| | | this.loadingStatus = 'loadmore'
|
| | | this.loadingStatus = 'loadmore' |
| | | const { roleName } = this.currentRole
|
| | | const {
|
| | | code,
|
| | | data: {
|
| | |
| | | }
|
| | | } = await getRentalHouseContent({
|
| | | tenantName: this.keyword,
|
| | | ...this.pagingParams,
|
| | | ...this.pagingParams, |
| | | roleName,
|
| | | ...this.selectParams
|
| | | })
|
| | | if (code !== 200) {
|
| | |
| | | }
|
| | | },
|
| | | onShow() { |
| | | this.currentRole = uni.getStorageSync("activeRole") |
| | | this.reportList = []
|
| | | this.getPageList()
|
| | | },
|
| | |
| | | const params = {
|
| | | realName: this.keyWord,
|
| | | confirmFlag: this.tabStatus
|
| | | }
|
| | | } |
| | | const { roleName } = this.currentRole
|
| | | const res = await getPage({
|
| | | ...params,
|
| | | ...params, |
| | | roleName,
|
| | | ...this.pagingParams
|
| | | })
|
| | | const {
|