This commit is contained in:
熊成强 2020-11-11 14:07:01 +08:00
parent a4befbb5ee
commit 2b8c85a87b
3 changed files with 6 additions and 4 deletions

View File

@ -200,7 +200,7 @@ export default {
async handleList () { async handleList () {
let res = await apiResultRecordDetail({ resultRecordId: this.$route.query.id }) let res = await apiResultRecordDetail({ resultRecordId: this.$route.query.id })
this.handleGetTbale() this.handleGetTbale()
if (res.code !== 200) return if (res.code !== 200) return this.$message.error(res.msg)
const arr = res.data.flowRecordList.concat([]) const arr = res.data.flowRecordList.concat([])
for (let i in res.data.flowRecordList) { for (let i in res.data.flowRecordList) {
arr.shift() arr.shift()

View File

@ -251,7 +251,7 @@ export default {
try { try {
let res = await getByIdForBasis({id}) let res = await getByIdForBasis({id})
res = res.data res = res.data
this.GroundList1 = res.managers.map(i => { this.GroundList1 = res.managers ? res.managers.map(i => {
i.staffId = i.id i.staffId = i.id
i.staffName = i.name i.staffName = i.name
i.isSelect = 1 i.isSelect = 1
@ -263,7 +263,7 @@ export default {
return j return j
}) })
return i return i
}) }) : []
const a = this.$personlGetForm(res.staffs) const a = this.$personlGetForm(res.staffs)
const c = this.$departGetForm(res.deps) const c = this.$departGetForm(res.deps)
const obj = { const obj = {

View File

@ -97,7 +97,9 @@
:key="indexJ" :key="indexJ"
> >
<div style="width:30%">{{j.name}}</div> <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:30%">{{j.weight * 100}}%</div>
<div style="width:10%"> <div style="width:10%">
<el-button <el-button