| | |
| | | } |
| | | } |
| | | if (appType === 'mob') { |
| | | opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'innerpage', 'funcbutton'].includes(item.value)) |
| | | opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'innerpage', 'funcbutton'].includes(item.value)) |
| | | funTypes = [ |
| | | { value: 'scan', text: '扫码' }, |
| | | { value: 'pay', text: '支付' }, |
| | |
| | | } |
| | | |
| | | let closetab = [] |
| | | if (!appType) { |
| | | if (!appType && viewType !== 'popview') { |
| | | closetab = [{ |
| | | value: 'closetab', |
| | | text: '关闭标签' |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'sysInterface', |
| | | label: '系统接口', |
| | | label: '系统类型', |
| | | initVal: card.sysInterface || 'false', |
| | | tooltip: '业务系统指同一sso下的其他业务系统,外部系统指不同sso下的其他业务系统。', |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: '是' |
| | | }, { |
| | | value: 'false', |
| | | text: '否' |
| | | text: '业务' |
| | | }, { |
| | | value: 'true', |
| | | text: '单点' |
| | | }, { |
| | | value: 'external', |
| | | text: '外部' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | key: 'proInterface', |
| | | label: '正式地址', |
| | | initVal: card.proInterface || '', |
| | | tooltip: '正式系统所使用的接口地址。', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'keyinterface', |
| | | key: 'exInterface', |
| | | label: '测试地址', |
| | | initVal: card.exInterface || '', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'keyinterface', |
| | | key: 'exProInterface', |
| | | label: '正式地址', |
| | | initVal: card.exProInterface || '', |
| | | tooltip: '正式系统所使用的接口地址。', |
| | | required: false |
| | | }, |
| | |
| | | }, { |
| | | value: 'false', |
| | | text: '否' |
| | | }] |
| | | }], |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'radio', |
| | |
| | | }, { |
| | | value: 'false', |
| | | text: '非必填' |
| | | }] |
| | | }], |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'cascader', |
| | |
| | | ] |
| | | |
| | | let pageTemps = [ |
| | | // { value: 'print', text: '标签打印模板' }, |
| | | // { value: 'billprintTemp', text: '单据打印模板' }, |
| | | { value: 'billprint', text: '单据打印' }, |
| | | { value: 'pay', text: '支付' }, |
| | | { value: 'custom', text: '自定义' } |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'sysInterface', |
| | | label: '系统接口', |
| | | label: '系统类型', |
| | | initVal: card.sysInterface || 'false', |
| | | tooltip: '业务系统指同一sso下的其他业务系统,外部系统指不同sso下的其他业务系统。', |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: '是' |
| | | }, { |
| | | value: 'false', |
| | | text: '否' |
| | | text: '业务' |
| | | }, { |
| | | value: 'true', |
| | | text: '单点' |
| | | }, { |
| | | value: 'external', |
| | | text: '外部' |
| | | }] |
| | | }, |
| | | { |
| | |
| | | key: 'proInterface', |
| | | label: '正式地址', |
| | | initVal: card.proInterface || '', |
| | | tooltip: '正式系统所使用的接口地址。', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'keyinterface', |
| | | key: 'exInterface', |
| | | label: '测试地址', |
| | | initVal: card.exInterface || '', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'keyinterface', |
| | | key: 'exProInterface', |
| | | label: '正式地址', |
| | | initVal: card.exProInterface || '', |
| | | tooltip: '正式系统所使用的接口地址。', |
| | | required: false |
| | | }, |
| | |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'show', |
| | | label: '显示为', |
| | | initVal: card.show || 'button', |
| | | required: true, |
| | | options: [{ |
| | | value: 'icon', |
| | | text: '图标' |
| | | }, { |
| | | value: 'button', |
| | | text: '图标+文字' |
| | | }, { |
| | | value: 'link', |
| | | text: '文字+图标' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'icon', |
| | | key: 'icon', |
| | | label: '图标', |