|
@@ -74,12 +74,13 @@
|
|
|
width="150"
|
|
width="150"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
|
|
|
+
|
|
|
<ibps-user-selector
|
|
<ibps-user-selector
|
|
|
type="user"
|
|
type="user"
|
|
|
:value="row.ren_yuan_id_"
|
|
:value="row.ren_yuan_id_"
|
|
|
readonly-text="text"
|
|
readonly-text="text"
|
|
|
:disabled="true"
|
|
:disabled="true"
|
|
|
- :multiple="true"
|
|
|
|
|
|
|
+ :multiple="false"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -258,7 +259,7 @@ export default {
|
|
|
case 't_fwxyhyqdb':
|
|
case 't_fwxyhyqdb':
|
|
|
peopleList = data[0].bian_zhi_can_hui_?.split(',')
|
|
peopleList = data[0].bian_zhi_can_hui_?.split(',')
|
|
|
break
|
|
break
|
|
|
- case 't_rypxcjb':
|
|
|
|
|
|
|
+ case 't_lhrypxjlb':
|
|
|
peopleList = data[0].pei_xun_ren_yuan_?.split(',')
|
|
peopleList = data[0].pei_xun_ren_yuan_?.split(',')
|
|
|
break
|
|
break
|
|
|
default:
|
|
default:
|
|
@@ -275,7 +276,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
await this.getRegisterPeople()
|
|
await this.getRegisterPeople()
|
|
|
- if (this.params.tableName === 't_rypxcjb') {
|
|
|
|
|
|
|
+ if (this.params.tableName === 't_lhrypxjlb') {
|
|
|
if (data[0].shi_fou_guo_shen_ === '进行中') {
|
|
if (data[0].shi_fou_guo_shen_ === '进行中') {
|
|
|
this.addPeople()
|
|
this.addPeople()
|
|
|
}
|
|
}
|
|
@@ -308,17 +309,26 @@ export default {
|
|
|
data.forEach(person => {
|
|
data.forEach(person => {
|
|
|
const p = this.tableList.find(item => item.ren_yuan_id_ === person.ren_yuan_id_)
|
|
const p = this.tableList.find(item => item.ren_yuan_id_ === person.ren_yuan_id_)
|
|
|
if (!p) {
|
|
if (!p) {
|
|
|
- this.tableList.push({
|
|
|
|
|
|
|
+ // this.tableList.push({
|
|
|
|
|
+ // ren_yuan_id_: person.ren_yuan_id_,
|
|
|
|
|
+ // status: '已签到',
|
|
|
|
|
+ // qian_dao_shi_jian: person.qian_dao_shi_jian
|
|
|
|
|
+ // })
|
|
|
|
|
+
|
|
|
|
|
+ const obj = {
|
|
|
ren_yuan_id_: person.ren_yuan_id_,
|
|
ren_yuan_id_: person.ren_yuan_id_,
|
|
|
status: '已签到',
|
|
status: '已签到',
|
|
|
qian_dao_shi_jian: person.qian_dao_shi_jian
|
|
qian_dao_shi_jian: person.qian_dao_shi_jian
|
|
|
- })
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ this.$set(this.tableList, this.tableList.length, obj)
|
|
|
} else {
|
|
} else {
|
|
|
p.status = '已签到'
|
|
p.status = '已签到'
|
|
|
p.qian_dao_shi_jian = person.qian_dao_shi_jian
|
|
p.qian_dao_shi_jian = person.qian_dao_shi_jian
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
// 当前页码改变
|
|
// 当前页码改变
|
|
|
handleCurrentChange (val) {
|
|
handleCurrentChange (val) {
|
|
|
this.pagination.currentPage = val
|
|
this.pagination.currentPage = val
|