Commit 99ca1154 authored by youjie's avatar youjie

no message

parent da5abfce
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<tr v-for="(item,index) in DataList" v-loading='loading'> <tr v-for="(item,index) in DataList" v-loading='loading'>
<td>{{item.Title}}</td> <td>{{item.Title}}</td>
<!-- <td>{{item.Is_top==0?'':$t('adm.adm_roofset')}}</td> --> <!-- <td>{{item.Is_top==0?'':$t('adm.adm_roofset')}}</td> -->
<td>{{item.Status | noticeFormat(item.Status)}}</td> <td>{{noticeFormat(item.Status)}}</td>
<td>{{item.UpdateName}}</td> <td>{{item.UpdateName}}</td>
<td>{{item.UpdateTime|dateFormat(item.UpdateTime)}}</td> <td>{{item.UpdateTime|dateFormat(item.UpdateTime)}}</td>
<td> <td>
...@@ -257,14 +257,7 @@ ...@@ -257,14 +257,7 @@
} }
}, },
filters: { filters: {
noticeFormat(status) {
if (status == "0")
return this.fabuStatus.t1
if (status == "1")
return this.fabuStatus.t2
if (status == "2")
return this.fabuStatus.t3
},
dateFormat(date) { dateFormat(date) {
return date.replace('T', ' ') return date.replace('T', ' ')
} }
...@@ -276,6 +269,14 @@ ...@@ -276,6 +269,14 @@
this.getEmployee(); this.getEmployee();
}, },
methods: { methods: {
noticeFormat(status) {
if (status == "0")
return this.fabuStatus.t1
if (status == "1")
return this.fabuStatus.t2
if (status == "2")
return this.fabuStatus.t3
},
UploadAttachment(file) { //上传 UploadAttachment(file) { //上传
if (file.file.size > 1024 * 1024 * 100) { if (file.file.size > 1024 * 1024 * 100) {
this.$message.warning(this.$t('adm.adm_filenotmoreM')) this.$message.warning(this.$t('adm.adm_filenotmoreM'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment