From 80c36b8756f55e2655a1ed53522709fa1baaabaf Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 22 Oct 2021 09:57:32 +0800
Subject: [PATCH] 修改
---
pages/securityStaff/information.vue | 10 ++++++----
pages/examine/examine.vue | 6 +++---
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/pages/examine/examine.vue b/pages/examine/examine.vue
index be7bc38..1d19f25 100644
--- a/pages/examine/examine.vue
+++ b/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;
diff --git a/pages/securityStaff/information.vue b/pages/securityStaff/information.vue
index af45b2c..1d41cd2 100644
--- a/pages/securityStaff/information.vue
+++ b/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)
}
})
--
Gitblit v1.9.3