user manual

master
lion 7 months ago
parent be91a66c28
commit 204bcc8735

@ -53,10 +53,10 @@
</div> </div>
</div> </div>
</template> </template>
<!-- <template v-slot:date> <template v-slot:date>
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold"> <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>
<div class="xy-table-item-content"> <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" <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> </el-date-picker>
</div> </div>
</div> </div>
</template> --> </template>
<template v-slot:sort> <template v-slot:sort>
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold"> <div class="xy-table-item-label" style="font-weight: bold">
@ -125,7 +125,7 @@
name: "", name: "",
is_top: 0, is_top: 0,
is_visible: 1, is_visible: 1,
// date:'', date:'',
sort: 0, sort: 0,
// product_ids:[], // product_ids:[],
files: [] files: []
@ -200,7 +200,7 @@
json_data_fields: ['files'] json_data_fields: ['files']
}).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.is_top = res.is_top ? res.is_top : 0 this.form.is_top = res.is_top ? res.is_top : 0
this.form.is_visible = res.is_visible ? res.is_visible : 0 this.form.is_visible = res.is_visible ? res.is_visible : 0
this.form.sort = res.sort ? res.sort : 0 this.form.sort = res.sort ? res.sort : 0
@ -224,7 +224,7 @@
if (this.type === 'editor') { if (this.type === 'editor') {
this.getDetail() this.getDetail()
} else { } 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 { } else {
@ -238,7 +238,7 @@
is_top: 0, is_top: 0,
is_visible: 1, is_visible: 1,
sort:0, sort:0,
// date: '', date: '',
// product_ids: [], // product_ids: [],
files: [] files: []
} }

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

Loading…
Cancel
Save