Merge branch 'bjxz-lk' into bjxz-dev
This commit is contained in:
commit
67593aaa95
@ -24,6 +24,7 @@ export const sendBatchWokerApi = data => post('xmgl/ufaceDev/sendBatchWokerDev',
|
|||||||
export const pullMemberDataApi = data => post('xmgl/hikvision/getDoorEvents', data); // 拉取人员通行数据
|
export const pullMemberDataApi = data => post('xmgl/hikvision/getDoorEvents', data); // 拉取人员通行数据
|
||||||
export const importImgDataApi = data => post('xmgl/workerInfo/uploadWorkerInfoImgs', data); // 导入照片数据
|
export const importImgDataApi = data => post('xmgl/workerInfo/uploadWorkerInfoImgs', data); // 导入照片数据
|
||||||
export const xmglXzHikvisionSyncGetNewestList = data => post('xmgl/xzHikvisionSync/getNewestList', data); // 导入照片数据
|
export const xmglXzHikvisionSyncGetNewestList = data => post('xmgl/xzHikvisionSync/getNewestList', data); // 导入照片数据
|
||||||
|
export const xmglXzHikvisionSyncRetryAPI = data => post('xmgl/xzHikvisionSync/retry', data); // 导入照片数据
|
||||||
|
|
||||||
|
|
||||||
//详情
|
//详情
|
||||||
|
|||||||
@ -434,6 +434,10 @@
|
|||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="personItemBottom">
|
||||||
|
所属企业:
|
||||||
|
<span class="values">{{ row.enterpriseName }}</span>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="address" width="400px">
|
<el-table-column prop="address" width="400px">
|
||||||
@ -2152,13 +2156,11 @@
|
|||||||
label="任务名称"
|
label="任务名称"
|
||||||
align="center"
|
align="center"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
<el-table-column
|
<el-table-column prop="isSuccess" label="执行结果" align="center">
|
||||||
prop="isSuccess"
|
<template v-slot="{ row }">{{
|
||||||
label="执行结果"
|
row.isSuccess === 0 ? '成功' : '失败'
|
||||||
align="center"
|
}}</template>
|
||||||
>
|
</el-table-column>
|
||||||
<template v-slot="{row}">{{ row.isSuccess === 0 ? '成功' : '失败' }}</template>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="
|
:label="
|
||||||
@ -2168,9 +2170,10 @@
|
|||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
<template v-slot="{ row }">
|
<template v-slot="{ row }">
|
||||||
<div class="operationText" v-if="row.isSuccess !== 0">
|
|
||||||
<span style="color:#5381f6">重试</span>
|
<div class="operationText" @click="retryEvent(row.id)" v-if="row.isSuccess === 0">
|
||||||
</div>
|
<span style="color: #5381f6">重试</span>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <div slot="empty">{{$t('message.personnelPosition.empty')}}</div> -->
|
<!-- <div slot="empty">{{$t('message.personnelPosition.empty')}}</div> -->
|
||||||
@ -2197,7 +2200,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-circle-check"
|
icon="el-icon-circle-check"
|
||||||
@click="saveTeamFn('teamForm')"
|
@click="issueTeamDialog = false"
|
||||||
size="medium"
|
size="medium"
|
||||||
>{{ $t('message.laborMange.confirm') }}</el-button
|
>{{ $t('message.laborMange.confirm') }}</el-button
|
||||||
>
|
>
|
||||||
@ -2240,7 +2243,8 @@ import {
|
|||||||
updateByIdWorkerInfo,
|
updateByIdWorkerInfo,
|
||||||
sendBatchWokerApi,
|
sendBatchWokerApi,
|
||||||
importImgDataApi,
|
importImgDataApi,
|
||||||
xmglXzHikvisionSyncGetNewestList
|
xmglXzHikvisionSyncGetNewestList,
|
||||||
|
xmglXzHikvisionSyncRetryAPI
|
||||||
} from '@/assets/js/api/laborPerson'
|
} from '@/assets/js/api/laborPerson'
|
||||||
import {
|
import {
|
||||||
selectUserDevAuthorityByUserIdApi,
|
selectUserDevAuthorityByUserIdApi,
|
||||||
@ -2449,7 +2453,8 @@ export default {
|
|||||||
issuePage: {
|
issuePage: {
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10
|
pageSize: 10
|
||||||
}
|
},
|
||||||
|
whoId:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@ -4491,23 +4496,24 @@ export default {
|
|||||||
},
|
},
|
||||||
async issueTeamEvent (id) {
|
async issueTeamEvent (id) {
|
||||||
this.issueTeamDialog = true
|
this.issueTeamDialog = true
|
||||||
|
this.whoId = id
|
||||||
|
this.getNewestList()
|
||||||
|
},
|
||||||
|
async getNewestList(){
|
||||||
const res = await xmglXzHikvisionSyncGetNewestList({
|
const res = await xmglXzHikvisionSyncGetNewestList({
|
||||||
// pageNo:this.issuePage.pageNo,
|
// pageNo:this.issuePage.pageNo,
|
||||||
// pageSize:this.issuePage.pageSize,
|
// pageSize:this.issuePage.pageSize,
|
||||||
whoId: id
|
whoId: this.whoId
|
||||||
})
|
})
|
||||||
console.log(res, '---------------------')
|
console.log(res, '---------------------')
|
||||||
this.issuePointList = res.result
|
this.issuePointList = res.result
|
||||||
},
|
},
|
||||||
//切换每页显示数量
|
async retryEvent(id){
|
||||||
handleSizeChanges (val) {
|
const res = await xmglXzHikvisionSyncRetryAPI({
|
||||||
this.issuePage.pageSize= val
|
id:id
|
||||||
},
|
})
|
||||||
//换页
|
console.log(res);
|
||||||
handleCurrentChanges (val) {
|
}
|
||||||
this.issuePage.pageNo = val
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user