Merge remote-tracking branch 'origin/master'
11 files modified
1 files renamed
11 files added
| | |
| | | "quickapp" : {}, |
| | | /* 小程序特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx739eb6d9c0fbc711", |
| | | "appid" : "wx8d8a6035fb1fb858", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "minified" : true, |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/myself/childen/aboutUs", |
| | | "name": "aboutUs", |
| | | "style": { |
| | | "navigationBarTitleText": "关于我们", |
| | | "navigationBarBackgroundColor": "#F56968" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/myself/childen/shezhi", |
| | | "name": "shezhi", |
| | | "style": { |
| | | "navigationBarTitleText": "系统设置", |
| | | "navigationBarBackgroundColor": "#F56968" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/myself/childen/yijian", |
| | | "name": "yijian", |
| | | "style": { |
| | | "navigationBarTitleText": "意见反馈", |
| | | "navigationBarBackgroundColor": "#F56968" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/myself/childen/genxin", |
| | | "name": "genxin", |
| | | "style": { |
| | | "navigationBarTitleText": "版本更新", |
| | | "navigationBarBackgroundColor": "#F56968" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/myself/childen/xinxi", |
| | | "name": "xinxi", |
| | | "style": { |
| | | "navigationBarTitleText": "账户信息", |
| | | "navigationBarBackgroundColor": "#F56968" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/business/business", |
| | | "name": "business", |
| | | "style": { |
| | |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/submit', |
| | | method:'POST', |
| | | data:{ |
| | | "id":this.id, |
| | | "tenantName":this.tenantName, |
| | | "linkman":this.linkman, |
| | | "contactNumber":this.contactNumber, |
| | | "address":this.address, |
| | | "type":this.type, |
| | | "domain":this.domain, |
| | | "id":this.id, |
| | | "tenantName":this.tenantName, |
| | | "linkman":this.linkman, |
| | | "contactNumber":this.contactNumber, |
| | | "address":this.address, |
| | | "type":this.type, |
| | | "domain":this.domain |
| | | }, |
| | | success: (res) => { |
| | | if(res.data.code==200){ |
| | |
| | | width: 180rpx; |
| | | height: 180rpx; |
| | | border-radius: 100rpx; |
| | | line-height:200rpx; |
| | | line-height:180rpx; |
| | | color: #FFFFFF; |
| | | letter-spacing: 2rpx; |
| | | } |
| | |
| | | <template> |
| | | <view class="content"> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户名称: </text> |
| | | <input class="input" type="text" v-model="tenantName" placeholder="请输入客户名称" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info-linkman"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>联系人: </text> |
| | | <input class="input" type="text" v-model="linkman" placeholder="请输入联系人名称" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>联系电话: </text> |
| | | <input class="input" type="text" v-model="contactNumber" placeholder="请输入联系电话" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户地址: </text> |
| | | <input class="input" type="text" v-model="address" placeholder="请输入客户地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户类型: </text> |
| | | <picker @change="typeSelect" :range="typeArray" class="type-select"> |
| | | <label class="" v-model="typeArrayType">{{ typeArrayType }}</label> |
| | | </picker> |
| | | <!-- <input class="input" type="text" v-model="type" placeholder="请输入客户类型" placeholder-class="placeholder" /> --> |
| | | </view> |
| | | <view class="row regis-info-desc"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>域名地址: </text> |
| | | <input class="input" type="text" v-model="domain" placeholder="请输入域名地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | |
| | | <button class="btn" @click="confirm">上传</button> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>客户名称: |
| | | </text> |
| | | <input class="input" type="text" v-model="tenantName" placeholder="请输入客户名称" |
| | | placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info-linkman"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>联系人: |
| | | </text> |
| | | <input class="input" type="text" v-model="linkman" placeholder="请输入联系人名称" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>联系电话: |
| | | </text> |
| | | <input class="input" type="text" v-model="contactNumber" placeholder="请输入联系电话" |
| | | placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>客户地址: |
| | | </text> |
| | | <input class="input" type="text" v-model="address" placeholder="请输入客户地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>客户类型: |
| | | </text> |
| | | <picker @change="typeSelect" :range="typeArray" class="type-select"> |
| | | <label class="" v-model="typeArrayType">{{ typeArrayType }}</label> |
| | | </picker> |
| | | <!-- <input class="input" type="text" v-model="type" placeholder="请输入客户类型" placeholder-class="placeholder" /> --> |
| | | </view> |
| | | <view class="row regis-info-desc"> |
| | | <text class="info-title"> |
| | | <!-- <span style="color: red;">* --></span>域名地址: |
| | | </text> |
| | | <input class="input" type="text" v-model="domain" placeholder="请输入域名地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | |
| | | <button class="btn" @click="confirm">上传</button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default{ |
| | | data () { |
| | | export default { |
| | | data() { |
| | | return { |
| | | tenantName:"", |
| | | linkman:"", |
| | | contactNumber:"", |
| | | address:"", |
| | | type:null, |
| | | domain:"", |
| | | display:'none', |
| | | display1:'none', |
| | | display2:'none', |
| | | display3:'none', |
| | | typeArray:["学校","医院","小区"], |
| | | typeArrayIndex:0, |
| | | typeArrayType:'---请选择---' |
| | | tenantName: "", |
| | | linkman: "", |
| | | contactNumber: "", |
| | | address: "", |
| | | type: null, |
| | | domain: "", |
| | | display: 'none', |
| | | display1: 'none', |
| | | display2: 'none', |
| | | display3: 'none', |
| | | typeArray: ["学校", "医院", "小区"], |
| | | typeArrayIndex: 0, |
| | | typeArrayType: '---请选择---', |
| | | pathUrl:"https://web.byisf.com/api/blade-system" |
| | | // pathUrl: "http://localhost:8106" |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | //客户类型下拉改变事件 |
| | | typeSelect(e){ |
| | | typeSelect(e) { |
| | | var that = this; |
| | | this.typeArrayIndex = e.target.value; |
| | | this.typeArrayType=this.typeArray[this.typeArrayIndex]; |
| | | if(that.typeArrayType == '学校'){ |
| | | this.typeArrayType = this.typeArray[this.typeArrayIndex]; |
| | | if (that.typeArrayType == '学校') { |
| | | that.type = 1; |
| | | } |
| | | if(that.typeArrayType =='医院'){ |
| | | if (that.typeArrayType == '医院') { |
| | | that.type = 2; |
| | | } |
| | | if(that.typeArrayType =='小区'){ |
| | | if (that.typeArrayType == '小区') { |
| | | that.type = 3; |
| | | } |
| | | }, |
| | | |
| | | |
| | | //提交信息 |
| | | confirm(){ |
| | | confirm() { |
| | | var that = this; |
| | | uni.request({ |
| | | // url: 'http://localhost:89/equipment/equipment/AppSubmit?'+params, //仅为示例,并非真实接口地址。 |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/submit', //仅为示例,并非真实接口地址。 |
| | | method:'POST', |
| | | data:{ |
| | | "tenantName":this.tenantName, |
| | | "linkman":this.linkman, |
| | | "contactNumber":this.contactNumber, |
| | | "address":this.address, |
| | | "type":this.type, |
| | | "domain":this.domain, |
| | | url: that.pathUrl + "/tenant/submit", |
| | | method: 'POST', |
| | | data: { |
| | | "id":this.id, |
| | | "tenantName":this.tenantName, |
| | | "linkman":this.linkman, |
| | | "contactNumber":this.contactNumber, |
| | | "address":this.address, |
| | | "type":this.type, |
| | | "domain":this.domain |
| | | }, |
| | | success: (res) => { |
| | | if(res.data.code==200){ |
| | | if (res.data.code == 200) { |
| | | uni.showToast({ |
| | | title: '提交成功!', |
| | | duration: 2000 |
| | | title: '提交成功!', |
| | | duration: 2000 |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | left: 20rpx; |
| | | border-bottom: 0.05px solid #B4BCCC; |
| | | } |
| | | |
| | | |
| | | .regis-info-desc { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | position: relative; |
| | | left: 20rpx; |
| | | } |
| | | |
| | | .regis-info-desc input{ |
| | | |
| | | .regis-info-desc input { |
| | | position: relative; |
| | | left: 40rpx; |
| | | top: 27rpx; |
| | | letter-spacing: 1rpx; |
| | | } |
| | | |
| | | .regis-info-linkman{ |
| | | |
| | | .regis-info-linkman { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | position: relative; |
| | | left: 20rpx; |
| | | border-bottom: 0.05px solid #B4BCCC; |
| | | } |
| | | |
| | | .regis-info-linkman input{ |
| | | |
| | | .regis-info-linkman input { |
| | | position: relative; |
| | | left: 70rpx; |
| | | top: 27rpx; |
| | | letter-spacing: 1rpx; |
| | | } |
| | | |
| | | .info-title{ |
| | | |
| | | .info-title { |
| | | letter-spacing: 1rpx; |
| | | float: left; |
| | | line-height: 100rpx; |
| | | font-weight: 530; |
| | | } |
| | | |
| | | .regis-info input{ |
| | | |
| | | .regis-info input { |
| | | position: relative; |
| | | left: 40rpx; |
| | | top: 27rpx; |
| | | letter-spacing: 1rpx; |
| | | } |
| | | |
| | | .btn{ |
| | | |
| | | .btn { |
| | | position: relative; |
| | | top: 40rpx; |
| | | background-color: #007AFF; |
| | | width: 180rpx; |
| | | height: 180rpx; |
| | | border-radius: 100rpx; |
| | | line-height:200rpx; |
| | | line-height: 180rpx; |
| | | color: #FFFFFF; |
| | | letter-spacing: 2rpx; |
| | | } |
| | | |
| | | .type-select{ |
| | | |
| | | .type-select { |
| | | position: relative; |
| | | left: 45rpx; |
| | | top: 28rpx; |
| | |
| | | <!-- <span style="position: absolute;top: 0;">user: {{$store.state.message.useName}}</span> --> |
| | | <view class="main"> |
| | | <view class="topImg"> |
| | | <image class="Timg" src="../../static/用户.png" mode=""></image> |
| | | <image class="Timg" src="../../static/users.png" mode=""></image> |
| | | </view> |
| | | <view class="titie"> |
| | | <span>物联网安保云服务平台</span> |
| New file |
| | |
| | | <template> |
| | | <view class="aboutUs"> |
| | | <view class="up"> |
| | | <image src="../../../static/users.png" mode=""></image> |
| | | <view class="a"> |
| | | 6.4.1 |
| | | </view> |
| | | <view class="b"> |
| | | 2020.02.29 |
| | | </view> |
| | | <view class="jianjie"> |
| | | 公司成立于1993年,注册资金1260万,公司在北京、深圳设有研发实体、在九江、赣州、上饶、修水等地设有分公司,主要从事通信系统建设、计算机网络系统集成、弱电及楼宇智能化建设、安防系统工程建设等方面的项目设计、工程实施与维护、技术咨询与服务的高新技术企业。涉及安防领域项目建设,包括金融系统联网报警、公安指挥三台合一、视频监控、门禁、监听、对讲、周界防范、电子巡更、室内屏蔽等系统。公司客户范围涉及政法(公安、监狱、看守所、拘留所)、电力、交通、金融、文教、电信、移动、联通、广电等系统单位。公司具有良好的发展平台及广阔的发展空间,热诚欢迎行业精英加入。 |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="down"> |
| | | 安防管理系统 Copyright © 江西北邮信息通信技术有限公司 |
| | | </view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .aboutUs { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | |
| | | .up { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | |
| | | image { |
| | | width: 4rem; |
| | | height: 4rem; |
| | | } |
| | | |
| | | .jianjie { |
| | | padding: 1rem 1rem 0 1rem; |
| | | text-indent:2em; |
| | | line-height: 1.54rem; |
| | | // letter-spacing: 0.08rem; |
| | | } |
| | | |
| | | .a { |
| | | padding-top: 1rem; |
| | | } |
| | | } |
| | | |
| | | .down { |
| | | position: fixed; |
| | | bottom: 1rem; |
| | | |
| | | font-size: 0.1rem; |
| | | } |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="aboutUs"> |
| | | <image src="../../../static/users.png" mode=""></image> |
| | | <view class="a"> |
| | | 6.4.1 |
| | | </view> |
| | | <view class="b"> |
| | | 2020.02.29 |
| | | </view> |
| | | <view class="genxinBut"> |
| | | <button class="custom-btn btn-3" @click="upMain"><span>点击更新</span></button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | methods: { |
| | | upMain() { |
| | | uni.showLoading({ |
| | | title: "正在检查更新...", |
| | | mask: true |
| | | }) |
| | | var time = setTimeout(() => { |
| | | wx.showToast({ |
| | | title: '您当前是最新版!', |
| | | icon: "success", |
| | | duration: 1000 |
| | | }) |
| | | time = null |
| | | }, 1000) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .aboutUs { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | |
| | | image { |
| | | width: 4rem; |
| | | height: 4rem; |
| | | } |
| | | |
| | | .a { |
| | | padding-top: 1rem; |
| | | } |
| | | |
| | | .genxinBut { |
| | | .custom-btn { |
| | | width: 130px; |
| | | height: 40px; |
| | | color: #fff; |
| | | border-radius: 5px; |
| | | padding: 10px 25px; |
| | | font-family: 'Lato', sans-serif; |
| | | font-weight: 500; |
| | | background: transparent; |
| | | cursor: pointer; |
| | | transition: all 0.3s ease; |
| | | position: relative; |
| | | display: inline-block; |
| | | box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), |
| | | 7px 7px 20px 0px rgba(0, 0, 0, .1), |
| | | 4px 4px 5px 0px rgba(0, 0, 0, .1); |
| | | outline: none; |
| | | } |
| | | |
| | | .btn-3 { |
| | | background: rgb(0, 172, 238); |
| | | background: linear-gradient(0deg, rgba(0, 172, 238, 1) 0%, rgba(2, 126, 251, 1) 100%); |
| | | width: 130px; |
| | | height: 40px; |
| | | line-height: 42px; |
| | | padding: 0; |
| | | border: none; |
| | | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="shezhi"> |
| | | 更多功能即将上线······ |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .shezhi{ |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="xinxi"> |
| | | <view class="once"> |
| | | <view class="title"> |
| | | 姓名: |
| | | </view> |
| | | <view class="msg"> |
| | | {{name}} |
| | | </view> |
| | | </view> |
| | | <view class="once"> |
| | | <view class="title"> |
| | | 电话: |
| | | </view> |
| | | <view class="msg"> |
| | | {{phon}} |
| | | </view> |
| | | </view> |
| | | <view class="once"> |
| | | <view class="title"> |
| | | 编号: |
| | | </view> |
| | | <view class="msg"> |
| | | {{id}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default{ |
| | | data(){ |
| | | return{ |
| | | |
| | | } |
| | | }, |
| | | computed:{ |
| | | name(){ |
| | | return this.$store.state.puserName |
| | | }, |
| | | id(){ |
| | | return this.$store.state.puserID |
| | | }, |
| | | phon(){ |
| | | return this.$store.state.puserIphone |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .xinxi{ |
| | | width: 100%; |
| | | height: 90%; |
| | | box-sizing: border-box; |
| | | .once{ |
| | | &:first-child{ |
| | | margin-top: 1rem; |
| | | box-sizing: border-box; |
| | | } |
| | | box-sizing: border-box; |
| | | margin: 0 auto; |
| | | width: 95%; |
| | | height: 2rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | border-bottom: 1px solid rgba($color: #000000, $alpha: 0.1); |
| | | margin-bottom: 0.5rem; |
| | | } |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <view class="yijian"> |
| | | <view class="title"> |
| | | |
| | | 请输入改善意见,我们将会第一时间处理!:) |
| | | </view> |
| | | <textarea class="longInput" cols="4" rows="8" placeholder="请输入"></textarea> |
| | | <view class="butUps" @click="upMain"> |
| | | 提交 |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | methods: { |
| | | upMain() { |
| | | uni.showLoading({ |
| | | title: "正在提交...", |
| | | mask: true |
| | | }) |
| | | var time = setTimeout(() => { |
| | | wx.showToast({ |
| | | title: '提交成功!', |
| | | icon: "success", |
| | | duration: 1000 |
| | | }) |
| | | time = null |
| | | }, 1000) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .yijian { |
| | | width: 100%; |
| | | height: 80%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | |
| | | .title { |
| | | // border: 1px solid rgba($color: #000000, $alpha: 1.0); |
| | | padding-bottom: 1rem; |
| | | // padding-top: 15rem; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .longInput { |
| | | border: 1px solid rgba($color: #000000, $alpha: 1.0); |
| | | } |
| | | |
| | | .butUps { |
| | | margin: 2rem auto; |
| | | width: 6rem; |
| | | height: 6rem; |
| | | border: 1px solid rgb(46, 118, 228); |
| | | border-radius: 3rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | color: #fff; |
| | | background-image: linear-gradient(to bottom, #3CA7F4, #4D7CEE); |
| | | } |
| | | } |
| | | </style> |
| | |
| | | 二维码 |
| | | </view> |
| | | </view> |
| | | <view class="nav-user"> |
| | | <navigator url="" class="nav-user-in"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/workbench/user01.png"></image> |
| | | <view class="bomBut"> |
| | | <view class="onceBut" v-for="(item, index) in inSide" :key="index" @click="openThere(item.open)"> |
| | | <view class="buts"> |
| | | <image :src="item.imgSrc" mode=""></image> |
| | | <view class="title"> |
| | | {{item.title}} |
| | | </view> |
| | | </view> |
| | | <view class="oneself-title">账户信息</view> |
| | | <view class="icon-img-right"> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </navigator> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </view> |
| | | <view class="nav"> |
| | | <navigator url="" class="nav-child"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/workbench/update.png"></image> |
| | | </view> |
| | | <view class="oneself-title">版本更新</view> |
| | | <view class="icon-img-right"> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <view class="nav"> |
| | | <navigator url="" class="nav-child"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/workbench/feedback01.png"></image> |
| | | </view> |
| | | <view class="oneself-title">意见反馈</view> |
| | | <view class="icon-img-right"> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <view class="nav"> |
| | | <navigator url="" class="nav-child"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/workbench/system.png"></image> |
| | | </view> |
| | | <view class="oneself-title">系统设置</view> |
| | | <view class="icon-img-right"> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <view class="nav-us"> |
| | | <navigator url="" class="nav-child"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/workbench/myself.png"></image> |
| | | </view> |
| | | <view class="oneself-title">关于我们</view> |
| | | <view class="icon-img-right"> |
| | | <image src="../../static/workbench/bracket.png"></image> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <view class="nav-logout"> |
| | | <!-- <view class="nav-logout"> |
| | | <navigator @click="outIn" class="nav-logout-in"> |
| | | <view class="icon-img"> |
| | | <image src="../../static/img/out.png"></image> |
| | |
| | | </navigator> |
| | | <uniPopup :textmsg="textmsg" @cancel='operation(1)' @confirm='operation(2)' v-show="showTextmsg"> |
| | | </uniPopup> |
| | | </view> |
| | | </view> --> |
| | | <uniPopup :textmsg="textmsg" @cancel='operation(1)' @confirm='operation(2)' v-show="showTextmsg"> |
| | | </uniPopup> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | contentTwo: '', |
| | | cancel: '取消', |
| | | confirm: '登出' |
| | | } |
| | | }, |
| | | inSide: [{ |
| | | title: '账户信息', |
| | | imgSrc: '../../static/myself/zhanhu.png', |
| | | open: 'xinxi' |
| | | }, |
| | | { |
| | | title: '版本更新', |
| | | imgSrc: '../../static/myself/gengxin.png', |
| | | open: 'genxin' |
| | | }, |
| | | { |
| | | title: '意见反馈', |
| | | imgSrc: '../../static/myself/yijian.png', |
| | | open: 'yijian' |
| | | }, |
| | | { |
| | | title: '系统设置', |
| | | imgSrc: '../../static/myself/shezhi.png', |
| | | open: 'shezhi' |
| | | }, |
| | | { |
| | | title: '关于我们', |
| | | imgSrc: '../../static/myself/gaunyu.png', |
| | | open: 'aboutUs' |
| | | }, |
| | | { |
| | | title: '登出', |
| | | imgSrc: '../../static/myself/denghcu.png', |
| | | open: 'outIn', |
| | | }, |
| | | |
| | | ] |
| | | } |
| | | }, |
| | | components: { |
| | |
| | | userName() { |
| | | return this.$store.state.puserName; |
| | | }, |
| | | butTitle(){ |
| | | return this.$store.state.loging == true? '登出': '登入' |
| | | butTitle() { |
| | | return this.$store.state.loging == true ? '登出' : '登入' |
| | | } |
| | | |
| | | }, |
| | | onLoad() { |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | openThere(fn) { |
| | | this[fn](); |
| | | }, |
| | | aboutUs() { |
| | | // console.log('aboutus') |
| | | wx.navigateTo({ |
| | | url: './childen/aboutUs', |
| | | }) |
| | | }, |
| | | shezhi() { |
| | | wx.navigateTo({ |
| | | url: './childen/shezhi', |
| | | }) |
| | | }, |
| | | yijian() { |
| | | wx.navigateTo({ |
| | | url: './childen/yijian', |
| | | }) |
| | | }, |
| | | genxin() { |
| | | wx.navigateTo({ |
| | | url: './childen/genxin', |
| | | }) |
| | | }, |
| | | xinxi() { |
| | | wx.navigateTo({ |
| | | url: './childen/xinxi', |
| | | }) |
| | | }, |
| | | outIn() { |
| | | if (this.$store.state.loging == true) { |
| | | this.showTextmsg = true; |
| | | }else{ |
| | | this.goToLoging(); |
| | | } else { |
| | | this.goToLoging(); |
| | | } |
| | | }, |
| | | goToLoging() { |
| | |
| | | that.showTextmsg = false; |
| | | } |
| | | }, |
| | | geton(){ |
| | | wx.navigateTo({ |
| | | url:'../poput/workbench/policeDetails/policeDetails?id=111' |
| | | }) |
| | | } |
| | | // geton() { |
| | | // wx.navigateTo({ |
| | | // url: '../poput/workbench/policeDetails/policeDetails?id=111' |
| | | // }) |
| | | // } |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | $imgSize: 30px; |
| | | // page { |
| | | // background-image: linear-gradient(to right, #F2F6F9, #F2F6F9) //页面背景颜色 |
| | | // } |
| | |
| | | } |
| | | } |
| | | |
| | | .m-body { |
| | | .bomBut { |
| | | width: 100%; |
| | | height: auto; |
| | | |
| | | .m-b-top { |
| | | background-color: #FFFFFF; |
| | | |
| | | .onceBut { |
| | | width: 100%; |
| | | height: 160rpx; |
| | | border-radius: 0 0 30rpx 30rpx; |
| | | height: 3rem; |
| | | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | justify-content: space-between; |
| | | border-bottom: 1px solid rgba($color: #000000, $alpha: 0.05); |
| | | |
| | | .m-b-t-once { |
| | | width: 115rpx; |
| | | height: 60px; |
| | | border-radius: 10rpx; |
| | | box-shadow: 1rpx 1rpx 5rpx rgba($color: #000000, $alpha: 0.4); |
| | | &:hover { |
| | | background-color: rgba($color: #000000, $alpha: 0.05); |
| | | } |
| | | |
| | | .buts { |
| | | padding-left: 1rem; |
| | | height: 2.5rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | color: rgba($color: #000000, $alpha: 0.8); |
| | | |
| | | image { |
| | | width: 70rpx; |
| | | height: 60rpx; |
| | | } |
| | | |
| | | span { |
| | | font-size: 26rpx; |
| | | display: block; |
| | | .title { |
| | | padding-left: 1rem; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .nav { |
| | | width: 90%; |
| | | height: 100rpx; |
| | | border-bottom: 1rpx solid #999999; |
| | | position: relative; |
| | | left: 30rpx; |
| | | } |
| | | |
| | | .nav-child{ |
| | | width: 100%; |
| | | height:100rpx; |
| | | } |
| | | |
| | | .nav-user { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | border-bottom: 1rpx solid #999999; |
| | | } |
| | | |
| | | .nav-user-in { |
| | | position: relative; |
| | | left: 30rpx; |
| | | height: 100rpx; |
| | | |
| | | } |
| | | |
| | | .nav-us { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | position: relative; |
| | | left: 30rpx; |
| | | } |
| | | |
| | | .icon-img image{ |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | float: left; |
| | | position: relative; |
| | | top:25rpx; |
| | | } |
| | | |
| | | .oneself-title{ |
| | | line-height: 100rpx; |
| | | float: left; |
| | | position: relative; |
| | | left: 20rpx; |
| | | font-weight: 550; |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .icon-img-right image { |
| | | line-height: 100rpx; |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | position: relative; |
| | | left: 460rpx; |
| | | top: 25rpx; |
| | | } |
| | | |
| | | |
| | | .nav-logout { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | border-bottom: 1rpx solid #999999; |
| | | border-top: 1rpx solid #999999; |
| | | position: relative; |
| | | } |
| | | |
| | | .nav-logout-in { |
| | | position: relative; |
| | | left: 30rpx; |
| | | height: 100rpx; |
| | | } |
| | | |
| | | .icon-img-logout image { |
| | | line-height: 100rpx; |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | position: relative; |
| | | left: 515rpx; |
| | | top: 25rpx; |
| | | |
| | | image { |
| | | width: $imgSize; |
| | | height: $imgSize; |
| | | } |
| | | </style> |
| | |
| | | <view class="content"> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>上报时间: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请选择上报时间" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="riskTime" placeholder="请选择上报时间" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户名称: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请选择客户" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="tenantName" placeholder="请选择客户" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>风险等级: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请选择风险等级" placeholder-class="placeholder" /> |
| | | <picker @change="riskClassSelect" :range="riskClassArray" class="riskClass-select"> |
| | | <label class="" v-model="riskClassArrayType">{{ riskClassArrayType }}</label> |
| | | </picker> |
| | | <!-- <input class="input" type="text" v-model="riskClass" placeholder="请选择风险等级" placeholder-class="placeholder" /> --> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>风险描述: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入风险描述" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="riskDescribe" placeholder="请输入风险描述" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info-addr"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>地址: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入地址" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="address" placeholder="请输入地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info-desc"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>备注: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入备注" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="descInfo" placeholder="请输入备注" placeholder-class="placeholder" /> |
| | | </view> |
| | | <button class="btn" @click="confirm">上传</button> |
| | | </view> |
| | |
| | | export default{ |
| | | data () { |
| | | return { |
| | | deviceNumber:"", |
| | | serialNumber:"", |
| | | contacts:"", |
| | | calls:"", |
| | | paddress:"", |
| | | deploymenttime:"", |
| | | deviceName:"", |
| | | riskTime:"", |
| | | tenantName:"", |
| | | riskClass:"", |
| | | riskDescribe:"", |
| | | address:"", |
| | | descInfo:"", |
| | | display:'none', |
| | | display1:'none', |
| | | display2:'none', |
| | | display3:'none' |
| | | display3:'none', |
| | | pathUrl:"https://web.byisf.com/api/blade-jfpts", |
| | | // pathUrl: "http://localhost:89", |
| | | riskClassArray:["一级","二级","三级","四级"], |
| | | riskClassArrayIndex:0, |
| | | riskClassArrayType:'---请选择---' |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | }, |
| | | methods: { |
| | | |
| | | //风险等级下拉改变事件 |
| | | riskClassSelect(e){ |
| | | var that = this; |
| | | this.riskClassArrayIndex = e.target.value; |
| | | this.riskClassArrayType=this.riskClassArray[this.riskClassArrayIndex]; |
| | | // if(that.typeArrayType == '学校'){ |
| | | // that.type = 1; |
| | | // } |
| | | // if(that.typeArrayType =='医院'){ |
| | | // that.type = 2; |
| | | // } |
| | | // if(that.typeArrayType =='小区'){ |
| | | // that.type = 3; |
| | | // } |
| | | }, |
| | | |
| | | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: this.pathUrl + '/riskReporting/save', |
| | | method:'POST', |
| | | data:{ |
| | | "riskTime":this.riskTime, |
| | | "riskNumber":this.$store.state.puserID, |
| | | "tenantName":this.tenantName, |
| | | "riskClass":this.riskClass, |
| | | "riskDescribe":this.riskDescribe, |
| | | "address":this.address, |
| | | "descInfo":this.descInfo |
| | | }, |
| | | success: (res) => { |
| | | if(res.data.code==200){ |
| | | uni.showToast({ |
| | | title: '提交成功!', |
| | | duration: 2000 |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | width: 180rpx; |
| | | height: 180rpx; |
| | | border-radius: 100rpx; |
| | | line-height:200rpx; |
| | | line-height:180rpx; |
| | | color: #FFFFFF; |
| | | letter-spacing: 2rpx; |
| | | } |
| | | |
| | | .riskClass-select{ |
| | | position: relative; |
| | | left: 45rpx; |
| | | top: 28rpx; |
| | | } |
| | | </style> |
| | |
| | | <view class="content"> |
| | | <view class="row regis-info"> |
| | | <text class="info-title">拜访日期: </text> |
| | | <view class="regis-info-date"> |
| | | <uni-datetime-picker></uni-datetime-picker> |
| | | </view> |
| | | <!-- <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请选择拜访日期" placeholder-class="placeholder" /> --> |
| | | <!-- <view class="regis-info-date"> |
| | | <uni-datetime-picker v-model="vistime"></uni-datetime-picker> |
| | | </view> --> |
| | | <input class="input" type="text" v-model="vistime" placeholder="请选择拜访日期" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户名称: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输客户主名称" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="yname" placeholder="请输客户名称" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户类型: </text> |
| | | <input class="input" type="text" v-model="type" placeholder="请输客户类型" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>联系电话: </text> |
| | | <input class="input" type="text" v-model="phone" placeholder="请输联系电话" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>客户地址: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入客户地址" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="address" placeholder="请输入客户地址" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>营业信息: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入营业信息" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="information" placeholder="请输入营业信息" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="row regis-info-desc"> |
| | | <text class="info-title"><!-- <span style="color: red;">* --></span>备注: </text> |
| | | <input class="input" type="text" v-on:input ="ondeviceName" v-model="deviceName" placeholder="请输入备注" placeholder-class="placeholder" /> |
| | | <input class="input" type="text" v-model="remark" placeholder="请输入备注" placeholder-class="placeholder" /> |
| | | </view> |
| | | <button class="btn" @click="confirm">上传</button> |
| | | </view> |
| | |
| | | export default{ |
| | | data () { |
| | | return { |
| | | deviceNumber:"", |
| | | serialNumber:"", |
| | | contacts:"", |
| | | calls:"", |
| | | paddress:"", |
| | | deploymenttime:"", |
| | | deviceName:"", |
| | | vistime:"", |
| | | yname:"", |
| | | type:"", |
| | | phone:"", |
| | | address:"", |
| | | information:"", |
| | | remark:"", |
| | | display:'none', |
| | | display1:'none', |
| | | display2:'none', |
| | | display3:'none' |
| | | display3:'none', |
| | | pathUrl:"https://web.byisf.com/api/blade-jfpts", |
| | | // pathUrl: "http://localhost:89" |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | //查询客户信息 |
| | | getTenantInfo(){ |
| | | |
| | | }, |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: this.pathUrl + '/visitrecord/visitrecord/save', |
| | | method:'POST', |
| | | data:{ |
| | | // "visitrecord": |
| | | // { |
| | | "vistime":this.vistime, |
| | | "snumber":this.$store.state.puserID, |
| | | "yname":this.yname, |
| | | "type":this.type, |
| | | "phone":this.phone, |
| | | "address":this.address, |
| | | "information":this.information, |
| | | "remark":this.remark, |
| | | // } |
| | | }, |
| | | success: (res) => { |
| | | if(res.data.code==200){ |
| | | uni.showToast({ |
| | | title: '提交成功!', |
| | | duration: 2000 |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | |
| | | width: 180rpx; |
| | | height: 180rpx; |
| | | border-radius: 100rpx; |
| | | line-height:200rpx; |
| | | line-height:180rpx; |
| | | color: #FFFFFF; |
| | | letter-spacing: 2rpx; |
| | | } |
| | |
| | | securityId: id |
| | | } : '', |
| | | that = this; |
| | | console.log(this.$store.state.puserID) |
| | | wx.request({ |
| | | url: url, |
| | | data: data, |
| | |
| | | }, |
| | | method: 'POST', |
| | | success(res) { |
| | | that.dataListP = res.data.data |
| | | // console.log(that.dataListP) |
| | | if (res.statusCode == 200) { |
| | | that.dataListP = res.data.data |
| | | console.log(that.dataListP) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | method: "post", |
| | | // // dataType: 'JSON', |
| | | success: (res) => { |
| | | data.isit = true; |
| | | data.userName = res.data.real_name;//警袁姓名 |
| | | data.userID = res.data.user_id;//警袁id |
| | | // data.userPhon = res.user_id; |
| | | store.commit('login', data); |
| | | if (res.statusCode == 200) { |
| | | data.isit = true; |
| | | data.userName = res.data.real_name; //警袁姓名 |
| | | data.userID = res.data.user_id; //警袁id |
| | | // data.userPhon = res.user_id; |
| | | store.commit('login', data); |
| | | } |
| | | // console.log(res) |
| | | }, |
| | | fail: (res) => { |
| | |
| | | |
| | | const mutations = { |
| | | login(state, data) { |
| | | console.log(data); |
| | | // console.log(data); |
| | | state.loging = data.isit; //登入状态 |
| | | if (data.isit) { //写入用户数据 |
| | | state.message.useName = data.userName; |