|
@@ -36,6 +36,7 @@
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="单价状态">
|
|
|
<a-select placeholder="" v-model="queryParam.state">
|
|
|
+ <a-select-option value="">请选择</a-select-option>
|
|
|
<a-select-option value="1">未处理</a-select-option>
|
|
|
<a-select-option value="2">已通知</a-select-option>
|
|
|
<a-select-option value="3">已反馈通知</a-select-option>
|
|
@@ -167,6 +168,8 @@
|
|
|
import {filterObj, cloneObject, pushIfNotExist } from '@/utils/util'
|
|
|
import JEllipsis from '@/components/jeecg/JEllipsis'
|
|
|
import JInput from '@/components/jeecg/JInput'
|
|
|
+import moment from 'moment'
|
|
|
+
|
|
|
export default {
|
|
|
name: "IncidentTicketList",
|
|
|
mixins:[JeecgListMixin],
|
|
@@ -175,7 +178,8 @@
|
|
|
IncidentTicketModal,
|
|
|
IncidentTicketModalDetail,
|
|
|
JEllipsis,
|
|
|
- JInput
|
|
|
+ JInput,
|
|
|
+ moment
|
|
|
},
|
|
|
data () {
|
|
|
let ellipsis = (v, l = 15) => <j-ellipsis value={v} length={l} /> // 省略
|
|
@@ -287,6 +291,16 @@
|
|
|
created(){
|
|
|
this.dataSource.push({accidentTheme:''})
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ dataSource:{
|
|
|
+ immediate:true,
|
|
|
+ handler(newVlue) {
|
|
|
+ newVlue.map(item=>{
|
|
|
+ item.accidentData = moment(item.accidentData).format('YYYY-MM-DD');
|
|
|
+ })
|
|
|
+ },
|
|
|
+ }
|
|
|
+ },
|
|
|
computed: {
|
|
|
importExcelUrl: function(){
|
|
|
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|