| 
					
				 | 
			
			
				@@ -40,9 +40,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { commonUnicomeCall, commonUnicomeConfigSave } from '@/api/cloudCall.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import buttonMixin from './button_mixin.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getUserInfo } from '@/api/setting' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { mapGetters } from 'vuex' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mixins: [buttonMixin], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     phone: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       type: [String, Number], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -63,6 +64,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  computed: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ...mapGetters(['userid']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     letClick() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.phone) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,10 +88,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     rigClick() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      var { unicomIntegratedId, unicomIntegratedType } = JSON.parse(localStorage.getItem('greemall_user')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.form.unicomIntegratedId = unicomIntegratedId || '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.form.unicomIntegratedType = unicomIntegratedType || '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.dialogbol = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      getUserInfo({ adminUserId: this.userid }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.form.unicomIntegratedId = res?.data?.unicomIntegratedId || '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.form.unicomIntegratedType = res?.data?.unicomIntegratedType || '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.dialogbol = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Cancel() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.dialogbol = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -96,7 +101,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.ruleForm.validate(valid => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           commonUnicomeConfigSave(this.form).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            location.reload(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               type: 'success', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               message: '设置成功' 
			 |