cloud-web-corejs 1.0.54-dev.176 → 1.0.54-dev.178
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 +4 -3
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/excelImport/index.vue +1 -1
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/langImport/index.vue +1 -1
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/onlineTalk/index.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +1 -1
- 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 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- 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 +1 -1
- 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/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- 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/import2-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/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 -1
- 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/static-content-wrapper.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/status-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 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -2133
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -1
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.js +2 -2
- package/src/layout/components/Sidebar/default.vue +3 -3
- package/src/layout/components/TagsView/index.vue +1 -1
- package/src/layout/defaultLayout.vue +2 -2
- package/src/resources/css/h5.scss +548 -0
- package/src/resources/css/iconfont.css +1255 -0
- package/src/resources/css/login.scss +67 -0
- package/src/resources/css/style.scss +6295 -0
- package/src/resources/font/iconfont.ttf +0 -0
- package/src/resources/font/iconfont.woff +0 -0
- package/src/resources/font/iconfont.woff2 +0 -0
- package/src/resources/images/404-error.png +0 -0
- package/src/resources/images/arrow-r.png +0 -0
- package/src/resources/images/bg-login5.jpg +0 -0
- package/src/resources/images/bg-login5.png +0 -0
- package/src/resources/images/bg-login6.jpg +0 -0
- package/src/resources/images/bg-login7.jpg +0 -0
- package/src/resources/images/bg-login8.jpg +0 -0
- package/src/resources/images/button/list_checkbox_normal.png +0 -0
- package/src/resources/images/company-bg.png +0 -0
- package/src/resources/images/default-header.png +0 -0
- package/src/resources/images/error-bg.png +0 -0
- package/src/resources/images/file/ajax-loader.gif +0 -0
- package/src/resources/images/file/bg.png +0 -0
- package/src/resources/images/file/default.png +0 -0
- package/src/resources/images/file/icons.png +0 -0
- package/src/resources/images/file/image.png +0 -0
- package/src/resources/images/file/progress.png +0 -0
- package/src/resources/images/file/success.png +0 -0
- package/src/resources/images/h5/approve1.png +0 -0
- package/src/resources/images/h5/approve2.png +0 -0
- package/src/resources/images/h5/approve3.png +0 -0
- package/src/resources/images/h5/approve4.png +0 -0
- package/src/resources/images/h5/convey.png +0 -0
- package/src/resources/images/h5/danger.png +0 -0
- package/src/resources/images/h5/ic_ex.png +0 -0
- package/src/resources/images/h5/ic_img.png +0 -0
- package/src/resources/images/h5/ic_pdf.png +0 -0
- package/src/resources/images/h5/ic_ppt.png +0 -0
- package/src/resources/images/h5/ic_text.png +0 -0
- package/src/resources/images/h5/ic_word.png +0 -0
- package/src/resources/images/h5/success.png +0 -0
- package/src/resources/images/home-img.png +0 -0
- package/src/resources/images/ico-1.png +0 -0
- package/src/resources/images/ico-cad.svg +1 -0
- package/src/resources/images/ico-cart.png +0 -0
- package/src/resources/images/ico-date.svg +1 -0
- package/src/resources/images/ico-default_wenjian.svg +1 -0
- package/src/resources/images/ico-detail_t_1.png +0 -0
- package/src/resources/images/ico-detail_t_2.png +0 -0
- package/src/resources/images/ico-detail_t_3.png +0 -0
- package/src/resources/images/ico-excel.svg +1 -0
- package/src/resources/images/ico-html.svg +1 -0
- package/src/resources/images/ico-load.gif +0 -0
- package/src/resources/images/ico-music.svg +1 -0
- package/src/resources/images/ico-os-1.png +0 -0
- package/src/resources/images/ico-os-2.png +0 -0
- package/src/resources/images/ico-os-3.png +0 -0
- package/src/resources/images/ico-os-4.png +0 -0
- package/src/resources/images/ico-os-5.png +0 -0
- package/src/resources/images/ico-os-6.png +0 -0
- package/src/resources/images/ico-pdf.svg +1 -0
- package/src/resources/images/ico-photo.svg +1 -0
- package/src/resources/images/ico-ppt.svg +1 -0
- package/src/resources/images/ico-psd.svg +1 -0
- package/src/resources/images/ico-service.png +0 -0
- package/src/resources/images/ico-txt.svg +1 -0
- package/src/resources/images/ico-video.svg +1 -0
- package/src/resources/images/ico-wenjianduo.svg +1 -0
- package/src/resources/images/ico-wenjianjia.svg +1 -0
- package/src/resources/images/ico-wrod.svg +1 -0
- package/src/resources/images/ico-xls.svg +1 -0
- package/src/resources/images/ico-yasuobao.svg +1 -0
- package/src/resources/images/icon-close.svg +1 -0
- package/src/resources/images/icon-error.png +0 -0
- package/src/resources/images/icon-folder.svg +1 -0
- package/src/resources/images/icon-loading.gif +0 -0
- package/src/resources/images/icon-order.png +0 -0
- package/src/resources/images/icon-round-no.svg +1 -0
- package/src/resources/images/icon-round-yes.svg +1 -0
- package/src/resources/images/icon-tips.png +0 -0
- package/src/resources/images/line-bg.png +0 -0
- package/src/resources/images/loading-line.gif +0 -0
- package/src/resources/images/loading-pro.gif +0 -0
- package/src/resources/images/loading-pro1.gif +0 -0
- package/src/resources/images/loading-pro2.gif +0 -0
- package/src/resources/images/loading.gif +0 -0
- package/src/resources/images/loading_1.gif +0 -0
- package/src/resources/images/login-banner_bg.png +0 -0
- package/src/resources/images/login_key.png +0 -0
- package/src/resources/images/login_key_on.png +0 -0
- package/src/resources/images/login_me.png +0 -0
- package/src/resources/images/login_me_on.png +0 -0
- package/src/resources/images/member-bg.jpg +0 -0
- package/src/resources/images/nodata.png +0 -0
- package/src/resources/images/nodata2.png +0 -0
- package/src/resources/images/questionnaire-bg.png +0 -0
- package/src/resources/images/renyuan-img.png +0 -0
- package/src/resources/images/size-seat-bg.png +0 -0
- package/src/resources/images/tab-nav0.png +0 -0
- package/src/resources/images/tab-nav1.png +0 -0
- package/src/resources/images/tabStyle-0.png +0 -0
- package/src/resources/images/tag.png +0 -0
- package/src/resources/images/terminal-under-16x16.png +0 -0
- package/src/resources/images/tips-bg.png +0 -0
- package/src/store/modules/settings.js +1 -1
- package/src/utils/vab.js +1 -1
- package/src/views/bd/setting/table_model/mixins/dialog.js +72 -1
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/home/default.vue +3 -3
- package/src/views/user/login/default.vue +4 -4
- package/src/views/user/login/index2.vue +4 -4
- package/src/views/user/user/edit.vue +29 -9
@@ -76,18 +76,18 @@ export default {
|
|
76
76
|
}
|
77
77
|
</script>
|
78
78
|
<style lang="scss" scoped>
|
79
|
-
@import '
|
79
|
+
@import '@base/resources/css/login.scss';
|
80
80
|
|
81
81
|
.login-container.tc {
|
82
|
-
background: url(
|
82
|
+
background: url(~@base/resources/images/bg-login5.jpg) center center/cover no-repeat;
|
83
83
|
}
|
84
84
|
|
85
85
|
.login-container.chigo {
|
86
|
-
background: url(
|
86
|
+
background: url(~@base/resources/images/bg-login6.jpg) center center/cover no-repeat;
|
87
87
|
}
|
88
88
|
|
89
89
|
.login-container.pcp {
|
90
|
-
background: url(
|
90
|
+
background: url(~@base/resources/images/bg-login8.jpg) center center/cover no-repeat;
|
91
91
|
}
|
92
92
|
|
93
93
|
.el-select-dropdown {
|
@@ -76,18 +76,18 @@ export default {
|
|
76
76
|
}
|
77
77
|
</script>
|
78
78
|
<style lang="scss" scoped>
|
79
|
-
@import '
|
79
|
+
@import '@base/resources/css/login.scss';
|
80
80
|
|
81
81
|
.login-container.tc {
|
82
|
-
background: url(
|
82
|
+
background: url(~@base/resources/images/bg-login5.jpg) center center/cover no-repeat;
|
83
83
|
}
|
84
84
|
|
85
85
|
.login-container.chigo {
|
86
|
-
background: url(
|
86
|
+
background: url(~@base/resources/images/bg-login6.jpg) center center/cover no-repeat;
|
87
87
|
}
|
88
88
|
|
89
89
|
.login-container.pcp {
|
90
|
-
background: url(
|
90
|
+
background: url(~@base/resources/images/bg-login8.jpg) center center/cover no-repeat;
|
91
91
|
}
|
92
92
|
|
93
93
|
.el-select-dropdown {
|
@@ -136,14 +136,14 @@
|
|
136
136
|
<el-input size="small" v-model="user.email" maxlength="200" clearable/>
|
137
137
|
</el-form-item>
|
138
138
|
</td>
|
139
|
-
<!-- <th v-if="flag!=='2'">
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
139
|
+
<!-- <th v-if="flag!=='2'">
|
140
|
+
GUID
|
141
|
+
</th>
|
142
|
+
<td v-if="flag!=='2'">
|
143
|
+
<el-form-item prop="guid" :rules="[{ required: false, trigger: 'blur' }]">
|
144
|
+
<el-input size="small" v-model="user.guid" maxlength="200" clearable/>
|
145
|
+
</el-form-item>
|
146
|
+
</td>-->
|
147
147
|
<th>{{ $t1('地址') }}</th>
|
148
148
|
<td colspan="3">
|
149
149
|
<el-input size="small" v-model="user.address" class="b" maxlength="255" clearable/>
|
@@ -221,6 +221,12 @@
|
|
221
221
|
<el-input size="small" v-model="item.guid" maxlength="200" clearable/>
|
222
222
|
</el-form-item>
|
223
223
|
</span>
|
224
|
+
<span>
|
225
|
+
<el-form-item label="是否默认组织" :prop="'userCompanyInfoDTOs.'+index1+'.defaults'"
|
226
|
+
:rules="[{ required: false, trigger: 'blur' }]">
|
227
|
+
<el-checkbox v-model="item.defaults" @change="changeCompanyDefault(item)"></el-checkbox>
|
228
|
+
</el-form-item>
|
229
|
+
</span>
|
224
230
|
</div>
|
225
231
|
<div class="m-2">
|
226
232
|
<div class="d-item" style="width: 65%;">
|
@@ -754,7 +760,7 @@ export default {
|
|
754
760
|
});
|
755
761
|
var items = [];
|
756
762
|
rows.forEach(row => {
|
757
|
-
const item = {companyCode: row.companyCode, companyName: row.companyName, guid: null};
|
763
|
+
const item = {companyCode: row.companyCode, companyName: row.companyName, guid: null, defaults: false};
|
758
764
|
if (!map[item.companyCode]) {
|
759
765
|
items.push(item);
|
760
766
|
}
|
@@ -763,6 +769,9 @@ export default {
|
|
763
769
|
});
|
764
770
|
// $grid.insertAt(items, -1);
|
765
771
|
this.user.userCompanyInfoDTOs.splice(0, 0, ...items);
|
772
|
+
if(this.user.userCompanyInfoDTOs.length==1){
|
773
|
+
this.user.userCompanyInfoDTOs[0].defaults = true
|
774
|
+
}
|
766
775
|
// this.user.userCompanyInfoDTOs = this.user.userCompanyInfoDTOs.concat(items);
|
767
776
|
}
|
768
777
|
callback && callback();
|
@@ -1015,6 +1024,17 @@ export default {
|
|
1015
1024
|
this.user.countryName = row.countryName;
|
1016
1025
|
this.user.countryCode = row.countryCode;
|
1017
1026
|
}
|
1027
|
+
},
|
1028
|
+
changeCompanyDefault(item) {
|
1029
|
+
let companyCode = item.companyCode
|
1030
|
+
if (item.defaults) {
|
1031
|
+
this.user.userCompanyInfoDTOs.forEach(row => {
|
1032
|
+
if (row.companyCode !== companyCode) {
|
1033
|
+
item.defaults = false;
|
1034
|
+
}
|
1035
|
+
})
|
1036
|
+
}
|
1037
|
+
|
1018
1038
|
}
|
1019
1039
|
}
|
1020
1040
|
};
|