| | |
| | | "/admin_interface" : { |
| | | // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址 |
| | | "target" : "http://192.168.0.173/admin_interface", // 代理服务器域名或IP地址 |
| | | // "target" : "http://192.168.0.135:10010", // 代理服务器域名或IP地址 |
| | | "changeOrigin" : true, // 允许跨域 |
| | | "pathRewrite" : { |
| | | "^/admin_interface" : "" // 重写地址,如果实际接口中是不带/dev-api,需要将这个前缀置空,因为这个前缀只是为了识别用,识别完之后就没用了 |
| | |
| | | <view class="item"> |
| | | <view class="label">预计入/离园时间</view> |
| | | <view class="value" v-if="info.starttime" |
| | | >{{ info.starttime.slice(0, 16) }} 至 |
| | | {{ info.endtime.slice(0, 16) }}</view |
| | | >{{ info.starttime.slice(5, 16) }} 至 |
| | | {{ info.endtime.slice(5, 16) }}</view |
| | | > |
| | | </view> |
| | | <view class="emyty"></view> |
| | |
| | | <view class="item"> |
| | | <view class="label">随车人数</view> |
| | | <view class="value">{{ info.memberNum }}人</view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="label">访客单位</view> |
| | | <view class="value">{{ info.companyName }}人</view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="label">来访事由</view> |
| | |
| | | " |
| | | /> |
| | | <image |
| | | v-if="item.status == 1" |
| | | class="status" |
| | | src="@/static/staff/liucheng_success@2x.png" |
| | | mode="widthFix" |
| | | /> |
| | | <image |
| | | v-if="item.status == 2" |
| | | class="status" |
| | | src="@/static/staff/liucheng_fail@2x.png" |
| | | mode="widthFix" |
| | | /> |
| | | </view> |
| | | <view class="content"> |
| | | <view class="head"> |
| | | <view class="event">{{ item.title }}</view> |
| | | <view class="time">{{ item.checkDate }}</view> |
| | | <view class="time" v-if="item.createDate">{{ item.createDate.slice(0, 16) }}</view> |
| | | </view> |
| | | <view class="name_wrap"> |
| | | <view class="name_wrap" v-if="item.type == 0"> |
| | | <text |
| | | >{{ item.memberName |
| | | }}<text class="status" v-if="item.statusInfo" |
| | |
| | | item.checkInfo |
| | | }}</view> |
| | | <!-- 抄送人 --> |
| | | <view v-if="item.approveType == 1" class="children"> |
| | | <view class="children"> |
| | | <view |
| | | class="child" |
| | | v-for="child in item.approveList" |
| | |
| | | font-size: 34rpx; |
| | | color: #222222; |
| | | line-height: 48rpx; |
| | | text-align: center; |
| | | } |
| | | } |
| | | .banner { |
| | |
| | | <text>*</text> |
| | | <text>被访人姓名</text> |
| | | </view> |
| | | <view class="list_item_content" @click="showName = true"> |
| | | <!-- <view class="list_item_content" @click="showName = true"> --> |
| | | <view class="list_item_content"> |
| | | <text :style="{ color: form1.receptMemberName ? '#000000' : '' }">{{ |
| | | form1.receptMemberName |
| | | ? form1.receptMemberName + " " + form1.receptCompanyName |
| | | : "请选择" |
| | | }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> |
| | | <!-- <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> --> |
| | | </view> |
| | | </view> |
| | | <view class="list_item"> |
| | |
| | | const userInfo = uni.getStorageSync('userInfo') || {} |
| | | this.$set(this.form1, 'receptMemberName', userInfo.realname) |
| | | this.$set(this.form1, 'receptMemberId', userInfo.id || '') |
| | | this.$set(this.form1, 'receptCompanyName', userInfo.company.companyName || '') |
| | | this.$set(this.form1, 'receptCompanyName', userInfo.company.name || '') |
| | | // this.getvisit() |
| | | // this.getVisit1() |
| | | // this.getUserValid() |
| | |
| | | title: '密码不能为空', |
| | | icon: 'none' |
| | | }) |
| | | if (!form.code) return uni.showToast({ |
| | | title: '验证码不能为空', |
| | | icon: 'none' |
| | | }) |
| | | // if (!form.code) return uni.showToast({ |
| | | // title: '验证码不能为空', |
| | | // icon: 'none' |
| | | // }) |
| | | loginPost({ |
| | | ...form, |
| | | uuid: this.captcha.uuid, |