cloud-web-corejs 1.0.54-dev.237 → 1.0.54-dev.239

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.237",
4
+ "version": "1.0.54-dev.239",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div>
2
+ <div v-show="false">
3
3
  <el-form-item label-width="0">
4
4
  <el-divider class="custom-divider">{{i18nt('designer.setting.customLabelIcon')}}</el-divider>
5
5
  </el-form-item>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <el-form-item :label="i18nt('designer.setting.labelIconPosition')">
2
+ <el-form-item :label="i18nt('designer.setting.labelIconPosition')" v-show="false">
3
3
  <el-select v-model="optionModel.labelIconPosition">
4
4
  <el-option v-for="item in labelIconPosition" :key="item.value" :label="item.label"
5
5
  :value="item.value">
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <el-form-item :label="i18nt('designer.setting.labelTooltip')">
2
+ <el-form-item :label="i18nt('designer.setting.labelTooltip')" v-show="false">
3
3
  <el-input type="text" v-model="optionModel.labelTooltip"></el-input>
4
4
  </el-form-item>
5
5
  </template>
@@ -12,7 +12,7 @@
12
12
  <i class="el-icon-edit"></i>
13
13
  </a>
14
14
  </el-form-item>
15
- <el-form-item :label="i18nt('仅显示明文文本')">
15
+ <!-- <el-form-item :label="i18nt('仅显示明文文本')">
16
16
  <el-switch v-model="optionModel.showTextEnabled" @change="optionModel.showEncryptTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
17
17
  </el-form-item>
18
18
  <el-form-item :label="i18nt('仅显示密文文本')">
@@ -99,21 +99,21 @@
99
99
  <el-input v-model="row.companyCodes" clearable></el-input>
100
100
  </template>
101
101
  </el-table-column>
102
- <!-- <el-table-column :label="i18nt('登录名')" width="150">
102
+ &lt;!&ndash; <el-table-column :label="i18nt('登录名')" width="150">
103
103
  <template slot-scope="{row}">
104
104
  <el-input v-model="row.loginAccounts" clearable></el-input>
105
105
  </template>
106
- </el-table-column>-->
106
+ </el-table-column>&ndash;&gt;
107
107
  <el-table-column :label="i18nt('角色编码')" width="250">
108
108
  <template slot-scope="{row}">
109
109
  <el-input v-model="row.roleCodes" clearable></el-input>
110
110
  </template>
111
111
  </el-table-column>
112
- <!-- <el-table-column :label="i18nt('机构编码')" width="150">
112
+ &lt;!&ndash; <el-table-column :label="i18nt('机构编码')" width="150">
113
113
  <template slot-scope="{row}">
114
114
  <el-input v-model="row.saleOrgCodes" clearable></el-input>
115
115
  </template>
116
- </el-table-column>-->
116
+ </el-table-column>&ndash;&gt;
117
117
  <el-table-column :label="i18nt('设置')" width="150">
118
118
  <template slot-scope="{row}">
119
119
  <el-select v-model="row.type" clearable>
@@ -152,7 +152,7 @@
152
152
  {{ i18nt('designer.hint.confirm') }}
153
153
  </el-button>
154
154
  </div>
155
- </el-dialog>
155
+ </el-dialog>-->
156
156
  </div>
157
157
  </template>
158
158
 
@@ -188,12 +188,12 @@ const ADVANCED_PROPERTIES = {
188
188
  'round': 'round-editor',
189
189
  'circle': 'circle-editor',
190
190
  'icon': 'icon-editor',
191
- 'labelIconClass': 'labelIconClass-editor',
192
- 'labelIconPosition': 'labelIconPosition-editor',
193
- 'labelTooltip': 'labelTooltip-editor',
194
- 'appendButton': 'appendButton-editor',
195
- 'appendButtonDisabled': 'appendButtonDisabled-editor',
196
- 'buttonIcon': 'buttonIcon-editor',
191
+ // 'labelIconClass': 'labelIconClass-editor',
192
+ // 'labelIconPosition': 'labelIconPosition-editor',
193
+ // 'labelTooltip': 'labelTooltip-editor',
194
+ // 'appendButton': 'appendButton-editor',
195
+ // 'appendButtonDisabled': 'appendButtonDisabled-editor',
196
+ // 'buttonIcon': 'buttonIcon-editor',
197
197
 
198
198
 
199
199
  }
@@ -442,8 +442,8 @@ export const containers = [
442
442
  tableRef: "",
443
443
  detailPaneContainer: true,
444
444
  defaultCollapse:false,
445
- onCreated: "",
446
- onMounted: "",
445
+ /*onCreated: "",
446
+ onMounted: "",*/
447
447
  }
448
448
  },
449
449
  {
@@ -951,9 +951,9 @@ export const basicFields = [
951
951
  showWordLimit: !1,
952
952
  prefixIcon: "",
953
953
  suffixIcon: "",
954
- appendButton: !1,
954
+ /*appendButton: !1,
955
955
  appendButtonDisabled: !1,
956
- buttonIcon: "el-icon-search",
956
+ buttonIcon: "el-icon-search",*/
957
957
  onCreated: "",
958
958
  onMounted: "",
959
959
  onInput: "",
@@ -1005,7 +1005,7 @@ export const basicFields = [
1005
1005
  validation: "",
1006
1006
  validationHint: "",
1007
1007
  customClass: "",
1008
- labelIconClass: null,
1008
+ /*labelIconClass: null,
1009
1009
  labelIconPosition: "rear",
1010
1010
  labelTooltip: null,
1011
1011
  minLength: null,
@@ -1015,7 +1015,7 @@ export const basicFields = [
1015
1015
  suffixIcon: "",
1016
1016
  appendButton: !1,
1017
1017
  appendButtonDisabled: !1,
1018
- buttonIcon: "el-icon-search",
1018
+ buttonIcon: "el-icon-search",*/
1019
1019
  onCreated: "",
1020
1020
  onMounted: "",
1021
1021
  onInput: "",
@@ -1023,7 +1023,7 @@ export const basicFields = [
1023
1023
  onFocus: "",
1024
1024
  onBlur: "",
1025
1025
  onValidate: "",
1026
- onAppendButtonClick: "",
1026
+ // onAppendButtonClick: "",
1027
1027
  widgetWidth: "",
1028
1028
  accessType: "1",
1029
1029
  ...defaultWfConfig,
@@ -1734,9 +1734,9 @@ export const basicFields = [
1734
1734
  {
1735
1735
  type: "html-text",
1736
1736
  icon: "html-text",
1737
- commonFlag: !0,
1737
+ commonFlag: !1,
1738
1738
  formItemFlag: !1,
1739
- columnFlag: true,
1739
+ columnFlag: false,
1740
1740
  options: {
1741
1741
  name: "",
1742
1742
  columnWidth: "200px",
@@ -27,12 +27,25 @@
27
27
  <i class="el-icon-arrow-right" ayadmin-event="rightPage"
28
28
  one-link-mark="yes" @click="$refs.scrollPane.handleScrollRight()"/>
29
29
  </el-tooltip>
30
- <el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('刷新')" placement="bottom">
30
+ <el-dropdown style="margin-right:10px">
31
+ <span class="el-dropdown-link">
32
+ <i class="el-icon-more el-icon--right"></i>
33
+ </span>
34
+ <el-dropdown-menu slot="dropdown">
35
+ <el-dropdown-item @click.native="refreshSelectedTag($route)">
36
+ <i class="el-icon-refresh"/><span>{{ $t1('刷新') }}</span>
37
+ </el-dropdown-item>
38
+ <el-dropdown-item @click.native="closeAllTags(selectedTag)">
39
+ <i class="el-icon-close"/><span>{{ $t1('全部关闭') }}</span>
40
+ </el-dropdown-item>
41
+ </el-dropdown-menu>
42
+ </el-dropdown>
43
+ <!-- <el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('刷新')" placement="bottom">
31
44
  <i class="el-icon-refresh" @click="refreshSelectedTag($route)"/>
32
45
  </el-tooltip>
33
46
  <el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('全部关闭')" placement="bottom">
34
47
  <i class="el-icon-close" @click="closeAllTags(selectedTag)"/>
35
- </el-tooltip>
48
+ </el-tooltip> -->
36
49
  </div>
37
50
  <!-- <ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
38
51
  <li @click="refreshSelectedTag(selectedTag)">Refresh</li>
@@ -191,11 +204,13 @@ export default {
191
204
  })
192
205
  },
193
206
  closeAllTags(view) {
194
- this.$store.dispatch('tagsView/delAllViews').then(({visitedViews}) => {
195
- if (this.affixTags.some(tag => tag.path === view.path)) {
196
- return
197
- }
198
- this.toLastView(visitedViews, view)
207
+ this.$baseConfirm(this.$t1('您确定要全部关闭吗?')).then(() => {
208
+ this.$store.dispatch('tagsView/delAllViews').then(({visitedViews}) => {
209
+ if (this.affixTags.some(tag => tag.path === view.path)) {
210
+ return
211
+ }
212
+ this.toLastView(visitedViews, view)
213
+ })
199
214
  })
200
215
  },
201
216
  toLastView(visitedViews, view) {
@@ -14,7 +14,11 @@ modules = {
14
14
  formTemplate: Object,
15
15
  currentFormType: Object,
16
16
  readonly: Boolean,
17
- otherFlag:Boolean
17
+ otherFlag:Boolean,
18
+ scriptType: {
19
+ type: Number,
20
+ default: 0
21
+ },
18
22
  },
19
23
  components: {formOplogTable, preformDialog, projectTagView, MenuKindDialog,otherAuthDialog},
20
24
  data() {
@@ -23,7 +27,7 @@ modules = {
23
27
  tabIndex: 'first',
24
28
  dataId: '',
25
29
  formScript: {
26
- scriptType: 1,
30
+ scriptType: 0,
27
31
  enabled: true,
28
32
  formCode: null,
29
33
  menuKindCode: null,
@@ -48,11 +52,13 @@ modules = {
48
52
  this.dataId = this._dataId;
49
53
  } else {
50
54
  if (this.formTemplate) {
55
+ this.formScript.scriptType = 1;
51
56
  this.formScript.formCode = this.formTemplate.formCode;
52
57
  this.formScript.menuKindCode = this.formTemplate.menuKindCode;
53
58
  this.formScript.menuKindName = this.formTemplate.menuKindName;
54
59
  this.formScript.serviceName = this.formTemplate.serviceName;
55
60
  } else {
61
+ this.formScript.scriptType = this.scriptType;
56
62
  this.formScript.formCode = 'intf';
57
63
  this.formScript.menuKindName = this.currentFormType?.name || null;
58
64
  this.formScript.menuKindCode = this.currentFormType?.menuKindCode || null;
@@ -54,10 +54,11 @@
54
54
  </tr>
55
55
  <tr>
56
56
  <th>
57
- {{ $t1('执行企业编码') }}
57
+ <em class="f-red">*</em>
58
+ {{ $t1('执行组织编码') }}
58
59
  </th>
59
60
  <td colspan="5">
60
- <el-form-item prop="exeCompanyCode" :rules="[{ required: false, trigger: 'blur' }]">
61
+ <el-form-item prop="exeCompanyCode" :rules="[{ required: true, trigger: 'blur' }]">
61
62
  <el-input type="text" autocomplete="off" v-model="requestSetting.exeCompanyCode" clearable/>
62
63
  </el-form-item>
63
64
  </td>
@@ -166,7 +166,7 @@ export default {
166
166
  width: 150
167
167
  },
168
168
  {
169
- title: '执行企业编码',
169
+ title: '执行组织编码',
170
170
  field: 'exeCompanyCode',
171
171
  width: 150
172
172
  },