| 
														
															@@ -16,7 +16,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </el-form-item> 
														 | 
														
														 | 
														
															             </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-form-item  label="默认自定义金额" prop="payAmount"> 
														 | 
														
														 | 
														
															             <el-form-item  label="默认自定义金额" prop="payAmount"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-tooltip class="item" effect="dark" content="货到付款默认自定义金额(元)" placement="top-end"> 
														 | 
														
														 | 
														
															               <el-tooltip class="item" effect="dark" content="货到付款默认自定义金额(元)" placement="top-end"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                <el-input-number  v-model="form1.payAmount"  min="10" ></el-input-number> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                <el-input-number  v-model="form1.payAmount"  :min="10" ></el-input-number> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               </el-tooltip> 
														 | 
														
														 | 
														
															               </el-tooltip> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </el-form-item> 
														 | 
														
														 | 
														
															             </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-form-item  label="待支付订单取消时间" prop="unPayTime"> 
														 | 
														
														 | 
														
															             <el-form-item  label="待支付订单取消时间" prop="unPayTime"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -640,28 +640,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </el-form> 
														 | 
														
														 | 
														
															       </el-form> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-tab-pane> 
														 | 
														
														 | 
														
															     </el-tab-pane> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        <el-tab-pane label="公司销售角色默认生成配置" name="companymenu.config"> 
														 | 
														
														 | 
														
															        <el-tab-pane label="公司销售角色默认生成配置" name="companymenu.config"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         <el-form ref="form14" :model="form14" :rules="rules14" label-width="180px"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           <el-form-item label="菜单权限"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             <el-checkbox v-model="menuExpand" @change="handleCheckedTreeExpand($event, 'menu')">展开/折叠</el-checkbox> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             <el-checkbox v-model="menuNodeAll" @change="handleCheckedTreeNodeAll($event, 'menu')">全选/全不选</el-checkbox> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             <el-checkbox v-model="menuCheckStrictly" @change="handleCheckedTreeConnect($event, 'menu')">父子联动</el-checkbox> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             <el-tree 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               class="tree-border" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               :data="menuOptions" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               show-checkbox 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               ref="menu" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               node-key="id" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               :check-strictly="!menuCheckStrictly" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               empty-text="加载中,请稍后" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               :props="defaultProps" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             ></el-tree> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           </el-form-item> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           <div   class="footer"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             <el-button type="primary" @click="submitForm14">提  交</el-button> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           </div> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         </el-form> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         <companyMenuConfig></companyMenuConfig> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        </el-tab-pane> 
														 | 
														
														 | 
														
															        </el-tab-pane> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-tabs> 
														 | 
														
														 | 
														
															     </el-tabs> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      <el-dialog :title="sign.title" :visible.sync="sign.open" width="500px" append-to-body> 
														 | 
														
														 | 
														
															      <el-dialog :title="sign.title" :visible.sync="sign.open" width="500px" append-to-body> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -689,10 +668,12 @@ import {   getConfigByKey,updateConfigByKey, clearCache } from "@/api/system/con 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {   listCompany } from "@/api/company/company"; 
														 | 
														
														 | 
														
															 import {   listCompany } from "@/api/company/company"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Material from '@/components/Material' 
														 | 
														
														 | 
														
															 import Material from '@/components/Material' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {treeselect as menuTreeselect} from "@/api/system/menu"; 
														 | 
														
														 | 
														
															 import {treeselect as menuTreeselect} from "@/api/system/menu"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import companyMenuConfig from "./companyMenuConfig"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: "Config", 
														 | 
														
														 | 
														
															   name: "Config", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   components: { 
														 | 
														
														 | 
														
															   components: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     Material, 
														 | 
														
														 | 
														
															     Material, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    companyMenuConfig, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     Editor 
														 | 
														
														 | 
														
															     Editor 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    watch: { 
														 | 
														
														 | 
														
															    watch: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -705,15 +686,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   data() { 
														 | 
														
														 | 
														
															   data() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      menuCheckStrictly: true, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      defaultProps: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        children: "children", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        label: "label" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      // 菜单列表 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      menuOptions: [], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      menuExpand: false, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      menuNodeAll: false, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       companyOptions:[], 
														 | 
														
														 | 
														
															       companyOptions:[], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS", 
														 | 
														
														 | 
														
															       uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       videoAccept:"video/*", 
														 | 
														
														 | 
														
															       videoAccept:"video/*", 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -795,52 +767,13 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       form13:{}, 
														 | 
														
														 | 
														
															       form13:{}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      form14:{}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       rules13:{}, 
														 | 
														
														 | 
														
															       rules13:{}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      rules14:{} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   created() { 
														 | 
														
														 | 
														
															   created() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this.getConfigByKey(this.activeName); 
														 | 
														
														 | 
														
															     this.getConfigByKey(this.activeName); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    this.getMenuTreeselect(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    /** 查询菜单树结构 */ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getMenuTreeselect() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      menuTreeselect().then(response => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.menuOptions = response.data; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    // 树权限(展开/折叠) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    handleCheckedTreeExpand(value, type) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      if (type == 'menu') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        let treeList = this.menuOptions; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let i = 0; i < treeList.length; i++) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.$refs.menu.store.nodesMap[treeList[i].id].expanded = value; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } else if (type == 'dept') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        let treeList = this.deptOptions; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let i = 0; i < treeList.length; i++) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.$refs.dept.store.nodesMap[treeList[i].id].expanded = value; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    // 树权限(全选/全不选) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    handleCheckedTreeNodeAll(value, type) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      if (type == 'menu') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.$refs.menu.setCheckedNodes(value ? this.menuOptions: []); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } else if (type == 'dept') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.$refs.dept.setCheckedNodes(value ? this.deptOptions: []); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    // 树权限(父子联动) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    handleCheckedTreeConnect(value, type) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      if (type == 'menu') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.menuCheckStrictly = value ? true: false; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } else if (type == 'dept') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.deptCheckStrictly = value ? true: false; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getCompanyOptions() { 
														 | 
														
														 | 
														
															     getCompanyOptions() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         listCompany().then(response=>{ 
														 | 
														
														 | 
														
															         listCompany().then(response=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.companyOptions = response.rows 
														 | 
														
														 | 
														
															           this.companyOptions = response.rows 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -972,14 +905,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                this.form13 =JSON.parse(response.data.configValue); 
														 | 
														
														 | 
														
															                this.form13 =JSON.parse(response.data.configValue); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															              } 
														 | 
														
														 | 
														
															              } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }else if(key == "companymenu.config"){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.getCompanyOptions(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             this.configId=response.data.configId; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             this.configKey=response.data.configKey; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             if(response.data.configValue != null) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-               this.form14 =JSON.parse(response.data.configValue); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-             } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }); 
														 | 
														
														 | 
														
															         }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      }, 
														 | 
														
														 | 
														
															      }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1113,14 +1038,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    submitForm14(){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form14)} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      updateConfigByKey(param).then(response => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if (response.code === 200) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.msgSuccess("修改成功"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 清理缓存按钮操作 */ 
														 | 
														
														 | 
														
															     /** 清理缓存按钮操作 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleClearCache() { 
														 | 
														
														 | 
														
															     handleClearCache() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       clearCache().then(response => { 
														 | 
														
														 | 
														
															       clearCache().then(response => { 
														 |