liukangdong
2024-06-26 6918d5d6a3e83d3a8990da5efe68a144255255d4
‘’
已添加1个文件
已修改5个文件
38 ■■■■■ 文件已修改
h5/manifest.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/staff/task/visitorReport.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/staff/vehicle/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/staff/visitorReport.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/staffLogin/login.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/static/staff/liucheng_fail@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
h5/manifest.json
@@ -92,6 +92,7 @@
                "/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,需要将这个前缀置空,因为这个前缀只是为了识别用,识别完之后就没用了
h5/pages/staff/task/visitorReport.vue
@@ -39,8 +39,8 @@
      <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>
@@ -57,6 +57,10 @@
        <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>
        <view class="value">{{ info.reason }}</view>
@@ -87,17 +91,24 @@
              "
            />
            <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"
@@ -109,7 +120,7 @@
              item.checkInfo
            }}</view>
            <!-- 抄送人 -->
            <view v-if="item.approveType == 1" class="children">
            <view class="children">
              <view
                class="child"
                v-for="child in item.approveList"
h5/pages/staff/vehicle/index.vue
@@ -91,6 +91,7 @@
      font-size: 34rpx;
      color: #222222;
      line-height: 48rpx;
            text-align: center;
    }
  }
  .banner {
h5/pages/staff/visitorReport.vue
@@ -6,13 +6,14 @@
          <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">
@@ -234,7 +235,7 @@
    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()
h5/pages/staffLogin/login.vue
@@ -122,10 +122,10 @@
        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,
h5/static/staff/liucheng_fail@2x.png