Commit 2c00e7fa authored by wangwei's avatar wangwei

页面编写

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