|
|
@ -298,71 +298,7 @@ import GuipDialog from "@/components/GuipDialog.vue"; |
|
|
|
import GuipRadio from "@/components/GuipRadio.vue"; |
|
|
|
import ValueAdded from "@/components/site/serviceSetting/valueAdded.vue"; |
|
|
|
import SyncPrice from "@/components/site/serviceSetting/syncPrice.vue"; |
|
|
|
// 定义数据结构 |
|
|
|
// const currentItem1 = { |
|
|
|
// type: '6', |
|
|
|
// name: '万方通用版a salads asides33', |
|
|
|
// is_select: true, |
|
|
|
// parentType:'3', |
|
|
|
// web_price_set:true, |
|
|
|
// web_price_set_flag:true, |
|
|
|
// shop_price_set:false |
|
|
|
// }; |
|
|
|
|
|
|
|
// const secondMenu1 = { |
|
|
|
// 1: { |
|
|
|
// type: 1, |
|
|
|
// name: "万方", |
|
|
|
// is_select: false, |
|
|
|
// list: [{ |
|
|
|
// checked: true, |
|
|
|
// is_select: false, |
|
|
|
// name: "万方通用版", |
|
|
|
// type: 68, |
|
|
|
// parentType:'1', |
|
|
|
// web_price_set:true, |
|
|
|
// web_price_set_flag:true, |
|
|
|
// shop_price_set:true |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// checked: true, |
|
|
|
// is_select: false, |
|
|
|
// name: "万方硕博版", |
|
|
|
// type: 30, |
|
|
|
// parentType:'1', |
|
|
|
// web_price_set:true, |
|
|
|
// shop_price_set:true |
|
|
|
// }] |
|
|
|
// }, |
|
|
|
// '3': { |
|
|
|
// type: '3', |
|
|
|
// name: '万方个哥哥个', |
|
|
|
// is_select: true, |
|
|
|
// list: [ |
|
|
|
// { |
|
|
|
// type: '6', |
|
|
|
// name: '万方通用版a salads asides33', |
|
|
|
// is_select: true, |
|
|
|
// parentType:'3', |
|
|
|
// web_price_set:true, |
|
|
|
// web_price_set_flag:true, |
|
|
|
// shop_price_set:false |
|
|
|
// }, |
|
|
|
// // { |
|
|
|
// // type: '27', |
|
|
|
// // name: '通用说播版33', |
|
|
|
// // is_select: true, |
|
|
|
// // parentType:'3' |
|
|
|
// // }, |
|
|
|
// // { |
|
|
|
// // type: '109', |
|
|
|
// // name: '本科通用版33', |
|
|
|
// // is_select: true, |
|
|
|
// // parentType:'3' |
|
|
|
// // }, |
|
|
|
// ] |
|
|
|
// }, |
|
|
|
// }; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'siteServiceAdd', |
|
|
|
props: [''], |
|
|
@ -381,6 +317,7 @@ export default { |
|
|
|
if (!to.path.startsWith('/agent/siteServiceAdd')) { |
|
|
|
// 重置侧边栏数据 |
|
|
|
store.commit('SET_SECOND_MENU', {}); |
|
|
|
localStorage.removeItem('selectedServices') |
|
|
|
} |
|
|
|
next(); |
|
|
|
}, |
|
|
|