|
@@ -9,7 +9,7 @@
|
|
|
<span> {{ item.active ? '已' : '' }}{{ item.title }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <iframe-dialog @getEmployInfo="getEmployEvent" @setDialogStatus="setDialogStatus" :showDialog="setShowDialog"></iframe-dialog>
|
|
|
+ <iframe-dialog :iframe-src="iframeSrc" @getEmployInfo="getEmployEvent" @setDialogStatus="setDialogStatus" :showDialog="setShowDialog"></iframe-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -28,6 +28,12 @@ export default {
|
|
|
idArr: ''
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ ename: {
|
|
|
+ type: Object,
|
|
|
+ default () {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -41,7 +47,8 @@ export default {
|
|
|
{ title: '创建客户', 'icon-0': 'chuangjiankehu', 'icon-1': 'chuangjiankehu', class: 'custom', active: 0, msg: 0 }
|
|
|
],
|
|
|
employInfo: {},
|
|
|
- setShowDialog: false
|
|
|
+ setShowDialog: false,
|
|
|
+ iframeSrc: ''
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -81,6 +88,7 @@ export default {
|
|
|
break
|
|
|
case 'custom':
|
|
|
this.setShowDialog = true
|
|
|
+ this.iframeSrc = location.origin + '/succbi/crm_system/app/crm.app/%E9%80%9A%E7%94%A8%E5%88%9B%E5%BB%BA/create_customer.spg?E_customer_name=' + this.ename
|
|
|
break
|
|
|
default:
|
|
|
break
|