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.
- package/package.json +2 -2
- package/src/components/baseAttachment/install.js +0 -1
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +0 -1
- package/src/components/jsonImport/mixins.js +0 -1
- package/src/components/scriptTest/dialog.vue +0 -1
- package/src/components/wf/content2.vue +2 -2
- package/src/components/xform/form-designer/form-widget/container-widget/table2-widget.vue +1 -7
- package/src/components/xform/form-designer/form-widget/container-widget/vf-box-widget.vue +0 -1
- package/src/components/xform/form-designer/form-widget/container-widget/vf-dialog-widget.vue +0 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -2
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -2
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -3
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -2
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/slot-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -2
- package/src/components/xform/form-designer/indexMixin.js +1 -2
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-h5/detail-h5-editor.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/entityTableCode-editor.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +0 -2
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +0 -1
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +5 -6
- package/src/components/xform/form-render/dynamicDialogRender.js +1 -3
- package/src/components/xform/utils/smart-vue-i18n/index.js +0 -1
- package/src/components/xform/utils/validators.js +1 -1
- package/src/index.js +1 -1
- package/src/layout/components/Sidebar/index.vue +0 -1
- package/src/layout/components/langTool.vue +0 -1
- package/src/permission.js +18 -18
- package/src/store/modules/permission.js +39 -39
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
- package/src/views/bd/setting/form_script/dialog.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/edit.vue +5 -5
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/commMenu/index.vue +9 -7
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/country/dialog.vue +1 -1
- package/src/views/user/data_type_setting/dialog.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -1
- package/src/views/user/fieldTranslation/editDialog.vue +2 -2
- package/src/views/user/file_view_area/itemEdit.vue +1 -1
- package/src/views/user/file_view_ins/list.vue +2 -2
- package/src/views/user/file_view_ins/propertiesDialog.vue +1 -1
- package/src/views/user/form/form_ins_list/edit.vue +0 -1
- package/src/views/user/form/form_template/dialog.vue +1 -1
- package/src/views/user/form/form_template/edit.vue +1 -1
- package/src/views/user/form/form_template/list.vue +0 -2
- package/src/views/user/form/form_template_field/dialog.vue +1 -1
- package/src/views/user/form/form_type/dialog.vue +1 -1
- package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
- package/src/views/user/home/default.vue +37 -27
- package/src/views/user/home/index.vue +1 -1
- package/src/views/user/notify_message/list.vue +0 -1
- package/src/views/user/oplog/list.vue +42 -30
- package/src/views/user/position/dialog.vue +1 -1
- package/src/views/user/project_tag/edit.vue +19 -18
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/edit.vue +4 -3
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/moveDialog.vue +1 -1
- package/src/views/user/system_notice/infoDialog.vue +147 -144
- package/src/views/user/user/dialog.vue +1 -1
- package/src/views/user/user/edit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
|
@@ -1,152 +1,155 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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>
|