优化
This commit is contained in:
parent
a4befbb5ee
commit
2b8c85a87b
@ -200,7 +200,7 @@ export default {
|
||||
async handleList () {
|
||||
let res = await apiResultRecordDetail({ resultRecordId: this.$route.query.id })
|
||||
this.handleGetTbale()
|
||||
if (res.code !== 200) return
|
||||
if (res.code !== 200) return this.$message.error(res.msg)
|
||||
const arr = res.data.flowRecordList.concat([])
|
||||
for (let i in res.data.flowRecordList) {
|
||||
arr.shift()
|
||||
|
||||
@ -251,7 +251,7 @@ export default {
|
||||
try {
|
||||
let res = await getByIdForBasis({id})
|
||||
res = res.data
|
||||
this.GroundList1 = res.managers.map(i => {
|
||||
this.GroundList1 = res.managers ? res.managers.map(i => {
|
||||
i.staffId = i.id
|
||||
i.staffName = i.name
|
||||
i.isSelect = 1
|
||||
@ -263,7 +263,7 @@ export default {
|
||||
return j
|
||||
})
|
||||
return i
|
||||
})
|
||||
}) : []
|
||||
const a = this.$personlGetForm(res.staffs)
|
||||
const c = this.$departGetForm(res.deps)
|
||||
const obj = {
|
||||
|
||||
@ -97,7 +97,9 @@
|
||||
:key="indexJ"
|
||||
>
|
||||
<div style="width:30%">{{j.name}}</div>
|
||||
<pre style="width:30%">{{j.keyResult}}</pre>
|
||||
<div style="width:30%" class="pre">
|
||||
<pre >{{j.keyResult}}</pre>
|
||||
</div>
|
||||
<div style="width:30%">{{j.weight * 100}}%</div>
|
||||
<div style="width:10%">
|
||||
<el-button
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user