| | |
| | | <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | </div> |
| | | </div> |
| | | <!-- 编辑 --> |
| | | <AddOverviewDialog v-if="editConfig.visible" :edit-common-config="editConfig" :add-name="this.$route.params.name" /> |
| | | <!-- 查看/编辑 --> |
| | | <AddOverviewDialog |
| | | v-if="editConfig.visible" |
| | | :edit-common-config="editConfig" |
| | | :add-name="this.$route.params.name" |
| | | /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | res.data.map((item)=>{ |
| | | if(item.status===""){ |
| | | item.status=4 |
| | | } |
| | | let dateObject = new Date(item.date); |
| | | let formattedDateString = dateObject.toISOString().split('T')[0]; |
| | | item.date=formattedDateString |
| | |
| | | }, |
| | | // 状态 |
| | | getStatus(val) { |
| | | return val === 1 ? "草稿" : val === 3 ? "就绪" : "完成" |
| | | return val === 1 ? "草稿" : val === 3 ? "就绪" : val===4?"完成":val===5?"已取消":" " |
| | | } |
| | | } |
| | | } |