13 files modified
4 files added
| | |
| | | }) |
| | | } |
| | | |
| | | //反诈宣传记录 |
| | | export const getCounterfraudRecord = (params) => { |
| | | return http.request({ |
| | | url: '/blade-backblastPubRecord/backblastPubRecord/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //反诈宣传详情 |
| | | export const getCounterfraudDetail = (params) => { |
| | | return http.request({ |
| | | url: '/blade-backblastPubRecord/backblastPubRecord/detail', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | //反诈宣传处置 |
| | | export const setCounterfraudDisopes = (params) => { |
| | | return http.request({ |
| | |
| | | method: 'POST', |
| | | data: params |
| | | }) |
| | | } |
| | | |
| | | //反诈宣传处置记录 |
| | | export const getCounterfraudDisopesRecord = (params) => { |
| | | return http.request({ |
| | | url: '/blade-backblastWarnHanRec/backblastWarnHanRec/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //反诈宣传处置详情 |
| | | export const getCounterfraudDisopesDetail = (params) => { |
| | | return http.request({ |
| | | url: '/blade-backblastWarnHanRec/backblastWarnHanRec/detail', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/circle/index", |
| | | "style": { |
| | | "enablePullDownRefresh": false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/circle/publish", |
| | | "style": { |
| | | "navigationBarTitleText": "发布", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | | } |
| | | }, |
| | | // { |
| | | // "path": "pages/circle/index", |
| | | // "style": { |
| | | // "enablePullDownRefresh": false, |
| | | // "navigationStyle": "custom" |
| | | // } |
| | | // }, |
| | | // { |
| | | // "path": "pages/circle/publish", |
| | | // "style": { |
| | | // "navigationBarTitleText": "发布", |
| | | // "navigationBarBackgroundColor": "#fff", |
| | | // "navigationBarTextStyle": "black" |
| | | // } |
| | | // }, |
| | | { |
| | | "path": "pages/home/selectSite", |
| | | "style": { |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, { |
| | | "path": "propagateRecord", |
| | | "style": { |
| | | "navigationBarTitleText": "反诈宣传记录", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | { |
| | | "path": "propagateDetail", |
| | | "style": { |
| | | "navigationBarTitleText": "反诈宣传详情", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | { |
| | | "path": "disposeRecord", |
| | | "style": { |
| | | "navigationBarTitleText": "反诈预警处置记录", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | { |
| | | "path": "disposeDetail", |
| | | "style": { |
| | | "navigationBarTitleText": "反诈预警处置详情", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | <view class='flex a-i-c login-input'> |
| | | <input class='f-30 c-33' type='number' placeholder='请输入验证码' v-model="validationCode" |
| | | placeholder-class='c-aa f-28'></input> |
| | | <button class='login-input-btn f-24 c-33' :disabled="!validationCode?true:false" |
| | | <button class='login-input-btn f-24 c-33' :disabled="validationCode?true:false" |
| | | @click='getValidationCode'>{{text}}</button> |
| | | </view> |
| | | <!-- <button class='login-btn c-ff f-30' :class='validationCode?"bgc-main":""' |
| | |
| | | <view class='flex a-i-c login-input'> |
| | | <input class='f-30 c-33' type='number' placeholder='请输入验证码' v-model="validationCode" |
| | | placeholder-class='c-aa f-28'></input> |
| | | <button class='login-input-btn f-24 bgc-ff c-33' :disabled="!validationCode?true:false" |
| | | <button class='login-input-btn f-24 bgc-ff c-33' :disabled="validationCode?true:false" |
| | | @click='getValidationCode'>{{text}}</button> |
| | | </view> |
| | | <!-- <button class='login-btn c-ff f-30' :class='validationCode?"bgc-main":""' |
| | |
| | | </view> |
| | | </view> --> |
| | | |
| | | <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> |
| | | <!-- <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> --> |
| | | |
| | | <button class="submit-btn" @click="submitInfo">提交</button> |
| | | <button class="list-btn mb-20" @click="navigatorPage">记录</button> |
| | | |
| | | |
| | | |
| | | </view> |
| | | |
| | |
| | | pubContent: "" |
| | | }, |
| | | rules: { |
| | | // 'name': { |
| | | // type: 'string', |
| | | // required: true, |
| | | // message: '请输入姓名', |
| | | // trigger: ['blur', 'change'] |
| | | // }, |
| | | // 'phone': { |
| | | // type: 'string', |
| | | // required: true, |
| | | // message: '请输入手机号', |
| | | // trigger: ['blur', 'change'] |
| | | // }, |
| | | |
| | | type: [{ |
| | | address: [{ |
| | | type: 'number', |
| | | required: true, |
| | | message: '请选择走访类型', |
| | | message: '请输入地址', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | // peopleType: [{ |
| | | // type: 'number', |
| | | // required: true, |
| | | // message: '请选择重点人群类型', |
| | | // trigger: ['blur', 'change'] |
| | | // }], |
| | | householdId: [{ |
| | | type: 'string', |
| | | required: true, |
| | | message: '请选择被访问人', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | context: [{ |
| | | type: 'string', |
| | | required: true, |
| | | message: '请输入工作内容', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | }] |
| | | }, |
| | | showSelectDate: false, |
| | | workTime: Number(new Date()), |
| | |
| | | uni.navigateTo({ |
| | | url: `/subPackage/house/roomDetails/index?id=${this.info.houseCode}` |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | navigatorPage() { |
| | | uni.navigateTo({ |
| | | url: `propagateRecord` |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | width: 100%; |
| | | height: 140rpx; |
| | | } |
| | | |
| | | .submit-btn { |
| | | width: 690rpx; |
| | | height: 78rpx; |
| | | line-height: 78rpx; |
| | | background: linear-gradient(163deg, #01BDFC 0%, #017BFC 100%); |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | font-size: 32rpx; |
| | | color: #fff; |
| | | margin-top: 50rpx; |
| | | } |
| | | |
| | | .list-btn { |
| | | width: 690rpx; |
| | | height: 78rpx; |
| | | line-height: 78rpx; |
| | | background: linear-gradient(163deg, #c7d7dc 0%, #c3cdd8 100%); |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | font-size: 32rpx; |
| | | color: #fff; |
| | | margin-top: 50rpx; |
| | | } |
| | | </style> |
| | |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-textarea> |
| | | </u-form-item> |
| | | |
| | | <u-form-item label="核查信息" borderBottom required prop="recContent"> |
| | | <u-form-item label="核查信息" borderBottom prop="recContent"> |
| | | <u-textarea type="textarea" v-model="info.recContent" border="none" placeholderClass="f-28 c-99" |
| | | inputAlign="right" placeholder="请输入核查信息"> |
| | | </u-textarea> |
| | |
| | | </view> |
| | | |
| | | |
| | | <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> |
| | | <!-- <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> --> |
| | | |
| | | |
| | | <button class="submit-btn" @click="submitInfo">提交</button> |
| | | <button class="list-btn mb-20" @click="navigatorPage">记录</button> |
| | | |
| | | </view> |
| | | |
| | |
| | | // trigger: ['blur', 'change'] |
| | | // }, |
| | | |
| | | type: [{ |
| | | |
| | | address: [{ |
| | | type: 'number', |
| | | required: true, |
| | | message: '请选择走访类型', |
| | | message: '请输入地址', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | // peopleType: [{ |
| | | // type: 'number', |
| | | // required: true, |
| | | // message: '请选择重点人群类型', |
| | | // trigger: ['blur', 'change'] |
| | | // }], |
| | | householdId: [{ |
| | | type: 'string', |
| | | required: true, |
| | | message: '请选择被访问人', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | context: [{ |
| | | type: 'string', |
| | | required: true, |
| | | message: '请输入工作内容', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | }] |
| | | }, |
| | | showSelectDate: false, |
| | | workTime: Number(new Date()), |
| | |
| | | uni.navigateTo({ |
| | | url: `/subPackage/house/roomDetails/index?id=${this.info.houseCode}` |
| | | }) |
| | | }, |
| | | |
| | | navigatorPage() { |
| | | uni.navigateTo({ |
| | | url: `disposeRecord` |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | width: 100%; |
| | | height: 140rpx; |
| | | } |
| | | |
| | | .submit-btn { |
| | | width: 690rpx; |
| | | height: 78rpx; |
| | | line-height: 78rpx; |
| | | background: linear-gradient(163deg, #01BDFC 0%, #017BFC 100%); |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | font-size: 32rpx; |
| | | color: #fff; |
| | | margin-top: 50rpx; |
| | | } |
| | | |
| | | .list-btn { |
| | | width: 690rpx; |
| | | height: 78rpx; |
| | | line-height: 78rpx; |
| | | background: linear-gradient(163deg, #c7d7dc 0%, #c3cdd8 100%); |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | font-size: 32rpx; |
| | | color: #fff; |
| | | margin-top: 50rpx; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class=""> |
| | | <view class="bgc-ff"> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>地址</text> |
| | | <text class="address">{{detail.address}}</text> |
| | | </view> |
| | | <view class="item-row flex j-c-s-b a-i-c" v-if="detail.recContent"> |
| | | <text>核查信息</text> |
| | | <text class="address">{{detail.recContent}}</text> |
| | | </view> |
| | | |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>时间</text> |
| | | <text>{{detail.createTime}}</text> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="box bgc-ff" v-if="detail.context"> |
| | | <view class="caption f-28"> |
| | | 巡查内容 |
| | | </view> |
| | | <view class="f-30"> |
| | | {{detail.context}} |
| | | </view> |
| | | </view> --> |
| | | <view class="box bgc-ff" v-if="images.length"> |
| | | <view class="caption f-28"> |
| | | 核查现场照片 |
| | | </view> |
| | | <u-album :urls="images" singleSize="100" multipleSize="100"></u-album> |
| | | </view> |
| | | </view> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getCounterfraudDisopesDetail |
| | | } from "@/api/counterfraud/counterfraud.js" |
| | | |
| | | import { |
| | | minioBaseUrl |
| | | } |
| | | from "@/common/setting.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | detail: {}, |
| | | images: [] |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | this.getDetail(option.id) |
| | | }, |
| | | |
| | | methods: { |
| | | getDetail(id) { |
| | | getCounterfraudDisopesDetail({ |
| | | id |
| | | }).then(res => { |
| | | this.detail = res.data; |
| | | if (res.data.url) { |
| | | this.images = this.setImageUrl(res.data.url); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | setImageUrl(str) { |
| | | let urls = str.split(",") |
| | | let temp = []; |
| | | for (let i of urls) { |
| | | temp.push(`${minioBaseUrl}${i}`) |
| | | } |
| | | return temp |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | page { |
| | | background-color: #f5f5f5; |
| | | } |
| | | |
| | | .item-row { |
| | | width: 100%; |
| | | padding: 30rpx; |
| | | box-sizing: border-box; |
| | | border-bottom: 1px solid #f5f5f5; |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .address { |
| | | width: 70%; |
| | | text-align: right; |
| | | } |
| | | |
| | | .box { |
| | | padding: 0 30rpx 30rpx; |
| | | margin-top: 20rpx; |
| | | } |
| | | |
| | | .caption { |
| | | padding: 30rpx 0; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="container"> |
| | | <z-paging ref="paging" v-model="dataList" @query="queryList" :refresher-enabled="false" |
| | | loading-more-no-more-text="没有更多了" :hide-empty-view="true"> |
| | | <view class="list"> |
| | | <view class="list-item bgc-ff mb-20" v-for="item in dataList" :key="item.id" @click="pushPage(item.id)"> |
| | | <!-- <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">{{item.name}}</text> |
| | | </view> --> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">时间</text> |
| | | <text class="f-28 c-66">{{ item.createTime }}</text> |
| | | </view> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">地址</text> |
| | | <text class="address f-28 c-66">{{ item.address}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </z-paging> |
| | | <view v-if="!dataList.length"> |
| | | <u-empty marginTop="50%" mode="list"></u-empty> |
| | | </view> |
| | | |
| | | <!-- <u-loading-page :loading="loadingPage"></u-loading-page> |
| | | <u-loading-icon :show="loadingIcon"></u-loading-icon> --> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getCounterfraudDisopesRecord |
| | | } from "@/api/counterfraud/counterfraud.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | dataList: [], |
| | | page: { |
| | | current: 1, |
| | | size: 10 |
| | | }, |
| | | loadingPage: false, |
| | | loadingIcon: false, |
| | | query: { |
| | | createUser: uni.getStorageSync("userInfo").user_id, |
| | | type: "", |
| | | } |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | |
| | | // this.query.type = option.type |
| | | |
| | | |
| | | // this.getList() |
| | | }, |
| | | // onReachBottom() { |
| | | // this.page.current += 1 |
| | | // this.getList() |
| | | // }, |
| | | methods: { |
| | | |
| | | |
| | | |
| | | |
| | | queryList(pageNo, pageSize) { |
| | | getCounterfraudDisopesRecord({ |
| | | current: pageNo, |
| | | size: pageSize, |
| | | }).then(res => { |
| | | this.$refs.paging.complete(res.data.records); |
| | | }) |
| | | }, |
| | | |
| | | |
| | | getList() { |
| | | |
| | | this.page.current == 1 ? this.loadingPage = true : this.loadingIcon = true |
| | | |
| | | console.log(this.userInfo) |
| | | let param = {} |
| | | |
| | | getPage(Object.assign(param, this.query, this.page)).then(res => { |
| | | let data = res.data.records |
| | | this.dataList = this.dataList.concat(data) |
| | | this.page.current == 1 ? this.loadingPage = false : this.loadingIcon = false |
| | | }) |
| | | }, |
| | | |
| | | pushPage(id) { |
| | | this.$u.func.globalNavigator(`disposeDetail?id=${id}`) |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | page { |
| | | width: 100%; |
| | | height: 100%; |
| | | background-color: #F5F5F5; |
| | | } |
| | | |
| | | .container { |
| | | // position: relative; |
| | | width: 100%; |
| | | height: 100%; |
| | | // display: flex; |
| | | // flex-direction: column; |
| | | // background: #F9F9FA; |
| | | |
| | | |
| | | |
| | | .item { |
| | | background-color: #ffffff; |
| | | padding: 40rpx 20rpx; |
| | | margin-top: 20rpx; |
| | | |
| | | .line { |
| | | display: flex; |
| | | font-size: 28rpx; |
| | | padding: 6rpx; |
| | | |
| | | .label { |
| | | color: #a4a4a4; |
| | | width: 25%; |
| | | } |
| | | |
| | | .value {} |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | .list { |
| | | margin: 20rpx 30rpx 0; |
| | | } |
| | | |
| | | .list-item { |
| | | padding: 0 30rpx 20rpx; |
| | | border-radius: 8rpx; |
| | | |
| | | .item-title { |
| | | padding: 30rpx 0; |
| | | border-bottom: 1px solid #F5F5F5; |
| | | } |
| | | |
| | | .item-row { |
| | | padding: 10rpx 0; |
| | | |
| | | .address { |
| | | width: 75%; |
| | | text-align: right; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class=""> |
| | | <view class="bgc-ff"> |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>地址</text> |
| | | <text class="address">{{detail.address}}</text> |
| | | </view> |
| | | <view class="item-row flex j-c-s-b a-i-c" v-if="detail.pubContent"> |
| | | <text>问卷调查</text> |
| | | <text class="address">{{detail.pubContent}}</text> |
| | | </view> |
| | | |
| | | <view class="item-row flex j-c-s-b a-i-c"> |
| | | <text>时间</text> |
| | | <text>{{detail.createTime}}</text> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="box bgc-ff" v-if="detail.context"> |
| | | <view class="caption f-28"> |
| | | 巡查内容 |
| | | </view> |
| | | <view class="f-30"> |
| | | {{detail.context}} |
| | | </view> |
| | | </view> --> |
| | | <view class="box bgc-ff" v-if="images.length"> |
| | | <view class="caption f-28"> |
| | | 宣传佐证照片 |
| | | </view> |
| | | <u-album :urls="images" singleSize="100" multipleSize="100"></u-album> |
| | | </view> |
| | | </view> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getCounterfraudDetail |
| | | } from "@/api/counterfraud/counterfraud.js" |
| | | import { |
| | | |
| | | minioBaseUrl |
| | | } |
| | | from "@/common/setting.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | detail: {}, |
| | | images: [] |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | this.getDetail(option.id) |
| | | }, |
| | | |
| | | methods: { |
| | | getDetail(id) { |
| | | getCounterfraudDetail({ |
| | | id |
| | | }).then(res => { |
| | | this.detail = res.data; |
| | | if (res.data.url) { |
| | | this.images = this.setImageUrl(res.data.url); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | setImageUrl(str) { |
| | | let urls = str.split(",") |
| | | let temp = []; |
| | | for (let i of urls) { |
| | | temp.push(`${minioBaseUrl}${i}`) |
| | | } |
| | | return temp |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | page { |
| | | background-color: #f5f5f5; |
| | | } |
| | | |
| | | .item-row { |
| | | width: 100%; |
| | | padding: 30rpx; |
| | | box-sizing: border-box; |
| | | border-bottom: 1px solid #f5f5f5; |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .address { |
| | | width: 70%; |
| | | text-align: right; |
| | | } |
| | | |
| | | .box { |
| | | padding: 0 30rpx 30rpx; |
| | | margin-top: 20rpx; |
| | | } |
| | | |
| | | .caption { |
| | | padding: 30rpx 0; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="container"> |
| | | <z-paging ref="paging" v-model="dataList" @query="queryList" :refresher-enabled="false" |
| | | loading-more-no-more-text="没有更多了" :hide-empty-view="true"> |
| | | <view class="list"> |
| | | <view class="list-item bgc-ff mb-20" v-for="item in dataList" :key="item.id" @click="pushPage(item.id)"> |
| | | <!-- <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">{{item.name}}</text> |
| | | </view> --> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">时间</text> |
| | | <text class="f-28 c-66">{{ item.createTime }}</text> |
| | | </view> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">地址</text> |
| | | <text class="address f-28 c-66">{{ item.address}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </z-paging> |
| | | <view v-if="!dataList.length"> |
| | | <u-empty marginTop="50%" mode="list"></u-empty> |
| | | </view> |
| | | |
| | | <!-- <u-loading-page :loading="loadingPage"></u-loading-page> |
| | | <u-loading-icon :show="loadingIcon"></u-loading-icon> --> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getCounterfraudRecord |
| | | } from "@/api/counterfraud/counterfraud.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | dataList: [], |
| | | page: { |
| | | current: 1, |
| | | size: 10 |
| | | }, |
| | | loadingPage: false, |
| | | loadingIcon: false, |
| | | query: { |
| | | createUser: uni.getStorageSync("userInfo").user_id, |
| | | type: "", |
| | | } |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | |
| | | // this.query.type = option.type |
| | | |
| | | |
| | | // this.getList() |
| | | }, |
| | | // onReachBottom() { |
| | | // this.page.current += 1 |
| | | // this.getList() |
| | | // }, |
| | | methods: { |
| | | |
| | | |
| | | |
| | | |
| | | queryList(pageNo, pageSize) { |
| | | getCounterfraudRecord({ |
| | | current: pageNo, |
| | | size: pageSize, |
| | | }).then(res => { |
| | | this.$refs.paging.complete(res.data.records); |
| | | }) |
| | | }, |
| | | |
| | | |
| | | getList() { |
| | | |
| | | this.page.current == 1 ? this.loadingPage = true : this.loadingIcon = true |
| | | |
| | | console.log(this.userInfo) |
| | | let param = {} |
| | | |
| | | getPage(Object.assign(param, this.query, this.page)).then(res => { |
| | | let data = res.data.records |
| | | this.dataList = this.dataList.concat(data) |
| | | this.page.current == 1 ? this.loadingPage = false : this.loadingIcon = false |
| | | }) |
| | | }, |
| | | |
| | | pushPage(id) { |
| | | this.$u.func.globalNavigator(`propagateDetail?id=${id}`) |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | page { |
| | | width: 100%; |
| | | height: 100%; |
| | | background-color: #F5F5F5; |
| | | } |
| | | |
| | | .container { |
| | | // position: relative; |
| | | width: 100%; |
| | | height: 100%; |
| | | // display: flex; |
| | | // flex-direction: column; |
| | | // background: #F9F9FA; |
| | | |
| | | |
| | | |
| | | .item { |
| | | background-color: #ffffff; |
| | | padding: 40rpx 20rpx; |
| | | margin-top: 20rpx; |
| | | |
| | | .line { |
| | | display: flex; |
| | | font-size: 28rpx; |
| | | padding: 6rpx; |
| | | |
| | | .label { |
| | | color: #a4a4a4; |
| | | width: 25%; |
| | | } |
| | | |
| | | .value {} |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | .list { |
| | | margin: 20rpx 30rpx 0; |
| | | } |
| | | |
| | | .list-item { |
| | | padding: 0 30rpx 20rpx; |
| | | border-radius: 8rpx; |
| | | |
| | | .item-title { |
| | | padding: 30rpx 0; |
| | | border-bottom: 1px solid #F5F5F5; |
| | | } |
| | | |
| | | .item-row { |
| | | padding: 10rpx 0; |
| | | |
| | | .address { |
| | | width: 75%; |
| | | text-align: right; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | }).then(res => { |
| | | console.log(res); |
| | | if (type) { |
| | | if (res.data.isJurl = 1) { |
| | | if (res.data.isJur = 1) { |
| | | this.houseCode = code; |
| | | this.homeRegion = res.data.townStreetName; |
| | | this.form.currentAddress = res.data.addressName; |
| | |
| | | inputAlign="right" placeholder="请输入报警地址"> |
| | | </u-input> |
| | | </u-form-item> |
| | | <u-form-item @click="showSelectBus('报警类型','alarmType')" label="报警类型" prop="alarmType" :borderBottom="false" required > |
| | | <u-input v-model="selectDefaultName.alarmType" disabled disabledColor="#fff" border="none" placeholder="请选择" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-form-item @click="showSelectBus('报警类型','alarmType')" label="报警类型" prop="alarmType" |
| | | :borderBottom="false" required> |
| | | <u-input v-model="selectDefaultName.alarmType" disabled disabledColor="#fff" border="none" |
| | | placeholder="请选择" placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | <u-form-item label="报警人姓名" prop="name" :borderBottom="false" required> |
| | | <u--input border="none" v-model="info.name" |
| | | placeholder="请输入报警人姓名" inputAlign="right" placeholderClass="f-28 c-99"></u--input> |
| | | <u--input border="none" v-model="info.name" placeholder="请输入报警人姓名" inputAlign="right" |
| | | placeholderClass="f-28 c-99"></u--input> |
| | | </u-form-item> |
| | | <u-form-item @click="showSelectBus('性别','gender')" class="form-item" labelWidth="110" label="报警人性别" |
| | | prop="gender"> |
| | |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | <u-form-item label="报警人电话" prop="phone" :borderBottom="false" required> |
| | | <u--input border="none" type="number" v-model="info.phone" |
| | | placeholder="请输入报警人电话" inputAlign="right" placeholderClass="f-28 c-99"></u--input> |
| | | <u--input border="none" type="number" v-model="info.phone" placeholder="请输入报警人电话" inputAlign="right" |
| | | placeholderClass="f-28 c-99"></u--input> |
| | | </u-form-item> |
| | | <u-form-item label="报警内容" borderBottom required prop="alarmDescribe" :borderBottom="false"> |
| | | <u-input type="textarea" v-model="info.alarmDescribe" border="none" placeholderClass="f-28 c-99" |
| | |
| | | </u-input> |
| | | </u-form-item> |
| | | <u-form-item label="接警人姓名" prop="policeName" :borderBottom="false" required> |
| | | <u-input v-model="info.policeName" disabled disabledColor="#fff" border="none" |
| | | placeholder="请输入接警人姓名" placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-input v-model="info.policeName" border="none" placeholder="请输入接警人姓名" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="接警人电话" prop="policePhone" :borderBottom="false" required> |
| | | <u--input border="none" type="number" v-model="info.policePhone" |
| | | placeholder="请输入接警人电话" inputAlign="right"></u--input> |
| | | <u--input border="none" type="number" v-model="info.policePhone" placeholder="请输入接警人电话" |
| | | inputAlign="right"></u--input> |
| | | </u-form-item> |
| | | <u-form-item label="接警时间" prop="alarmResponseTime" :borderBottom="false" required @click="showSelectDate = true"> |
| | | <u-input v-model="info.alarmResponseTime" disabled disabledColor="#ffffff" border="none" placeholder="请选择" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-form-item label="接警时间" prop="alarmResponseTime" :borderBottom="false" required |
| | | @click="showSelectDate = true"> |
| | | <u-input v-model="info.alarmResponseTime" disabled disabledColor="#ffffff" border="none" |
| | | placeholder="请选择" placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | <u-form-item @click="showSelectBus('是否有人受伤','injuryFlag')" label="是否有人受伤" prop="injuryFlag" :borderBottom="false" required> |
| | | <u--input border="none" v-model="selectDefaultName.injuryFlag" disabled |
| | | disabledColor="#ffffff" placeholder="请选择是否有人受伤" inputAlign="right"> |
| | | <u-form-item @click="showSelectBus('是否有人受伤','injuryFlag')" label="是否有人受伤" prop="injuryFlag" |
| | | :borderBottom="false" required> |
| | | <u--input border="none" v-model="selectDefaultName.injuryFlag" disabled disabledColor="#ffffff" |
| | | placeholder="请选择是否有人受伤" inputAlign="right"> |
| | | </u--input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | <u-form-item @click="showSelectBus('公安事件','publicIncidents')" label="公安事件" prop="publicIncidents" :borderBottom="false" required> |
| | | <u--input border="none" v-model="selectDefaultName.publicIncidents" disabled |
| | | disabledColor="#ffffff" placeholder="请选择公安事件" inputAlign="right"> |
| | | <u-form-item @click="showSelectBus('公安事件','publicIncidents')" label="公安事件" prop="publicIncidents" |
| | | :borderBottom="false" required> |
| | | <u--input border="none" v-model="selectDefaultName.publicIncidents" disabled disabledColor="#ffffff" |
| | | placeholder="请选择公安事件" inputAlign="right"> |
| | | </u--input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | </u-form> |
| | | </view> |
| | | |
| | | |
| | | <u-picker :defaultIndex="[selectDefaultIndex[selectBusKey]]" :closeOnClickOverlay="true" v-if="typeShow" |
| | | :show="typeShow" :columns="[selectBusList]" @close="typeShow = false" @cancel="typeShow = false" |
| | | keyName="name" @confirm="typeSelect"></u-picker> |
| | |
| | | |
| | | <script> |
| | | import { |
| | | getPoliceDetail,updateInfo |
| | | getPoliceDetail, |
| | | updateInfo |
| | | } from "@/api/police/police" |
| | | import uploadMixin from "@/mixin/uploadMixin"; |
| | | import { |
| | |
| | | mixins: [uploadMixin], |
| | | data() { |
| | | return { |
| | | typeShow:false, |
| | | typeShow: false, |
| | | form: {}, |
| | | // formatter:"", |
| | | info: { |
| | |
| | | policeName: "", |
| | | policePhone: "", |
| | | createTime: "", |
| | | injuryFlag:"", |
| | | publicIncidents:"" |
| | | injuryFlag: "", |
| | | publicIncidents: "" |
| | | }, |
| | | rules: { |
| | | 'selectDefaultName.alarmType': [{ |
| | |
| | | }], |
| | | }, |
| | | dataList: { |
| | | alarmType:[], |
| | | alarmType: [], |
| | | gender: [{ |
| | | value: 1, |
| | | name: '男', |
| | |
| | | name: '女', |
| | | } |
| | | ], |
| | | publicIncidents: [ |
| | | { |
| | | value: 2, |
| | | name: '是', |
| | | },{ |
| | | value: 1, |
| | | name: '否', |
| | | } |
| | | ], |
| | | publicIncidents: [{ |
| | | value: 2, |
| | | name: '是', |
| | | }, { |
| | | value: 1, |
| | | name: '否', |
| | | }], |
| | | injuryFlag: [{ |
| | | value: 1, |
| | | name: '是', |
| | |
| | | gender: 0, |
| | | injuryFlag: 0, |
| | | publicIncidents: 0, |
| | | alarmType:0 |
| | | alarmType: 0 |
| | | }, |
| | | selectDefaultName: { |
| | | alermType:"", |
| | | alermType: "", |
| | | gender: "", |
| | | injuryFlag: "", |
| | | publicIncidents: "", |
| | |
| | | console.log(res); |
| | | if (res.code == 200) { |
| | | this.info = res.data; |
| | | if(this.info.alarmResponseTime){ |
| | | this.info.alarmResponseTime = this.info.alarmResponseTime.substring(0,16) |
| | | if (this.info.alarmResponseTime) { |
| | | this.info.alarmResponseTime = this.info.alarmResponseTime.substring(0, 16) |
| | | } |
| | | let data = res.data; |
| | | for (let i in this.selectDefaultIndex) { |
| | |
| | | submitInfo() { |
| | | this.$refs.form.validate().then(valid => { |
| | | this.info.status = 2; |
| | | if(this.info.alarmResponseTime){ |
| | | if (this.info.alarmResponseTime) { |
| | | this.info.alarmResponseTime = this.info.alarmResponseTime + ":00" |
| | | } |
| | | updateInfo(this.info).then(res => { |
| | |
| | | let pages = getCurrentPages(); |
| | | let prePage = pages[pages.length - 2]; |
| | | prePage.$vm.resetParams(); |
| | | prePage.$vm.list= []; |
| | | prePage.$vm.list = []; |
| | | uni.navigateBack(); |
| | | }, |
| | | |
| | |
| | | } |
| | | if (option.reportType == 1) { |
| | | uni.setNavigationBarTitle({ |
| | | title: "取保候审" |
| | | title: "取保监居" |
| | | }) |
| | | } else if (option.reportType == 7) { |
| | | uni.setNavigationBarTitle({ |
| | |
| | | })
|
| | | this.form.placeName = data['placeName'] || ''
|
| | | Object.keys(this.form).forEach(key => {
|
| | | if (!data[key]) {
|
| | | if (!data[key] && key != "placeExtEntity") {
|
| | | // this.form[key] = dpaEntity[key] || '未完善'
|
| | | this.form[key] = dpaEntity[key]
|
| | | } else if (key == "placeExtEntity") {
|
| | | if (data.placeExtEntity) {
|
| | | this.form.placeExtEntity = data.placeExtEntity;
|
| | | } else {
|
| | | this.form.placeExtEntity = {
|
| | | landlordName: "",
|
| | | landlordIdCard: "",
|
| | | landlordPhone: "",
|
| | | landlordWxAccount: "",
|
| | | legalPerson: "",
|
| | | legalTel: "",
|
| | | legalIdCard: "",
|
| | | placeId: "",
|
| | | }
|
| | | }
|
| | | } else {
|
| | | // this.form[key] = data[key] || '未完善'
|
| | | this.form[key] = data[key]
|
| | |
| | | doorplateType,
|
| | | addressLevel
|
| | | } = res.data;
|
| | | if (isJurl == 1) {
|
| | | if ((doorplateType == "中门牌" && addressLevel != 4) || doorplateType == "小门牌") {
|
| | | if (isJur == 1) {
|
| | | if (doorplateType == "中门牌" || doorplateType == "小门牌") {
|
| | | if (res.data.addressType) {
|
| | | this.addressType = res.data.addressType
|
| | | }
|
| | |
| | | }) |
| | | this.form.placeName = data['placeName'] || '' |
| | | Object.keys(this.form).forEach(key => { |
| | | if (!data[key]) { |
| | | if (!data[key] != "placeExtEntity") { |
| | | // this.form[key] = dpaEntity[key] || '未完善' |
| | | this.form[key] = dpaEntity[key] |
| | | } else if (key == "placeExtEntity") { |
| | | if (data.placeExtEntity) { |
| | | this.form.placeExtEntity = data.placeExtEntity; |
| | | } else { |
| | | this.form.placeExtEntity = { |
| | | landlordName: "", |
| | | landlordIdCard: "", |
| | | landlordPhone: "", |
| | | landlordWxAccount: "", |
| | | legalPerson: "", |
| | | legalTel: "", |
| | | legalIdCard: "", |
| | | placeId: "", |
| | | } |
| | | } |
| | | } else { |
| | | // this.form[key] = data[key] || '未完善' |
| | | this.form[key] = data[key] |
| | |
| | | |
| | | <!-- <footer-btn @click="submitInfo"></footer-btn> --> |
| | | |
| | | <button class="submit-btn" @click="sumitInfo">提交</button> |
| | | <button class="submit-btn" @click="submitInfo">提交</button> |
| | | <button class="list-btn" @click="navToRecord">巡查记录</button> |
| | | |
| | | |
| | |
| | | |
| | | <!-- <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> --> |
| | | |
| | | <button class="submit-btn" @click="sumitInfo">{{isEdit?"保存":"提交"}}</button> |
| | | <button class="submit-btn" @click="submitInfo">{{isEdit?"保存":"提交"}}</button> |
| | | <button class="list-btn" @click="navToRecord">走访记录</button> |
| | | |
| | | |