user manual

master
lion 7 months ago
parent be91a66c28
commit 204bcc8735

@ -53,10 +53,10 @@
</div>
</div>
</template>
<!-- <template v-slot:date>
<template v-slot:date>
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold">
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>Sort Time
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>Release Time
</div>
<div class="xy-table-item-content">
<el-date-picker v-model="form.date" style="width:100%" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
@ -64,7 +64,7 @@
</el-date-picker>
</div>
</div>
</template> -->
</template>
<template v-slot:sort>
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold">
@ -125,7 +125,7 @@
name: "",
is_top: 0,
is_visible: 1,
// date:'',
date:'',
sort: 0,
// product_ids:[],
files: []
@ -200,7 +200,7 @@
json_data_fields: ['files']
}).then(res => {
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.is_top = res.is_top ? res.is_top : 0
this.form.is_visible = res.is_visible ? res.is_visible : 0
this.form.sort = res.sort ? res.sort : 0
@ -224,7 +224,7 @@
if (this.type === 'editor') {
this.getDetail()
} else {
// this.form.date = this.$moment().format('YYYY-MM-DD HH:mm:ss')
this.form.date = this.$moment().format('YYYY-MM-DD HH:mm:ss')
}
} else {
@ -238,7 +238,7 @@
is_top: 0,
is_visible: 1,
sort:0,
// date: '',
date: '',
// product_ids: [],
files: []
}

@ -119,12 +119,6 @@
return value == 1 ? 'Yes' : 'No'
}
},
// {
// prop: 'date',
// label: 'Sort Time',
// align: 'left',
// width: 180
// },
{
prop: 'sort',
label: 'Sort',
@ -136,6 +130,12 @@
label: 'Creator',
align: 'left',
width: 180
},
{
prop: 'date',
label: 'Sort Time',
align: 'left',
width: 180
}]
}

Loading…
Cancel
Save