Commit 2c00e7fa authored by wangwei's avatar wangwei

页面编写

parent 4739ef69
......@@ -143,13 +143,14 @@
});
this.form.item_stock_arr.push({stock_id:x.id,num:x.checkNum})
});
this.form.item_stock_arr = JSON.stringify(this.form.item_stock_arr)
if(this.imageList.length>0){
this.form.cover = this.imageList[0].name;
}
let _json = JSON.parse(JSON.stringify(this.form));
_json.item_stock_arr = JSON.stringify(_json.item_stock_arr);
switch (this.boxDialogObj.type) {
case 0:
addBoxApi(this.boxDialogObj.category_id,this.form).then(res=>{
addBoxApi(this.boxDialogObj.category_id,_json).then(res=>{
this.$message({
type: 'success',
message: '添加成功!'
......@@ -162,6 +163,7 @@
changeTrans(a,b,c){
console.log(c)
},
beforeAvatarUpload(){
this.uploadShow = false
},
......
<template>
</template>
<script>
export default {
name: "focusReply"
}
</script>
<style scoped>
</style>
......@@ -19,7 +19,7 @@ import classList from '@/components/class'
import order from '@/components/order'
import shop from '@/components/shop'
import consignment from '@/components/consignment'
import notice from '@/components/notice'
import focusReply from '@/components/weChat/focusReply'
import weChat from '@/components/weChat'
import help from '@/components/help'
import sysConfig from '@/components/system/sysConfig'
......@@ -52,9 +52,9 @@ const router =new Router({
name:'help',
component: help
},{
path: '/notice',
name:'notice',
component: notice
path: '/focusReply',
name:'focusReply',
component: focusReply
},{
path: '/weChat',
name:'weChat',
......
......@@ -106,12 +106,12 @@ export default [
icon: 'icon-ai-weixin',
list: [
{
value:'通知管理',
routerName:'notice',
path:'/notice'
value:'关注回复',
routerName:'focusReply',
path:'/focusReply'
},
{
value:'回复设置',
value:'关键词回复',
routerName:'autoReply',
path:'/autoReply'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment