cloud-web-corejs 1.0.11 → 1.0.13

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.
Files changed (110) hide show
  1. package/package.json +2 -2
  2. package/src/components/baseAttachment/install.js +0 -1
  3. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +0 -1
  4. package/src/components/jsonImport/mixins.js +0 -1
  5. package/src/components/scriptTest/dialog.vue +0 -1
  6. package/src/components/wf/content2.vue +2 -2
  7. package/src/components/xform/form-designer/form-widget/container-widget/table2-widget.vue +1 -7
  8. package/src/components/xform/form-designer/form-widget/container-widget/vf-box-widget.vue +0 -1
  9. package/src/components/xform/form-designer/form-widget/container-widget/vf-dialog-widget.vue +0 -2
  10. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  11. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -2
  12. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -2
  13. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  14. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
  15. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
  16. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
  17. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
  18. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
  19. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
  20. package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +2 -2
  21. package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
  22. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  23. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  24. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -3
  25. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
  26. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
  27. package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
  28. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
  29. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +2 -2
  30. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +2 -2
  31. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +2 -2
  32. package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
  33. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  34. package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
  35. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  36. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -2
  37. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
  38. package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
  39. package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
  40. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  41. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
  42. package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
  43. package/src/components/xform/form-designer/form-widget/field-widget/slot-widget.vue +1 -1
  44. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
  45. package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
  46. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
  47. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  48. package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
  49. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
  50. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
  52. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
  53. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -2
  54. package/src/components/xform/form-designer/indexMixin.js +1 -2
  55. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  56. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +0 -1
  57. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-h5/detail-h5-editor.vue +0 -1
  58. package/src/components/xform/form-designer/setting-panel/property-editor/entityTableCode-editor.vue +0 -1
  59. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +0 -2
  60. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  61. package/src/components/xform/form-render/container-item/list-h5-item.vue +0 -1
  62. package/src/components/xform/form-render/container-item/list-h5-item2.vue +5 -6
  63. package/src/components/xform/form-render/dynamicDialogRender.js +1 -3
  64. package/src/components/xform/utils/smart-vue-i18n/index.js +0 -1
  65. package/src/components/xform/utils/validators.js +1 -1
  66. package/src/index.js +1 -1
  67. package/src/layout/components/Sidebar/index.vue +0 -1
  68. package/src/layout/components/langTool.vue +0 -1
  69. package/src/permission.js +18 -18
  70. package/src/store/modules/permission.js +39 -39
  71. package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
  72. package/src/views/bd/setting/form_script/dialog.vue +1 -1
  73. package/src/views/bd/setting/form_template/dialog.vue +1 -1
  74. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
  75. package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
  76. package/src/views/bd/setting/table_model/dialog.vue +1 -1
  77. package/src/views/bd/setting/table_model/edit.vue +5 -5
  78. package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
  79. package/src/views/user/bill_setting/userDialog.vue +1 -1
  80. package/src/views/user/commMenu/index.vue +9 -7
  81. package/src/views/user/company_info/dialog.vue +1 -1
  82. package/src/views/user/country/dialog.vue +1 -1
  83. package/src/views/user/data_type_setting/dialog.vue +1 -1
  84. package/src/views/user/extend_datasource/dialog.vue +1 -1
  85. package/src/views/user/fieldTranslation/editDialog.vue +2 -2
  86. package/src/views/user/file_view_area/itemEdit.vue +1 -1
  87. package/src/views/user/file_view_ins/list.vue +2 -2
  88. package/src/views/user/file_view_ins/propertiesDialog.vue +1 -1
  89. package/src/views/user/form/form_ins_list/edit.vue +0 -1
  90. package/src/views/user/form/form_template/dialog.vue +1 -1
  91. package/src/views/user/form/form_template/edit.vue +1 -1
  92. package/src/views/user/form/form_template/list.vue +0 -2
  93. package/src/views/user/form/form_template_field/dialog.vue +1 -1
  94. package/src/views/user/form/form_type/dialog.vue +1 -1
  95. package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
  96. package/src/views/user/home/default.vue +37 -27
  97. package/src/views/user/home/index.vue +1 -1
  98. package/src/views/user/notify_message/list.vue +0 -1
  99. package/src/views/user/oplog/list.vue +42 -30
  100. package/src/views/user/position/dialog.vue +1 -1
  101. package/src/views/user/project_tag/edit.vue +19 -18
  102. package/src/views/user/role/dialog.vue +1 -1
  103. package/src/views/user/role/edit.vue +4 -3
  104. package/src/views/user/sale_org/dialog.vue +1 -1
  105. package/src/views/user/sale_org/moveDialog.vue +1 -1
  106. package/src/views/user/system_notice/infoDialog.vue +147 -144
  107. package/src/views/user/user/dialog.vue +1 -1
  108. package/src/views/user/user/edit.vue +1 -1
  109. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  110. package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
@@ -1,152 +1,155 @@
1
1
  <template>
2
- <el-dialog
3
- title="公告列表"
4
- :append-to-body="true"
5
- :modal-append-to-body="true"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- width="1001px"
10
- custom-class="dialog-style news-box"
11
- :destroy-on-close="true"
12
- @close="dialogClose"
13
- v-el-drag-dialog
14
- v-el-dialog-center
15
- >
16
- <div class="n-list">
17
- <div class="item" v-for="(item, index) in page.records" :class="{ on: currentIndex == index }" @click="checkLine(item, index)">
18
- <div class="name">
19
- <em v-if="item.top">顶</em>
20
- {{ item.title }}
21
- </div>
22
- <p>{{ item.modifyDate ? item.modifyDate.substring(0, 10) : '' }}</p>
23
- </div>
24
- </div>
25
- <div class="n-cont">
26
- <h2 class="t1">{{ currentRow.title }}</h2>
27
- <h3 class="t2">{{ currentRow.secondTitle }}</h3>
28
- <p class="time">{{ currentRow.modifyDate }}</p>
29
- <div class="c" v-html="currentRow.content || ''"></div>
30
- <div class="annex">
31
- <a v-for="attachment in attachments" @click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.name)">
32
- <i class="el-icon-paperclip"></i>
33
- {{ attachment.name }}
34
- </a>
35
- </div>
36
- </div>
37
- </el-dialog>
2
+ <el-dialog
3
+ title="公告列表"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ width="1001px"
10
+ custom-class="dialog-style news-box"
11
+ :destroy-on-close="true"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ >
16
+ <div class="n-list">
17
+ <div class="item" v-for="(item, index) in page.records" :key="index" :class="{ on: currentIndex == index }"
18
+ @click="checkLine(item, index)">
19
+ <div class="name">
20
+ <em v-if="item.top">顶</em>
21
+ {{ item.title }}
22
+ </div>
23
+ <p>{{ item.modifyDate ? item.modifyDate.substring(0, 10) : '' }}</p>
24
+ </div>
25
+ </div>
26
+ <div class="n-cont">
27
+ <h2 class="t1">{{ currentRow.title }}</h2>
28
+ <h3 class="t2">{{ currentRow.secondTitle }}</h3>
29
+ <p class="time">{{ currentRow.modifyDate }}</p>
30
+ <div class="c" v-html="currentRow.content || ''"></div>
31
+ <div class="annex">
32
+ <a v-for="(attachment,index) in attachments" :key="index"
33
+ @click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.name)">
34
+ <i class="el-icon-paperclip"></i>
35
+ {{ attachment.name }}
36
+ </a>
37
+ </div>
38
+ </div>
39
+ </el-dialog>
38
40
  </template>
39
41
 
40
42
  <script>
41
43
  export default {
42
- name: 'systemNoticeInfoDialog',
43
- props: {
44
- visiable: {
45
- default: false
46
- },
47
- appendToTop: {
48
- default: false
49
- },
50
- param: {
51
- default: null
52
- }
53
- },
54
- created() {},
55
- mounted() {
56
- let that = this;
57
- if (this.param && this.param.id) {
58
- this.flag = 1;
59
- }
60
- this.queryData(1);
61
- },
62
- data() {
63
- var that = this;
64
- return {
65
- showDialog: true,
66
- falseValue: false,
67
- selectMulti: true,
68
- page: {
69
- current: 1,
70
- size: 1,
71
- total: 0,
72
- records: []
73
- },
74
- currentIndex: -1,
75
- currentRow: {},
76
- flag: 0,
77
- attachments: []
78
- };
79
- },
80
- watch: {
81
- currentRow(val) {
82
- this.initAttachfo();
83
- }
84
- },
85
- methods: {
86
- dialogClose() {
87
- this.$emit('update:visiable', false);
88
- },
89
- dialogPrimary() {
90
- // var rows = this.$refs['table-m2'].getTableData().fullData
91
- // this.$emit("confirm", rows)
92
- this.$emit('update:visiable', false);
93
- },
94
- queryData(pageNumber) {
95
- let that = this;
96
- var url = USER_PREFIX + '/system_notice/listPage';
97
- this.$http({
98
- method: 'post',
99
- url: url,
100
- data: {
101
- publish: true,
102
- current: pageNumber
103
- },
104
- success: res => {
105
- let page = res.objx;
106
- this.page = page;
107
- if (this.param && this.param.id) {
108
- let currentRow = this.param;
109
- let currentIndex = -1;
110
- page.records.some(function(item, index) {
111
- if (currentRow.id == item.id) {
112
- currentIndex = index;
113
- currentRow = item;
114
- return true;
115
- } else {
116
- return false;
117
- }
118
- });
119
- this.currentRow = currentRow;
120
- this.currentIndex = currentIndex;
121
- } else {
122
- this.currentIndex = 0;
123
- this.currentRow = page.records.length > 0 ? page.records[0] : {};
124
- }
125
- }
126
- });
127
- },
128
- checkLine(item, index) {
129
- this.flag = 0;
130
- this.currentIndex = index;
131
- this.currentRow = item;
132
- },
133
- initAttachfo() {
134
- let id = this.currentRow && this.currentRow.id ? this.currentRow.id : '';
135
- if (id) {
136
- this.$http({
137
- url: USER_PREFIX + '/system_notice/getAttachments',
138
- method: `post`,
139
- data: { id: id },
140
- success: res => {
141
- this.attachments = res.objx || [];
142
- }
143
- });
144
- } else {
145
- this.attachments = [];
146
- }
147
- }
148
- }
44
+ name: 'systemNoticeInfoDialog',
45
+ props: {
46
+ visiable: {
47
+ default: false
48
+ },
49
+ appendToTop: {
50
+ default: false
51
+ },
52
+ param: {
53
+ default: null
54
+ }
55
+ },
56
+ created() {
57
+ },
58
+ mounted() {
59
+ let that = this;
60
+ if (this.param && this.param.id) {
61
+ this.flag = 1;
62
+ }
63
+ this.queryData(1);
64
+ },
65
+ data() {
66
+ var that = this;
67
+ return {
68
+ showDialog: true,
69
+ falseValue: false,
70
+ selectMulti: true,
71
+ page: {
72
+ current: 1,
73
+ size: 1,
74
+ total: 0,
75
+ records: []
76
+ },
77
+ currentIndex: -1,
78
+ currentRow: {},
79
+ flag: 0,
80
+ attachments: []
81
+ };
82
+ },
83
+ watch: {
84
+ currentRow(val) {
85
+ this.initAttachfo();
86
+ }
87
+ },
88
+ methods: {
89
+ dialogClose() {
90
+ this.$emit('update:visiable', false);
91
+ },
92
+ dialogPrimary() {
93
+ // var rows = this.$refs['table-m2'].getTableData().fullData
94
+ // this.$emit("confirm", rows)
95
+ this.$emit('update:visiable', false);
96
+ },
97
+ queryData(pageNumber) {
98
+ let that = this;
99
+ var url = USER_PREFIX + '/system_notice/listPage';
100
+ this.$http({
101
+ method: 'post',
102
+ url: url,
103
+ data: {
104
+ publish: true,
105
+ current: pageNumber
106
+ },
107
+ success: res => {
108
+ let page = res.objx;
109
+ this.page = page;
110
+ if (this.param && this.param.id) {
111
+ let currentRow = this.param;
112
+ let currentIndex = -1;
113
+ page.records.some(function (item, index) {
114
+ if (currentRow.id == item.id) {
115
+ currentIndex = index;
116
+ currentRow = item;
117
+ return true;
118
+ } else {
119
+ return false;
120
+ }
121
+ });
122
+ this.currentRow = currentRow;
123
+ this.currentIndex = currentIndex;
124
+ } else {
125
+ this.currentIndex = 0;
126
+ this.currentRow = page.records.length > 0 ? page.records[0] : {};
127
+ }
128
+ }
129
+ });
130
+ },
131
+ checkLine(item, index) {
132
+ this.flag = 0;
133
+ this.currentIndex = index;
134
+ this.currentRow = item;
135
+ },
136
+ initAttachfo() {
137
+ let id = this.currentRow && this.currentRow.id ? this.currentRow.id : '';
138
+ if (id) {
139
+ this.$http({
140
+ url: USER_PREFIX + '/system_notice/getAttachments',
141
+ method: `post`,
142
+ data: {id: id},
143
+ success: res => {
144
+ this.attachments = res.objx || [];
145
+ }
146
+ });
147
+ } else {
148
+ this.attachments = [];
149
+ }
150
+ }
151
+ }
149
152
  };
150
153
  </script>
151
154
 
152
- <style></style>
155
+ <style></style>
@@ -55,7 +55,7 @@
55
55
  <div class="multipleChoice">
56
56
  <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
57
57
  <div class="list">
58
- <div class="item" v-for="(checkRow, index) in checkRows">
58
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
59
59
  <p>{{ checkRow.nickName }}</p>
60
60
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
61
61
  </div>
@@ -205,7 +205,7 @@
205
205
  </template>
206
206
  <template #default>
207
207
  <div class="style1">
208
- <div class="d-item" v-for="(item,index1) in user.userCompanyInfoDTOs">
208
+ <div class="d-item" v-for="(item,index1) in user.userCompanyInfoDTOs" :key="index1">
209
209
  <div class="title">
210
210
  <b>{{ item.companyName }}</b>
211
211
  <el-button class="button-sty" icon="el-icon-delete" v-if="isCurrentCompany(item.companyCode)"
@@ -59,7 +59,7 @@
59
59
  @click="clearChecked()"></a>
60
60
  </el-tooltip>
61
61
  <div class="list">
62
- <div class="item" v-for="(checkRow, index) in checkRows">
62
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
63
63
  <p>{{ checkRow.objTypeName }}</p>
64
64
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
65
65
  </div>
@@ -25,7 +25,7 @@
25
25
  <td>
26
26
  <el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]" v-if="!dataId">
27
27
  <el-select v-model="wfObjConfig.serviceId">
28
- <el-option v-for="serviceId in serviceIds" :value="serviceId">{{ serviceId }}</el-option>
28
+ <el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId">{{ serviceId }}</el-option>
29
29
  </el-select>
30
30
  </el-form-item>
31
31
  <template v-else>