resolver-egretimp-plus 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -69,6 +69,14 @@ const dialogStyle = computed(() => {
69
69
  return {color: 'red', 'height': dialogHeight}
70
70
  })
71
71
 
72
+ const dialogProps = computed(() => {
73
+ const ret = Object.keys(ElDialog.props).reduce((ret, key) => {
74
+ ret[key] = props.dialogProps[key]
75
+ return ret
76
+ }, {})
77
+ return ret
78
+ })
79
+
72
80
  function loadedConfigCompeted(pageConfig) {
73
81
  rootOptionComp.value = pageConfig.rootOptionComp
74
82
  }
@@ -89,9 +97,12 @@ defineExpose({
89
97
  </script>
90
98
  <template>
91
99
  <ElConfigProvider :locale="locale">
92
- <ElDialog class="open-child-frame" v-model="dialogVisible"
100
+ <ElDialog class="open-child-frame"
101
+ :close-on-click-modal="false"
102
+ :width="dialogWidth"
103
+ v-bind="dialogProps"
104
+ v-model="dialogVisible"
93
105
  :style="dialogStyle"
94
- :close-on-click-modal="false" :width="dialogWidth"
95
106
  >
96
107
  <div>
97
108
  </div>
@@ -90,7 +90,7 @@ export async function dispatchClickEvent(service, { dynamicMapComp, requestTrace
90
90
  const ret = await (axiosInstance && axiosInstance(reqConfig))
91
91
  afterRequestService && afterRequestService(ret)
92
92
 
93
- if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip: httpMethod.toLocaleLowerCase() === 'get'})) {
93
+ if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip: httpMethod.toLocaleLowerCase() === 'get' || service.transactionType == '1'})) {
94
94
  await Promise.reject()
95
95
  return
96
96
  }
@@ -66,7 +66,11 @@ export default {
66
66
  const tableColumnConfigs = computed(() => {
67
67
  let pmPageMetaList = props.config.pmPageMetaList || []
68
68
  return pmPageMetaList.map((config) => {
69
- if (config.displayType === DISPLAY_SHOW && !tableColumnFirstMetaCode.value) {
69
+ if (
70
+ config.displayType !== DISPLAY_HIDDEN &&
71
+ !((props.width == 0 || props.width == '0px' || config.hidden == '1')) &&
72
+ !tableColumnFirstMetaCode.value
73
+ ) {
70
74
  tableColumnFirstMetaCode.value = config.metaCode
71
75
  }
72
76
  return normalColumnConfig(config)