智慧保安互联网APP
shuishen
2021-10-22 80c36b8756f55e2655a1ed53522709fa1baaabaf
修改
2 files modified
16 ■■■■■ changed files
pages/examine/examine.vue 6 ●●●● patch | view | raw | blame | history
pages/securityStaff/information.vue 10 ●●●●● patch | view | raw | blame | history
pages/examine/examine.vue
@@ -60,7 +60,7 @@
                    <u-tabs :list="list" :is-scroll="false" :current="current" active-color="#14B9C8"
                        inactive-color="#595959" height="100" @change="change"></u-tabs>
                    <u-search v-show="current == 0" v-model='keyValue' placeholder='请输入保安员公司名称' shape="round"
                    <u-search v-show="current == 0" v-model='keyValue' placeholder='请输入保安员姓名' shape="round"
                        class="u-search" input-align="center" height="70" @search='searchValue' @custom='searchValue'
                        @clear='clearValue' @change='changeValue'>
                    </u-search>
@@ -72,7 +72,7 @@
                    <view v-show="current == 0 && newsList.length > 0">
                        <view class="inTmain" v-for="(item,index) in newsList">
                            <u-card :title="item.sname" @click="goDetail(item)">
                            <u-card :title="item.realname" @click="goDetail(item)">
                                <view class="" slot="body">
                                    <view>
                                        <view style="margin-bottom: 10px;" class="u-body-item-title u-line-1">
@@ -342,7 +342,7 @@
                            data: {
                                current: 1,
                                size: 999999,
                                sname: str
                                realname: str
                            },
                            success: (res) => {
                                var resdata = res.data.data.records;
pages/securityStaff/information.vue
@@ -93,7 +93,7 @@
                        <template v-slot:content>
                            <view>
                                <view class="u-order-title">在职时间:<view class="titles">
                                        {{item.entryTime.slice(0,11)}}至 {{item.departureTime.slice(0,11)}}
                                        {{item.entrytime}}至 {{item.departuretime}}
                                    </view>
                                </view>
                                <view class="u-order-desc">公司名称:{{item.companyname}}</view>
@@ -155,9 +155,9 @@
                this.showc = true;
            },
            getcongye() {
                var url = this.$store.state.piAPI + '/experience/selectExperienceInfo',
                var url = this.$store.state.piAPI + '/experience/page',
                    data = {
                        cardid: this.datalist.cardid
                        securityid: this.datalist.id
                    },
                    that = this;
@@ -166,12 +166,14 @@
                    data: data,
                    method: 'get',
                    success: (res) => {
                        var d = res.data.data;
                        var d = res.data.data.records;
                        var a = []
                        // for(var k = 1 ;k < 30; k++){
                        a.push(...d)
                        // }
                        that.cylist = a;
                        console.log(that.cylist, 456)
                    }
                })