| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getDicts('CONTRACTSTATUS').then(response => { |
| | | this.contractStatusOptions = response.data |
| | | }) |
| | | setTimeout(() => { |
| | | this.getDicts('CONTRACTSTATUS').then(response => { |
| | | this.contractStatusOptions = response.data |
| | | }) |
| | | }, 1000) |
| | | }, |
| | | methods: { |
| | | contractStatusFormat(row, column) { |
| | | return this.selectDictLabel(this.contractStatusOptions, row.contractStatus) |
| | | }, |
| | | transContractStatus(contractStatus, time) { |
| | | debugger |
| | | var strtime = time.replace('/-/g', '/')// 时间转换 |
| | | // 时间 |
| | | var date1 = new Date(strtime) |