|
|
@@ -66,37 +66,37 @@
|
|
|
:loading='loading'
|
|
|
@change='handleTableChange'>
|
|
|
|
|
|
- <span slot='endDate' slot-scope='text, record'>
|
|
|
- <template v-if='record.isAutoRenew === 0 && text'>
|
|
|
- <template v-if='record.contractStatus == 1'>
|
|
|
- <span style='color: #FF7312'>{{ text.length > 10 ? text.substring(0, 10) : text }}(即将到期)</span>
|
|
|
- </template>
|
|
|
- <template v-else-if='record.contractStatus == 2'>
|
|
|
- <span style='color: #F01B1B'>{{ text.length > 10 ? text.substring(0, 10) : text }}(已到期)</span>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- {{ text.length > 10 ? text.substring(0, 10) : text }}
|
|
|
- </template>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- --
|
|
|
- </template>
|
|
|
- </span>
|
|
|
+ <span slot='endDate' slot-scope='text, record'>
|
|
|
+ <template v-if='record.isAutoRenew === 0 && text'>
|
|
|
+ <template v-if='record.contractStatus == 1'>
|
|
|
+ <span style='color: #FF7312'>{{ text.length > 10 ? text.substring(0, 10) : text }}(即将到期)</span>
|
|
|
+ </template>
|
|
|
+ <template v-else-if='record.contractStatus == 2'>
|
|
|
+ <span style='color: #F01B1B'>{{ text.length > 10 ? text.substring(0, 10) : text }}(已到期)</span>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ {{ text.length > 10 ? text.substring(0, 10) : text }}
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ --
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
|
|
|
- <span slot='isPayment' slot-scope='text, record'>
|
|
|
- <template v-if='record.isPayment'>
|
|
|
- 已走款:{{ record.minPaymentTime.length > 10 ? record.minPaymentTime.substring(0, 10) : record.minPaymentTime
|
|
|
- }}~{{ record.maxPaymentTime.length > 10 ? record.maxPaymentTime.substring(0, 10) : record.maxPaymentTime
|
|
|
- }}
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- 未走款
|
|
|
- </template>
|
|
|
- </span>
|
|
|
+ <span slot='isPayment' slot-scope='text, record'>
|
|
|
+ <template v-if='record.isPayment'>
|
|
|
+ 已走款:{{ record.minPaymentTime.length > 10 ? record.minPaymentTime.substring(0, 10) : record.minPaymentTime
|
|
|
+ }}~{{ record.maxPaymentTime.length > 10 ? record.maxPaymentTime.substring(0, 10) : record.maxPaymentTime
|
|
|
+ }}
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ 未走款
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
|
|
|
- <span slot='workContract' slot-scope='text, record'>
|
|
|
- <a @click='uploadWorkContract(record)'>{{ record.workContract ? '已上传' : '未上传' }}</a>
|
|
|
- </span>
|
|
|
+ <span slot='workContract' slot-scope='text, record'>
|
|
|
+ <a @click='uploadWorkContract(record)'>{{ record.workContract ? '已上传' : '未上传' }}</a>
|
|
|
+ </span>
|
|
|
</a-table>
|
|
|
|
|
|
</detail-list>
|
|
|
@@ -248,23 +248,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // mounted() {
|
|
|
- // this.initAutoListConfig().then(() => {
|
|
|
- //
|
|
|
- // }).catch(msg => {
|
|
|
- // console.log(msg)
|
|
|
- // })
|
|
|
- // },
|
|
|
- // watch: {
|
|
|
- // '$route'() {
|
|
|
- // // 刷新参数放到这里去触发,就可以刷新相同界面了
|
|
|
- // this.initAutoListConfig().then(() => {
|
|
|
- //
|
|
|
- // }).catch(msg => {
|
|
|
- // console.log(msg)
|
|
|
- // })
|
|
|
- // }
|
|
|
- // },
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
resetData() {
|