审核更新

master
lion 1 year ago
parent 0abc590e39
commit eb92989734

@ -81,6 +81,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin_id',
label: 'Creator',
align: 'left',
width:180
} }
] ]
@ -114,6 +119,7 @@
async getList() { async getList() {
const res = await index({ const res = await index({
...this.select, ...this.select,
'show_relation[0]':"type_parameter_details_id_relation",
filter:[{ filter:[{
key:'title', key:'title',
op:'like', op:'like',

@ -187,7 +187,7 @@
}).then(res => { }).then(res => {
this.form = this.base.requestToForm(res, this.form) this.form = this.base.requestToForm(res, this.form)
this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss') this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss')
this.form.category_ids = res.category_ids?res.category_ids:[]
if (res.files_details && res.files_details.length > 0) { if (res.files_details && res.files_details.length > 0) {
this.filesList = [] this.filesList = []
res.files_details.map(item => { res.files_details.map(item => {

@ -104,7 +104,7 @@
categoryList: [], categoryList: [],
showWang: false, showWang: false,
form: { form: {
category_ids: '', category_ids: [],
title: "", title: "",
date: '', date: '',
link:'', link:'',
@ -195,7 +195,9 @@
if (this.table_name === 'technical_newsletters') { if (this.table_name === 'technical_newsletters') {
this.form.content = res.content ? res.content : '' this.form.content = res.content ? res.content : ''
this.showWang = true this.showWang = true
} }
this.form.category_ids = res.category_ids?res.category_ids:[]
this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss') this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss')
if (res.files_details && res.files_details.length > 0) { if (res.files_details && res.files_details.length > 0) {
this.filesList = [] this.filesList = []

@ -76,6 +76,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin.name',
label: 'Creator',
align: 'left',
width:180
} }
] ]

@ -95,6 +95,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin.name',
label: 'Creator',
align: 'left',
width:180
} }
] ]

@ -86,6 +86,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin.name',
label: 'Creator',
align: 'left',
width:180
} }
] ]

@ -76,6 +76,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin.name',
label: 'Creator',
align: 'left',
width:180
} }
] ]

@ -76,6 +76,11 @@
label: 'Relase Time', label: 'Relase Time',
align: 'left', align: 'left',
width:180 width:180
},{
prop: 'admin.name',
label: 'Creator',
align: 'left',
width:180
} }
] ]

Loading…
Cancel
Save