cloud-web-corejs 1.0.30 → 1.0.31

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.
@@ -8,9 +8,9 @@
8
8
  {{ i18nt('designer.toolbar.pcLayout') }}
9
9
  </el-button>
10
10
  <!-- <el-button :type="layoutType === 'Pad' ? 'info' : ''" @click="changeLayoutType('Pad')">{{ i18nt('designer.toolbar.padLayout') }}</el-button>-->
11
- <!-- <el-button :type="layoutType === 'H5' ? 'info' : ''" @click="changeLayoutType('H5')" size="mini">
12
- {{ i18nt('designer.toolbar.mobileLayout') }}
13
- </el-button>-->
11
+ <!-- <el-button :type="layoutType === 'H5' ? 'info' : ''" @click="changeLayoutType('H5')" size="mini">
12
+ {{ i18nt('designer.toolbar.mobileLayout') }}
13
+ </el-button>-->
14
14
  </el-button-group>
15
15
  <!-- <el-button type="" style="margin-left: 20px" :title="i18nt('designer.toolbar.nodeTreeHint')" @click="showNodeTreeDrawer"><svg-icon icon-class="node-tree" /></el-button>-->
16
16
  </div>
@@ -42,7 +42,8 @@
42
42
  <i class="iconfont icon-liebiaoshezhi-list-setting"/>
43
43
  表单/列表设置
44
44
  </el-button>-->
45
- <el-button type="primary" @click="saveReportTemplate()" plain v-if="designer.vueInstance.isDev">
45
+ <el-button type="primary" @click="saveReportTemplate()" plain
46
+ v-if="designer.vueInstance.isDev && designer.vueInstance.menuKindAuth.editAuth===1">
46
47
  <i class="el-icon-check"/>
47
48
  保存
48
49
  </el-button>
@@ -111,123 +112,123 @@
111
112
  </VFormRender>
112
113
  </div>
113
114
  </div>
114
- <!-- <el-tabs v-model="activeName" class="tab-box">
115
- <el-tab-pane label="常规" name="first">
116
- <div>
117
- <div class="form-render-wrapper" id="containt"
118
- :class="[layoutType === 'H5' ? 'h5-layout' : layoutType === 'Pad' ? 'pad-layout' : '']">
119
- <VFormRender
120
- ref="preForm"
121
- :form-json="formJson"
122
- :form-data="testFormData"
123
- :preview-state="true"
124
- :option-data="testOptionData"
125
- @appendButtonClick="testOnAppendButtonClick"
126
- @buttonClick="testOnButtonClick"
127
- @formChange="handleFormChange"
128
- :reportTemplate.sync="reportTemplate"
129
- v-if="showRender" visible-key="showRender" :parent-target="_self" @reload="$reloadHandle"
130
- >
131
- &lt;!&ndash;
132
- <div slot="testSlot">aaaa</div>
133
- &ndash;&gt;
134
- </VFormRender>
135
- </div>
136
- </div>
137
- <code-editor v-model="testFunc" style="display: none"></code-editor>
138
- </el-tab-pane>
139
- <el-tab-pane label="列表" name="second">
140
- <template v-if="false">
141
- <div class="grid-height">
142
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
143
- @custom="$vxeTableUtil.customHandle">
144
- <template #form>
145
- <div class="clearfix screen-btns">
146
- <div class="fl">
147
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
148
- </vxe-button>
149
- </div>
150
- <div class="fr">
151
- <vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
152
- @click="formData={}">重置
153
- </vxe-button>
154
- <vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
155
- </vxe-button>
156
- </div>
115
+ <!-- <el-tabs v-model="activeName" class="tab-box">
116
+ <el-tab-pane label="常规" name="first">
117
+ <div>
118
+ <div class="form-render-wrapper" id="containt"
119
+ :class="[layoutType === 'H5' ? 'h5-layout' : layoutType === 'Pad' ? 'pad-layout' : '']">
120
+ <VFormRender
121
+ ref="preForm"
122
+ :form-json="formJson"
123
+ :form-data="testFormData"
124
+ :preview-state="true"
125
+ :option-data="testOptionData"
126
+ @appendButtonClick="testOnAppendButtonClick"
127
+ @buttonClick="testOnButtonClick"
128
+ @formChange="handleFormChange"
129
+ :reportTemplate.sync="reportTemplate"
130
+ v-if="showRender" visible-key="showRender" :parent-target="_self" @reload="$reloadHandle"
131
+ >
132
+ &lt;!&ndash;
133
+ <div slot="testSlot">aaaa</div>
134
+ &ndash;&gt;
135
+ </VFormRender>
157
136
  </div>
158
- <template v-if="searchFields.length>0">
159
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
160
- <vxe-form-item v-for="(item,index) in searchFields"
161
- :key="index" :title="item.label+':'">
162
- <template v-slot>
163
- <el-input v-model="formData[item.prop]" size="small" clearable/>
164
- </template>
165
- </vxe-form-item>
166
- </vxe-form>
167
- </template>
168
- </template>
169
- </vxe-grid>
170
- </div>
171
- </template>
172
- <template v-else>
173
- <div id="containt">
174
- <div class="tree-box fl">
175
- <div class="tit"><b>机构分类</b></div>
176
- <el-tree
177
- :props="treeOption.defaultProps"
178
- :load="loadNode"
179
- node-key="id"
180
- ref="tree"
181
- highlight-current
182
- lazy
183
- :expand-on-click-node="false"
184
- @node-click="handleNodeClick"
185
- class="tree-list"
186
- icon-class="el-icon-arrow-down"
187
- ></el-tree>
188
- </div>
189
- <label id="labBtn">
190
- <div class="icon">
191
- <i class="el-icon-more"></i>
192
- <i class="el-icon-more"></i>
193
137
  </div>
194
- </label>
195
- <div class="main-right fr" style="padding-left:6px;">
196
- <div class="grid-height">
197
- <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
198
- @custom="$vxeTableUtil.customHandle">
199
- <template #form>
200
- <div class="clearfix screen-btns">
201
- <div class="fl">
202
- <vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
203
- </vxe-button>
204
- </div>
205
- <div class="fr">
206
- <vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
207
- @click="formData={}">重置
208
- </vxe-button>
209
- <vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
210
- </vxe-button>
138
+ <code-editor v-model="testFunc" style="display: none"></code-editor>
139
+ </el-tab-pane>
140
+ <el-tab-pane label="列表" name="second">
141
+ <template v-if="false">
142
+ <div class="grid-height">
143
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
144
+ @custom="$vxeTableUtil.customHandle">
145
+ <template #form>
146
+ <div class="clearfix screen-btns">
147
+ <div class="fl">
148
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
149
+ </vxe-button>
150
+ </div>
151
+ <div class="fr">
152
+ <vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
153
+ @click="formData={}">重置
154
+ </vxe-button>
155
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
156
+ </vxe-button>
157
+ </div>
211
158
  </div>
159
+ <template v-if="searchFields.length>0">
160
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
161
+ <vxe-form-item v-for="(item,index) in searchFields"
162
+ :key="index" :title="item.label+':'">
163
+ <template v-slot>
164
+ <el-input v-model="formData[item.prop]" size="small" clearable/>
165
+ </template>
166
+ </vxe-form-item>
167
+ </vxe-form>
168
+ </template>
169
+ </template>
170
+ </vxe-grid>
171
+ </div>
172
+ </template>
173
+ <template v-else>
174
+ <div id="containt">
175
+ <div class="tree-box fl">
176
+ <div class="tit"><b>机构分类</b></div>
177
+ <el-tree
178
+ :props="treeOption.defaultProps"
179
+ :load="loadNode"
180
+ node-key="id"
181
+ ref="tree"
182
+ highlight-current
183
+ lazy
184
+ :expand-on-click-node="false"
185
+ @node-click="handleNodeClick"
186
+ class="tree-list"
187
+ icon-class="el-icon-arrow-down"
188
+ ></el-tree>
189
+ </div>
190
+ <label id="labBtn">
191
+ <div class="icon">
192
+ <i class="el-icon-more"></i>
193
+ <i class="el-icon-more"></i>
212
194
  </div>
213
- <template v-if="searchFields.length>0">
214
- <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
215
- <vxe-form-item v-for="(item,index) in searchFields"
216
- :key="index" :title="item.label+':'">
217
- <template v-slot>
218
- <el-input v-model="formData[item.prop]" size="small" clearable/>
195
+ </label>
196
+ <div class="main-right fr" style="padding-left:6px;">
197
+ <div class="grid-height">
198
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
199
+ @custom="$vxeTableUtil.customHandle">
200
+ <template #form>
201
+ <div class="clearfix screen-btns">
202
+ <div class="fl">
203
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus">新增
204
+ </vxe-button>
205
+ </div>
206
+ <div class="fr">
207
+ <vxe-button icon="el-icon-brush" class="button-sty" type="text" status="primary" plain
208
+ @click="formData={}">重置
209
+ </vxe-button>
210
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty">搜索
211
+ </vxe-button>
212
+ </div>
213
+ </div>
214
+ <template v-if="searchFields.length>0">
215
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData">
216
+ <vxe-form-item v-for="(item,index) in searchFields"
217
+ :key="index" :title="item.label+':'">
218
+ <template v-slot>
219
+ <el-input v-model="formData[item.prop]" size="small" clearable/>
220
+ </template>
221
+ </vxe-form-item>
222
+ </vxe-form>
219
223
  </template>
220
- </vxe-form-item>
221
- </vxe-form>
222
- </template>
223
- </template>
224
- </vxe-grid>
225
- </div>
226
- </div>
227
- </div>
228
- </template>
229
- </el-tab-pane>
230
- </el-tabs>-->
224
+ </template>
225
+ </vxe-grid>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </template>
230
+ </el-tab-pane>
231
+ </el-tabs>-->
231
232
  <div slot="footer" class="dialog-footer" v-if="false">
232
233
  <!-- <el-button type="primary" @click="getFormData" class="button-sty">{{ i18nt('designer.hint.getFormData') }}</el-button>
233
234
  <el-button type="primary" @click="resetForm" class="button-sty">{{ i18nt('designer.hint.resetForm') }}</el-button>
@@ -530,10 +531,13 @@ div.toolbar-container {
530
531
 
531
532
  .el-button {
532
533
  margin-left: 15px;
533
- margin-right:15px;
534
+ margin-right: 15px;
534
535
  font-size: 14px;
535
536
  vertical-align: middle;
536
- &.el-button--primary{ padding: 7px 14px;}
537
+
538
+ &.el-button--primary {
539
+ padding: 7px 14px;
540
+ }
537
541
  }
538
542
  }
539
543
  }
@@ -38,7 +38,7 @@
38
38
  <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
39
39
  <template #buttonLeft>
40
40
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
41
- v-if="currentFormType.addAuth===1">{{ $t1('新增') }}
41
+ v-if="currentFormType.editAuth===1">{{ $t1('新增') }}
42
42
  </vxe-button>
43
43
  </template>
44
44
  <template #buttonRight>
@@ -7,9 +7,11 @@
7
7
  {{ dataId ? $t1('查看表单脚本') : $t1('新增表单脚本') }}
8
8
  </div>
9
9
  <div class="fr">
10
- <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
10
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
11
+ {{ $t1('重置') }}
11
12
  </el-button>
12
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData" v-if="isDev">{{$t1('保存')}}
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
14
+ v-if="isDev && menuKindAuth.editAuth===1">{{ $t1('保存') }}
13
15
  </el-button>
14
16
  </div>
15
17
  </div>
@@ -39,12 +39,12 @@
39
39
  <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
40
40
  <template #buttonLeft>
41
41
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
42
- v-if="isDev && currentFormType.addAuth===1">{{ $t1('新增') }}
42
+ v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
43
43
  </vxe-button>
44
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
44
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport" v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
45
45
  </vxe-button>
46
46
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
47
- v-if="isDev">{{ $t1('导出发布') }}
47
+ v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
48
48
  </vxe-button>
49
49
  <projectTagAddButton :option="addProjectTagOption" v-if="isDev"></projectTagAddButton>
50
50
  <projectTagDeleteButton :option="deleteProjectTagOption" v-if="isDev"></projectTagDeleteButton>
@@ -31,7 +31,10 @@ modules = {
31
31
  showCodeEditor: false,
32
32
  showMenuKindDialog: false,
33
33
  isDev: true,
34
- showPreformDialog: false
34
+ showPreformDialog: false,
35
+ menuKindAuth: {
36
+ editAuth: 1
37
+ }
35
38
  };
36
39
  },
37
40
  created() {
@@ -70,6 +73,7 @@ modules = {
70
73
  success: res => {
71
74
  this.formScript = res.objx || {};
72
75
  this.showCodeEditor = true;
76
+ this.getMenuKindAuth(this.formScript.menuKindCode);
73
77
  //获取操作日志数据
74
78
  this.$refs['oplogTable'].initData({
75
79
  param: () => {
@@ -143,6 +147,20 @@ modules = {
143
147
  this.isDev = res.objx == 1
144
148
  }
145
149
  });
150
+ },
151
+ getMenuKindAuth(menuKindCode) {
152
+ if (menuKindCode) {
153
+ this.$http({
154
+ aes: true,
155
+ url: USER_PREFIX + '/menu_kind_auth/getAuth',
156
+ method: `post`,
157
+ data: {stringOne: menuKindCode},
158
+ isLoading: true,
159
+ success: res => {
160
+ this.menuKindAuth = res.objx || {}
161
+ }
162
+ });
163
+ }
146
164
  }
147
165
  }
148
166
  };
@@ -321,7 +321,8 @@ modules = {
321
321
  this.$jsonExport({
322
322
  targetRef: "table-m1",
323
323
  url: USER_PREFIX + "/form_develop/exportFormScript",
324
- abcEnabled: true
324
+ abcEnabled: true,
325
+ editAuth: this.currentFormType.editAuth
325
326
  })
326
327
  },
327
328
  getBdEnv() {
@@ -13,7 +13,8 @@
13
13
  <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
14
14
  {{ $t1('重置') }}
15
15
  </el-button>
16
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData" v-if="isDev">
16
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
17
+ v-if="isDev && menuKindAuth.editAuth===1">
17
18
  {{ $t1('保存') }}
18
19
  </el-button>
19
20
  </div>
@@ -43,12 +43,12 @@
43
43
  <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
44
44
  <template #buttonLeft>
45
45
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog()"
46
- v-if="isDev && currentFormType.addAuth===1">{{ $t1('新增') }}
46
+ v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
47
47
  </vxe-button>
48
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
48
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport" v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
49
49
  </vxe-button>
50
50
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
51
- v-if="isDev">{{ $t1('导出发布') }}
51
+ v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
52
52
  </vxe-button>
53
53
  <projectTagAddButton :option="addProjectTagOption" v-if="isDev"></projectTagAddButton>
54
54
  <projectTagDeleteButton :option="deleteProjectTagOption" v-if="isDev"></projectTagDeleteButton>
@@ -35,7 +35,10 @@ modules = {
35
35
  serviceIds: ['user'],
36
36
  showMenuKindDialog: false,
37
37
  isDev: true,
38
- showPreformDialog: false
38
+ showPreformDialog: false,
39
+ menuKindAuth: {
40
+ editAuth: 1
41
+ }
39
42
  };
40
43
  },
41
44
  created() {
@@ -55,7 +58,7 @@ modules = {
55
58
  if (this.dataId) {
56
59
  this.isEdit = true;
57
60
  this.$commonHttp({
58
- aes:true,
61
+ aes: true,
59
62
  url: USER_PREFIX + `/formTemplate/getByFormCode`,
60
63
  method: `post`,
61
64
  data: {
@@ -65,6 +68,7 @@ modules = {
65
68
  modalStrictly: true,
66
69
  success: res => {
67
70
  this.formTemplate = res.objx || {};
71
+ this.getMenuKindAuth(this.formTemplate.menuKindCode);
68
72
  this.$nextTick(() => {
69
73
  this.isInited = true;
70
74
  });
@@ -97,7 +101,7 @@ modules = {
97
101
  logContent: preformData.logContent
98
102
  };
99
103
  this.$http({
100
- aes:true,
104
+ aes: true,
101
105
  url: url,
102
106
  method: `post`,
103
107
  data: formData,
@@ -149,6 +153,20 @@ modules = {
149
153
  this.$baseReload()
150
154
  }
151
155
  })
156
+ },
157
+ getMenuKindAuth(menuKindCode) {
158
+ if (menuKindCode) {
159
+ this.$http({
160
+ aes: true,
161
+ url: USER_PREFIX + '/menu_kind_auth/getAuth',
162
+ method: `post`,
163
+ data: {stringOne: menuKindCode},
164
+ isLoading: true,
165
+ success: res => {
166
+ this.menuKindAuth = res.objx || {}
167
+ }
168
+ });
169
+ }
152
170
  }
153
171
  }
154
172
  };
@@ -547,7 +547,8 @@ modules = {
547
547
  this.$jsonExport({
548
548
  targetRef: "table-m1",
549
549
  url: USER_PREFIX + "/form_develop/exportFormTemplate",
550
- abcEnabled: true
550
+ abcEnabled: true,
551
+ editAuth: this.currentFormType.editAuth
551
552
  })
552
553
  },
553
554
  getBdEnv() {
@@ -43,7 +43,7 @@
43
43
  </template>
44
44
  <template v-else>
45
45
  <template v-if="isDev">
46
- <a class="a-link" @click="insertChildEvent(obj)" v-if="obj.row.addAuth">
46
+ <a class="a-link" @click="insertChildEvent(obj)" v-if="obj.row.editAuth">
47
47
  <el-tooltip :enterable="false" effect="dark" :content="$t1('新增')" placement="top"
48
48
  popper-class="tooltip-skin"><i class="el-icon-circle-plus-outline"></i></el-tooltip>
49
49
  </a>
@@ -92,7 +92,7 @@ modules = {
92
92
  showHeader: this.selectMulti,
93
93
  trigger: 'row',
94
94
  checkMethod: ({row}) => {
95
- if (!row.addAuth) {
95
+ if (!row.editAuth) {
96
96
  return false;
97
97
  }
98
98
  if (this.param && this.param.selectLastLevel) {
@@ -10,7 +10,7 @@
10
10
  <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
11
11
  </el-button>
12
12
  <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
13
- v-if="isDev && !szTaMb.systems">
13
+ v-if="isDev && !szTaMb.systems && menuKindAuth.editAuth===1">
14
14
  保存
15
15
  </el-button>
16
16
 
@@ -43,12 +43,12 @@
43
43
  <tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
44
44
  <template #buttonLeft>
45
45
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
46
- v-if="isDev && currentFormType.addAuth===1">{{ $t1('新增') }}
46
+ v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
47
47
  </vxe-button>
48
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
48
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport" v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
49
49
  </vxe-button>
50
50
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
51
- v-if="isDev">{{ $t1('导出发布') }}
51
+ v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
52
52
  </vxe-button>
53
53
  <projectTagAddButton :option="addProjectTagOption" v-if="isDev"></projectTagAddButton>
54
54
  <projectTagDeleteButton :option="deleteProjectTagOption" v-if="isDev"></projectTagDeleteButton>
@@ -59,8 +59,10 @@ modules = {
59
59
  createdTableColumnStr: null,
60
60
  createdTableColumnArray: [],
61
61
  isDev: true,
62
- showPreformDialog: false
63
-
62
+ showPreformDialog: false,
63
+ menuKindAuth: {
64
+ editAuth: 1
65
+ }
64
66
  };
65
67
  },
66
68
  created() {
@@ -99,6 +101,7 @@ modules = {
99
101
  this.szTaMb = szTaMb;
100
102
 
101
103
  this.getCreatedTableColumns();
104
+ this.getMenuKindAuth(this.szTaMb.menuKindCode);
102
105
  } else {
103
106
  callback(res)
104
107
  }
@@ -772,6 +775,20 @@ modules = {
772
775
  this.isDev = res.objx == 1
773
776
  }
774
777
  });
778
+ },
779
+ getMenuKindAuth(menuKindCode) {
780
+ if (menuKindCode) {
781
+ this.$http({
782
+ aes: true,
783
+ url: USER_PREFIX + '/menu_kind_auth/getAuth',
784
+ method: `post`,
785
+ data: {stringOne: menuKindCode},
786
+ isLoading: true,
787
+ success: res => {
788
+ this.menuKindAuth = res.objx || {}
789
+ }
790
+ });
791
+ }
775
792
  }
776
793
  }
777
794
  };
@@ -352,7 +352,8 @@ modules = {
352
352
  this.$jsonExport({
353
353
  targetRef: "table-m1",
354
354
  url: USER_PREFIX + "/form_develop/exportSzTaMb",
355
- abcEnabled: true
355
+ abcEnabled: true,
356
+ editAuth: this.currentFormType.editAuth
356
357
  })
357
358
  },
358
359
  getBdEnv() {
@@ -11,6 +11,7 @@
11
11
  @field-widget-removed="handleFWR"
12
12
  @form-json-updated="handleFJU"
13
13
  @reflushTemplateList="reflushTemplateList"
14
+ v-if="showDesinger"
14
15
  />
15
16
  </div><!--
16
17
  <el-tabs v-model="activeName" class="tab-boxCard tabCard-sty1" v-if="showDesinger">