查看标段
This commit is contained in:
parent
3dc9edac42
commit
388c95a347
|
|
@ -13,11 +13,16 @@
|
|||
:showRightTools="false"
|
||||
ref="analysisTableRef"
|
||||
:columnsList="bidListColumnsList"
|
||||
:request-api="listAPI"
|
||||
:request-api="getBidListAPI"
|
||||
:sendParams="sendParams"
|
||||
:handleColWidth="200"
|
||||
:isShowtableCardStyle="false"
|
||||
>
|
||||
<template slot="parsingState" slot-scope="{ data }">
|
||||
<el-tag v-if="data.parsingState === '0'" type="info">解析中</el-tag>
|
||||
<el-tag v-else-if="data.parsingState === '1'" type="success">解析成功</el-tag>
|
||||
<el-tag v-else-if="data.parsingState === '2'" type="danger">解析失败</el-tag>
|
||||
</template>
|
||||
<template slot="tableTitle">
|
||||
<h3>数据列表</h3>
|
||||
</template>
|
||||
|
|
@ -40,7 +45,8 @@
|
|||
import TableModel from '@/components/TableModel2'
|
||||
import { bidListColumnsList, bidFormLabel } from '../config'
|
||||
import { encryptWithSM4 } from '@/utils/sm'
|
||||
import { listAPI, delDataAPI } from '@/api/analysis/analysis'
|
||||
import { getBidListAPI, delDataAPI } from '@/api/analysis/analysis'
|
||||
import { decryptWithSM4 } from '@/utils/sm'
|
||||
export default {
|
||||
name: 'AnalysisBidIndex',
|
||||
components: {
|
||||
|
|
@ -50,9 +56,9 @@ export default {
|
|||
return {
|
||||
bidFormLabel,
|
||||
bidListColumnsList,
|
||||
listAPI,
|
||||
getBidListAPI,
|
||||
sendParams: {
|
||||
enterpriseId: 2
|
||||
proId: decryptWithSM4(this.$route.query.proId)
|
||||
},
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export const bidFormLabel = [
|
|||
isShow: false, // 是否展示label
|
||||
f_type: 'ipt',
|
||||
f_label: '标的名称',
|
||||
f_model: 'proName',
|
||||
f_model: 'markName',
|
||||
f_max: 32,
|
||||
f_width: '250px',
|
||||
},
|
||||
|
|
@ -38,7 +38,7 @@ export const bidFormLabel = [
|
|||
isShow: false, // 是否展示label
|
||||
f_type: 'ipt',
|
||||
f_label: '标段名称',
|
||||
f_model: 'personName',
|
||||
f_model: 'bidName',
|
||||
f_max: 32,
|
||||
f_width: '250px',
|
||||
},
|
||||
|
|
@ -46,7 +46,7 @@ export const bidFormLabel = [
|
|||
isShow: false, // 是否展示label
|
||||
f_type: 'sel',
|
||||
f_label: '解析状态',
|
||||
f_model: 'analysisStatus',
|
||||
f_model: 'parsingState',
|
||||
f_selList: [
|
||||
{ label: '解析中', value: 0 },
|
||||
{ label: '解析成功', value: 1 },
|
||||
|
|
@ -90,5 +90,5 @@ export const bidListColumnsList = [
|
|||
{ t_props: 'bidBond', t_label: '投标保证金(万元)' },
|
||||
{ t_props: 'duration', t_label: '工期' },
|
||||
{ t_props: 'biddingStage', t_label: '招标阶段' },
|
||||
{ t_props: 'parsingState', t_label: '解析状态' }
|
||||
{ t_slot: 'parsingState', t_label: '解析状态' }
|
||||
]
|
||||
|
|
@ -164,7 +164,7 @@ export default {
|
|||
this.$router.push({
|
||||
name: 'AnalysisBidIndex',
|
||||
query: {
|
||||
proId: encryptWithSM4('2'),
|
||||
proId: encryptWithSM4(row.proId + '' || '0'),
|
||||
},
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue