master
lion 3 years ago
parent da6403f75c
commit 86aac60c44

@ -2,5 +2,5 @@
ENV = 'development'
# base api
VUE_APP_BASE_API = https://yybtest.ali251.langye.net/
#VUE_APP_BASE_API = https://yunyubang.ali251.langye.net/
#VUE_APP_BASE_API = https://yybtest.ali251.langye.net/
VUE_APP_BASE_API = https://yunyubang.ali251.langye.net/

@ -31,6 +31,7 @@ import "tinymce/plugins/wordcount";
import "tinymce/plugins/colorpicker";
import "tinymce/plugins/textcolor";
import "tinymce/icons/default"
import 'tinymce/plugins/code'
export default {
components: {
Editor,
@ -52,11 +53,11 @@ export default {
plugins: {
type: [String, Array],
default:
"paste preview searchreplace autolink directionality visualblocks visualchars fullscreen image template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave ",
"code paste preview searchreplace autolink directionality visualblocks visualchars fullscreen image template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave ",
},
toolbar: {
type: [String, Array],
default: ` undo redo restoredraft | assignment | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough anchor | alignleft aligncenter alignright alignjustify outdent indent |
default: ` undo redo restoredraft | code | assignment | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough anchor | alignleft aligncenter alignright alignjustify outdent indent |
styleselect formatselect fontselect fontsizeselect | table image charmap emoticons hr pagebreak |bullist numlist | blockquote subscript superscript removeformat |
insertdatetime print preview | fullscreen | bdmap indent2em lineheight formatpainter axupimgs`,
},

@ -456,17 +456,35 @@
this.select.order_item_id=""
this.getOrders();
},
changeUpdateDate(e) {
this.select.start_updated = e[0];
this.select.end_updated = e[1];
changeUpdateDate(e) {
if(e){
this.select.start_updated = e[0]+' 00:00:00';
this.select.end_updated = e[1]+' 23:59:59';
}else{
this.select.start_updated = ""
this.select.start_updated = ""
}
},
changePayDate(e) {
this.select.start_paid = e[0];
this.select.end_paid = e[1];
changePayDate(e) {
if(e){
this.select.start_paid = e[0]+' 00:00:00';
this.select.end_paid = e[1]+' 23:59:59';
}else{
this.select.start_paid = "";
this.select.end_paid = "";
}
},
changeCreatedDate(e) {
this.select.start_created = e[0];
this.select.end_created = e[1];
changeCreatedDate(e) {
console.log("date",e)
if(e){
this.select.start_created = e[0]+' 00:00:00';
this.select.end_created = e[1]+' 23:59:59';
}else{
this.select.start_created = '';
this.select.end_created = '';
}
},
productTypeChange(e) {
this.select.productType = this.$refs['cascader'].getCheckedNodes()[0].data.id;

Loading…
Cancel
Save