|
|
@@ -74,7 +74,7 @@
|
|
|
:key="index"
|
|
|
align="center"
|
|
|
:label="item.label"
|
|
|
- :min-width="item.width"
|
|
|
+ :min-width="item.minWidth"
|
|
|
:prop="item.prop"
|
|
|
show-overflow-tooltip
|
|
|
:sortable="item.sortable"
|
|
|
@@ -117,6 +117,9 @@
|
|
|
<span v-else-if="item.prop === 'nboBudget'">
|
|
|
{{ formatPrice(row.nboBudget) }}
|
|
|
</span>
|
|
|
+ <span v-else-if="item.prop === 'contractAmount'">
|
|
|
+ {{ formatPrice(row.contractAmount) }}
|
|
|
+ </span>
|
|
|
<span v-else-if="item.prop === 'filingTime'">
|
|
|
{{ parseTime(row.filingTime, '{y}-{m}-{d} {h}:{i}') }}
|
|
|
</span>
|
|
|
@@ -126,6 +129,12 @@
|
|
|
<span v-else-if="item.prop === 'nextFollowTime'">
|
|
|
{{ parseTime(row.nextFollowTime, '{y}-{m}-{d} {h}:{i}') }}
|
|
|
</span>
|
|
|
+ <span v-else-if="item.prop === 'projClosingTime'">
|
|
|
+ {{ parseTime(row.projClosingTime, '{y}-{m}-{d} {h}:{i}') }}
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.prop === 'projConversionTime'">
|
|
|
+ {{ parseTime(row.projConversionTime, '{y}-{m}-{d} {h}:{i}') }}
|
|
|
+ </span>
|
|
|
<span v-else>{{ row[item.prop] }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -181,8 +190,8 @@
|
|
|
{
|
|
|
label: '项目名称',
|
|
|
prop: 'nboName',
|
|
|
- width: '160px',
|
|
|
- minWidth: '160px',
|
|
|
+ width: '180px',
|
|
|
+ minWidth: '180px',
|
|
|
sortable: false,
|
|
|
disableCheck: true,
|
|
|
},
|
|
|
@@ -204,7 +213,7 @@
|
|
|
{
|
|
|
label: '客户名称',
|
|
|
prop: 'custName',
|
|
|
- width: '200px',
|
|
|
+ width: 'auto',
|
|
|
minWidth: '180px',
|
|
|
},
|
|
|
{
|
|
|
@@ -225,7 +234,8 @@
|
|
|
{
|
|
|
label: '经销商/代理商',
|
|
|
prop: 'distributorName',
|
|
|
- width: '160px',
|
|
|
+ minWidth: '160px',
|
|
|
+ width: 'auto',
|
|
|
},
|
|
|
{
|
|
|
label: '产品线',
|
|
|
@@ -421,6 +431,7 @@
|
|
|
.catch((err) => console.log(err))
|
|
|
},
|
|
|
handleTabClick() {
|
|
|
+ this.queryForm.pageNum = 1
|
|
|
console.log(this.activeName)
|
|
|
if (this.activeName !== 'all') {
|
|
|
this.queryForm.nboType = this.activeName
|
|
|
@@ -501,7 +512,7 @@
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm('queryForm')
|
|
|
- this.fetchData()
|
|
|
+ this.handleTabClick()
|
|
|
},
|
|
|
setSelectRows(val) {
|
|
|
this.selectRows = val
|