| | |
| | | "navigationBarTitleText": "青羊分局经侦大队", |
| | | "navigationBarTextStyle": "black" |
| | | }, |
| | | "tabBar": { |
| | | |
| | | "list": [{ |
| | | |
| | | "pagePath": "pages/user/index", |
| | | |
| | | "text": "首页", |
| | | |
| | | "iconPath": "/image/home.png", |
| | | |
| | | "selectedIconPath": "/image/home_art.png" |
| | | |
| | | },{ |
| | | |
| | | "pagePath": "pages/user/group/index", |
| | | |
| | | "text": "案件咨询", |
| | | |
| | | "iconPath": "/image/center.png", |
| | | |
| | | "selectedIconPath": "/image/center_art.png" |
| | | |
| | | },{ |
| | | |
| | | "pagePath": "pages/manager/myself/index", |
| | | |
| | | "text": "我的", |
| | | |
| | | "iconPath": "/image/user.png", |
| | | |
| | | "selectedIconPath": "/image/user_art.png" |
| | | |
| | | }] |
| | | |
| | | }, |
| | | "sitemapLocation": "sitemap.json" |
| | | } |
| | |
| | | // app.ts |
| | | App({ |
| | | globalData: { |
| | | url:'https://qyqjzdd.cdqingyang.gov.cn/qyjz', |
| | | // url:'http://192.168.3.220:8080', |
| | | // url:'https://qyqjzdd.cdqingyang.gov.cn/qyjz', |
| | | url:'http://192.168.3.220:8080', |
| | | // url:'http://221.237.182.28:8443/api', |
| | | imageUrl:'https://qyqjzdd.cdqingyang.gov.cn/minio' |
| | | // imageUrl:'http://192.168.3.220:8080/minio' |
| | |
| | | if (role == 1) { |
| | | wx.redirectTo( |
| | | { |
| | | url: '../manager/index' |
| | | url: '../user/index' |
| | | } |
| | | ) |
| | | } |
| | |
| | | wx.setStorageSync('phone', res.data.msg) |
| | | if (res.data.data==2) { |
| | | wx.redirectTo( |
| | | { |
| | | url: '../user/pubulicty/index' |
| | | { url: '../user/index' |
| | | // url: '../user/pubulicty/index' |
| | | // url: '../user/loginInfo/index' |
| | | } |
| | | ) |
| | |
| | | ) |
| | | }else{ |
| | | wx.redirectTo( |
| | | { |
| | | url: '../manager/index' |
| | | {url: '../user/index' |
| | | // url: '../manager/index' |
| | | } |
| | | ) |
| | | } |
| | |
| | | </view> |
| | | <view class="span">{{reportList.name}} <view class="pNum">{{reportList.phoneNum}}</view> |
| | | </view> |
| | | <view class="wenzi">青阳区公安分局经侦大队</view> |
| | | <view class="wenzi">青羊区公安分局经侦大队</view> |
| | | <view class="span2"> |
| | | <view class="cNum">{{reportList.causeNum}} |
| | | <view class="wenzi-low">案件数</view> |
| | |
| | | </view> |
| | | </view> |
| | | <van-empty class="empty" description="尚未加入群组" wx:if="{{groupList.length === 0}}"> |
| | | <van-button round type="info" size="small" custom-class ="bottom-button" bind:click="toHome">回到首页</van-button> |
| | | <!-- <van-button round type="info" size="small" custom-class ="bottom-button" bind:click="toHome">回到首页</van-button> --> |
| | | </van-empty> |
| | | </view> |
| | |
| | | }}) |
| | | if (wx.getStorageSync('info') == '') { |
| | | wx.redirectTo({ |
| | | url: '../user/loginInfo/index' |
| | | url: "pages/user/index" |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | toDetailedInformation(){ |
| | | console.log('报案详情'); |
| | | wx.navigateTo({ |
| | | url: '/pages/manager/report/index' |
| | | }) |
| | | }, |
| | | toManage(){ |
| | | console.log('案件管理'); |
| | | wx.navigateTo({ |
| | | url: '/pages/manager/cause/index' |
| | | }) |
| | | }, |
| | | getReport() { |
| | | wx.navigateTo({ |
| | | url: '../user/report/index' |
| | |
| | | <!-- <text class="font-name">青阳经侦</text> --> |
| | | </view> |
| | | <view class="box-title"> |
| | | <view class="box1" bindtap="getGroup"> |
| | | |
| | | <!-- <view class="box1" bindtap="getGroup"> |
| | | <image class="icon" src="../icon/16_jinhuodl.png"></image> |
| | | <text class="font-wenzi">群组聊天</text> |
| | | </view> |
| | | <view class="box1" bindtap="getPublicty"> |
| | | <image class="icon" src="../icon/25_zhanghumx.png"></image> |
| | | <text class="font-wenzi">公共宣传</text> |
| | | </view> |
| | | <view class="box1" bindtap="getReport"> |
| | | </view> --> |
| | | <!-- <view class="box1" bindtap="getReport"> |
| | | <image class="icon" src="../icon/9_baoanguangli.png"></image> |
| | | <text class="font-wenzi">受损人员</text> |
| | | <text class="font-wenzi">信息登记</text> |
| | | </view> |
| | | <view class="box1" bindtap="getAudi"> |
| | | </view> --> |
| | | <!-- <view class="box1" bindtap="getAudi"> |
| | | <image class="icon" src="../icon/3_xiaji.png"></image> |
| | | <text class="font-wenzi">个人中心</text> |
| | | </view> --> |
| | | <view class="box2" bindtap="getReport"> |
| | | <text class="font-wenzi">受损人员信息登记</text> |
| | | </view> |
| | | <view class="box2 box3" bindtap="toDetailedInformation"> |
| | | <text class="font-wenzi">报案详情</text> |
| | | </view> |
| | | <view class="box2" bindtap="toManage"> |
| | | <text class="font-wenzi">案件管理</text> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="container3"> |
| | |
| | | } |
| | | |
| | | .box-title { |
| | | /* position: fixed; |
| | | top: 2rem; */ |
| | | height: 4rem; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | |
| | | } |
| | | |
| | | .box2 { |
| | | display: inline-grid; |
| | | flex: 1; |
| | | align-items: center; |
| | | /* border: 1px solid #CCC; */ |
| | | border-radius: 1rem; |
| | | background: -webkit-linear-gradient(left,#C0DEFE,#BFDEFD,#D9ECFB,#C0DEFE); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | float: right; |
| | | height: 70px; |
| | | margin-top: 50%; |
| | | margin-right: -8%; |
| | | width: 145px; |
| | | /* border: 1px solid rgba(0,0,0,0.2); */ |
| | | } |
| | | |
| | | .box3 { |
| | | display: inline-grid; |
| | | align-items: center; |
| | | justify-content: center; |
| | | float: left; |
| | | /* margin-right: 15px; */ |
| | | margin-left: -8%; |
| | | height: 70px; |
| | | width: 145px; |
| | | /* border: 1px solid rgba(0,0,0,0.2); */ |
| | | margin: 0 1rem; |
| | | } |
| | | |
| | | .box4 { |
| | |
| | | .font-wenzi { |
| | | /* margin-left: 20px; */ |
| | | font-size: 13px; |
| | | font-weight: 900; |
| | | } |
| | | |
| | | |
| | |
| | | import { formatTime } from 'miniprogram/utils/util'; |
| | | Page({ |
| | | data: { |
| | | phoneDisab:true, |
| | | isInGroup:'', |
| | | remarks: '', |
| | | addFig:false, |
| | |
| | | getuserIdCard(e) { |
| | | this.setData({ |
| | | userIdCard: e.detail |
| | | }) |
| | | }, |
| | | getuserPhone(e){ |
| | | this.setData({ |
| | | phone: e.detail |
| | | }) |
| | | }, |
| | | getLocation(e) { |
| | |
| | | // }) |
| | | // return |
| | | // } |
| | | if (wx.getStorageSync('role')==1) { |
| | | wx.request( |
| | | { |
| | | url: submitReport.globalData.url + "/wx/user/policeAddReport", |
| | | method: this.data.addFig?"PUT":"POST", |
| | | data: this.data.reportDetail, |
| | | header: { |
| | | 'token': wx.getStorageSync('token'), |
| | | 'content-type': 'application/json' |
| | | }, success: (res) => { |
| | | wx.reLaunch({ |
| | | url: '../../report/index' |
| | | }) |
| | | } |
| | | }) |
| | | }else{ |
| | | wx.request( |
| | | { |
| | | url: submitReport.globalData.url + "/wx/user/addReport", |
| | |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | onLoad:function(e) { |
| | | console.log(e); |
| | | let that = this |
| | | let role = wx.getStorageSync('role') |
| | | if (role==1) { |
| | | that.setData({ |
| | | phoneDisab :false |
| | | }) |
| | | } |
| | | let phone = wx.getStorageSync('phone') |
| | | that.setData({ |
| | | phone: phone |
| | |
| | | </view> |
| | | |
| | | <van-field bind:input="getuserIdCard" required value="{{ userIdCard }}" label="身份证" placeholder="请输入身份证" /> |
| | | <van-field disabled required value="{{ phone }}" label="联系电话" placeholder="请输入联系电话" /> |
| | | <van-field disabled="{{phoneDisab}}" bind:input="getuserPhone" required value="{{ phone }}" label="联系电话" placeholder="请输入联系电话" /> |
| | | <van-field bind:input="getLocation" required value="{{ Location }}" label="现住址" placeholder="请输入现住址" /> |
| | | <van-field bind:input="getworkingLocation" required value="{{ workingLocation }}" label="工作单位" placeholder="请输入工作单位" /> |
| | | <view class="cause"> |
| | |
| | | "packNpmManually": true |
| | | }, |
| | | "simulatorType": "wechat", |
| | | "simulatorPluginLibVersion": {}, |
| | | "simulatorPluginLibVersion": { |
| | | "wxext14566970e7e9f62": "2.27.3" |
| | | }, |
| | | "condition": {}, |
| | | "srcMiniprogramRoot": "miniprogram/", |
| | | "editorSetting": { |