eoss-ui 0.7.74 → 0.7.76
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/lib/button-group.js +68 -36
- package/lib/button.js +68 -36
- package/lib/calogin.js +68 -36
- package/lib/checkbox-group.js +68 -36
- package/lib/data-table-form.js +68 -36
- package/lib/data-table.js +68 -36
- package/lib/date-picker.js +68 -36
- package/lib/dialog.js +68 -36
- package/lib/eoss-ui.common.js +226 -112
- package/lib/flow-group.js +68 -36
- package/lib/flow-list.js +68 -36
- package/lib/flow.js +72 -40
- package/lib/form.js +68 -36
- package/lib/handle-user.js +68 -36
- package/lib/handler.js +68 -36
- package/lib/icon.js +68 -36
- package/lib/index.js +1 -1
- package/lib/input-number.js +68 -36
- package/lib/input.js +68 -36
- package/lib/login.js +68 -36
- package/lib/main.js +211 -97
- package/lib/nav.js +68 -36
- package/lib/page.js +68 -36
- package/lib/pagination.js +68 -36
- package/lib/player.js +68 -36
- package/lib/qr-code.js +68 -36
- package/lib/radio-group.js +68 -36
- package/lib/retrial-auth.js +68 -36
- package/lib/select-ganged.js +68 -36
- package/lib/select.js +68 -36
- package/lib/selector-panel.js +68 -36
- package/lib/selector.js +68 -36
- package/lib/sizer.js +68 -36
- package/lib/steps.js +68 -36
- package/lib/switch.js +68 -36
- package/lib/table-form.js +68 -36
- package/lib/tabs.js +68 -36
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity-top.css +1 -1
- package/lib/tips.js +68 -36
- package/lib/tree-group.js +68 -36
- package/lib/tree.js +68 -36
- package/lib/upload.js +68 -36
- package/lib/utils/util.js +68 -36
- package/lib/wujie.js +68 -36
- package/lib/wxlogin.js +68 -36
- package/package.json +1 -1
- package/packages/flow/src/main.vue +2 -2
- package/packages/main/src/main.vue +27 -15
- package/packages/main/src/simplicity/index.vue +6 -0
- package/packages/main/src/simplicityTop/handler.vue +6 -0
- package/packages/main/src/simplicityTop/index.vue +62 -9
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity-top.css +1 -1
- package/packages/theme-chalk/src/flow.scss +5 -0
- package/packages/theme-chalk/src/simplicity-top.scss +13 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +172 -105
package/lib/wxlogin.js
CHANGED
|
@@ -400,7 +400,6 @@ var util_ajax = function ajax(_ref) {
|
|
|
400
400
|
loading && loading.close();
|
|
401
401
|
if (response.headers.authorization) {
|
|
402
402
|
response.headers.authorization !== getStorage('token') && setStorage({
|
|
403
|
-
|
|
404
403
|
key: ['token', 'Authorization'],
|
|
405
404
|
value: response.headers.authorization
|
|
406
405
|
});
|
|
@@ -737,7 +736,11 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
737
736
|
} else if (error.response) {
|
|
738
737
|
errorMessage = '\u670D\u52A1\u5668\u9519\u8BEF (' + error.response.status + '): ' + (error.response.data || '未知错误');
|
|
739
738
|
}
|
|
740
|
-
fail && fail({
|
|
739
|
+
fail && fail({
|
|
740
|
+
status: 0,
|
|
741
|
+
message: { role: 'assistant', content: errorMessage },
|
|
742
|
+
controller: controller
|
|
743
|
+
});
|
|
741
744
|
} finally {
|
|
742
745
|
final && final({ status: -1, message: null, controller: controller });
|
|
743
746
|
}
|
|
@@ -1503,7 +1506,7 @@ var formatDate = function formatDate(date, fmt) {
|
|
|
1503
1506
|
'm+': obj.getMinutes(), // 分钟 (0-59)
|
|
1504
1507
|
's+': obj.getSeconds(), // 秒 (0-59)
|
|
1505
1508
|
'q+': quarter[Math.floor(monthNum / 3)], // 季度 (一~四)
|
|
1506
|
-
|
|
1509
|
+
S: obj.getMilliseconds() // 毫秒 (0-999)
|
|
1507
1510
|
};
|
|
1508
1511
|
|
|
1509
1512
|
// 4. 处理年份
|
|
@@ -2162,26 +2165,51 @@ var getZoom = function getZoom() {
|
|
|
2162
2165
|
|
|
2163
2166
|
var handlerUrl = function handlerUrl(url, param, before) {
|
|
2164
2167
|
var arry = url.split('?');
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
arry.
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2168
|
+
// /archives-ui/webpack/index.html?cookie=1#/fullTextSearch
|
|
2169
|
+
if (arry.length > 1 && arry[1].indexOf('#/') > -1) {
|
|
2170
|
+
// 分割成 arry[0] = /archives-ui/webpack/index.html 和 arry[1] = cookie=1#/fullTextSearch
|
|
2171
|
+
var hashs = arry[1].split('#/'); // 分割成 hashs[0] = cookie=1 和 hashs[1] = fullTextSearch
|
|
2172
|
+
if (hashs[1].indexOf('?') === -1) {
|
|
2173
|
+
hashs[1] += '?_tt=' + new Date().getTime();
|
|
2174
|
+
} else {
|
|
2175
|
+
if (hashs[1].indexOf('_tt') === -1) {
|
|
2176
|
+
hashs[1] += '&_tt=' + new Date().getTime();
|
|
2177
|
+
} else {
|
|
2178
|
+
var search = hashs[1].split('&');
|
|
2179
|
+
for (var i in search) {
|
|
2180
|
+
if (search[i].indexOf('_tt') > -1) {
|
|
2181
|
+
search[i] = '_tt=' + new Date().getTime();
|
|
2182
|
+
}
|
|
2175
2183
|
}
|
|
2184
|
+
hashs[1] = search.join('&');
|
|
2176
2185
|
}
|
|
2177
|
-
arry[1] = search.join('&');
|
|
2178
|
-
} else {
|
|
2179
|
-
arry[1] += '&_tt=' + new Date().getTime();
|
|
2180
2186
|
}
|
|
2181
|
-
|
|
2187
|
+
// /archives-ui/webpack/index.html?cookie=1#/fullTextSearch&_tt=1764839214926&false
|
|
2188
|
+
// 会不会存在 参数中也有#/
|
|
2189
|
+
url = arry[0] + '?' + hashs.join('#/');
|
|
2182
2190
|
} else {
|
|
2183
|
-
|
|
2191
|
+
if (arry.length > 2) {
|
|
2192
|
+
var ary = arry.splice(1, arry.length);
|
|
2193
|
+
arry.push(ary.join('?'));
|
|
2194
|
+
}
|
|
2195
|
+
if (arry.length > 1) {
|
|
2196
|
+
if (arry[1].indexOf('_tt') > -1) {
|
|
2197
|
+
var _search = arry[1].split('&');
|
|
2198
|
+
for (var _i7 in _search) {
|
|
2199
|
+
if (_search[_i7].indexOf('_tt') > -1) {
|
|
2200
|
+
_search[_i7] = '_tt=' + new Date().getTime();
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
arry[1] = _search.join('&');
|
|
2204
|
+
} else {
|
|
2205
|
+
arry[1] += '&_tt=' + new Date().getTime();
|
|
2206
|
+
}
|
|
2207
|
+
url = arry.join('?');
|
|
2208
|
+
} else {
|
|
2209
|
+
url += '?_tt=' + new Date().getTime();
|
|
2210
|
+
}
|
|
2184
2211
|
}
|
|
2212
|
+
|
|
2185
2213
|
if (param) {
|
|
2186
2214
|
var str = queryParams(param);
|
|
2187
2215
|
url += '&' + str;
|
|
@@ -2477,7 +2505,11 @@ var isLogined = function () {
|
|
|
2477
2505
|
break;
|
|
2478
2506
|
}
|
|
2479
2507
|
|
|
2480
|
-
loadingInstance = external_eoss_element_["Loading"].service({
|
|
2508
|
+
loadingInstance = external_eoss_element_["Loading"].service({
|
|
2509
|
+
text: '页面加载中',
|
|
2510
|
+
spinner: 'el-icon-loading',
|
|
2511
|
+
background: 'rgba(0, 0, 0, 0.65)'
|
|
2512
|
+
});
|
|
2481
2513
|
_context.next = 17;
|
|
2482
2514
|
return util_ajax({
|
|
2483
2515
|
method: 'post',
|
|
@@ -3575,10 +3607,10 @@ var setStorage = function setStorage(_ref18) {
|
|
|
3575
3607
|
}
|
|
3576
3608
|
}
|
|
3577
3609
|
} else {
|
|
3578
|
-
for (var
|
|
3579
|
-
var val = _typeof(key[
|
|
3580
|
-
localStorage.setItem(
|
|
3581
|
-
if (
|
|
3610
|
+
for (var _i8 in key) {
|
|
3611
|
+
var val = _typeof(key[_i8]) === 'object' ? JSON.stringify(key[_i8]) : key[_i8];
|
|
3612
|
+
localStorage.setItem(_i8, val);
|
|
3613
|
+
if (_i8 === 'token') {
|
|
3582
3614
|
setCookie('token', val);
|
|
3583
3615
|
}
|
|
3584
3616
|
}
|
|
@@ -3590,17 +3622,17 @@ var setStorage = function setStorage(_ref18) {
|
|
|
3590
3622
|
setCookie('token', value);
|
|
3591
3623
|
}
|
|
3592
3624
|
} else if (Array.isArray(key)) {
|
|
3593
|
-
for (var
|
|
3594
|
-
sessionStorage.setItem(key[
|
|
3595
|
-
if (key[
|
|
3625
|
+
for (var _i9 in key) {
|
|
3626
|
+
sessionStorage.setItem(key[_i9], value);
|
|
3627
|
+
if (key[_i9] === 'token') {
|
|
3596
3628
|
setCookie('token', value);
|
|
3597
3629
|
}
|
|
3598
3630
|
}
|
|
3599
3631
|
} else {
|
|
3600
|
-
for (var
|
|
3601
|
-
var _val = _typeof(key[
|
|
3602
|
-
sessionStorage.setItem(
|
|
3603
|
-
if (
|
|
3632
|
+
for (var _i10 in key) {
|
|
3633
|
+
var _val = _typeof(key[_i10]) === 'object' ? JSON.stringify(key[_i10]) : key[_i10];
|
|
3634
|
+
sessionStorage.setItem(_i10, _val);
|
|
3635
|
+
if (_i10 === 'token') {
|
|
3604
3636
|
setCookie('token', _val);
|
|
3605
3637
|
}
|
|
3606
3638
|
}
|
|
@@ -3728,16 +3760,16 @@ var setCookie = function setCookie(name, value) {
|
|
|
3728
3760
|
**/
|
|
3729
3761
|
var getCookie = function getCookie(name) {
|
|
3730
3762
|
var cookies = document.cookie.split(';');
|
|
3731
|
-
for (var _iterator = cookies, _isArray = Array.isArray(_iterator),
|
|
3763
|
+
for (var _iterator = cookies, _isArray = Array.isArray(_iterator), _i11 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
|
|
3732
3764
|
var _ref19;
|
|
3733
3765
|
|
|
3734
3766
|
if (_isArray) {
|
|
3735
|
-
if (
|
|
3736
|
-
_ref19 = _iterator[
|
|
3767
|
+
if (_i11 >= _iterator.length) break;
|
|
3768
|
+
_ref19 = _iterator[_i11++];
|
|
3737
3769
|
} else {
|
|
3738
|
-
|
|
3739
|
-
if (
|
|
3740
|
-
_ref19 =
|
|
3770
|
+
_i11 = _iterator.next();
|
|
3771
|
+
if (_i11.done) break;
|
|
3772
|
+
_ref19 = _i11.value;
|
|
3741
3773
|
}
|
|
3742
3774
|
|
|
3743
3775
|
var cookie = _ref19;
|
package/package.json
CHANGED
|
@@ -1029,9 +1029,9 @@
|
|
|
1029
1029
|
</es-dialog>
|
|
1030
1030
|
<es-dialog
|
|
1031
1031
|
append-to-body
|
|
1032
|
-
height="auto"
|
|
1033
1032
|
:close-on-click-modal="false"
|
|
1034
1033
|
title="流程图查看"
|
|
1034
|
+
class="flow-chart-dialog"
|
|
1035
1035
|
:visible.sync="showFlowChart"
|
|
1036
1036
|
v-if="showFlowChart"
|
|
1037
1037
|
>
|
|
@@ -1420,7 +1420,7 @@ export default {
|
|
|
1420
1420
|
showFlowChart: false, // 展示流程图弹窗
|
|
1421
1421
|
isReject: false, // 是否驳回
|
|
1422
1422
|
showTaskUnionExamine: false, //展示联合审核弹窗
|
|
1423
|
-
charUrl:
|
|
1423
|
+
charUrl:'https://yafzoa.scstit.com',//util.win.location.origin,
|
|
1424
1424
|
endFlow: false, // 是否结束流程
|
|
1425
1425
|
isCurrentNodeForbiddenChangeCandidate: 0, //是否禁止选择办理人
|
|
1426
1426
|
isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
|
|
@@ -110,7 +110,11 @@ export default {
|
|
|
110
110
|
type: Number,
|
|
111
111
|
default: 3000
|
|
112
112
|
},
|
|
113
|
-
multiple: Boolean
|
|
113
|
+
multiple: Boolean,
|
|
114
|
+
changeThemeReload: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: false
|
|
117
|
+
}
|
|
114
118
|
},
|
|
115
119
|
computed: {
|
|
116
120
|
_launchImage() {
|
|
@@ -134,6 +138,10 @@ export default {
|
|
|
134
138
|
};
|
|
135
139
|
},
|
|
136
140
|
created() {
|
|
141
|
+
const layoutType = localStorage.getItem('layoutType');
|
|
142
|
+
if (layoutType) {
|
|
143
|
+
this.layoutType = layoutType;
|
|
144
|
+
}
|
|
137
145
|
this.params = util.getParams() || {};
|
|
138
146
|
this.sysCode = this.params.sysCode;
|
|
139
147
|
this.appCode = this.params.appCode || this.params.appcode;
|
|
@@ -157,10 +165,6 @@ export default {
|
|
|
157
165
|
this.$nextTick(() => {
|
|
158
166
|
// 当主题变化时,重新绑定一次事件 防止事件丢失 或者绑定错误
|
|
159
167
|
this.bindEvent();
|
|
160
|
-
const layoutType = localStorage.getItem('layoutType');
|
|
161
|
-
if (layoutType) {
|
|
162
|
-
this.layoutType = layoutType;
|
|
163
|
-
}
|
|
164
168
|
});
|
|
165
169
|
},
|
|
166
170
|
methods: {
|
|
@@ -268,20 +272,29 @@ export default {
|
|
|
268
272
|
if (active) {
|
|
269
273
|
this.layout = active;
|
|
270
274
|
}
|
|
275
|
+
// 重新加载页面,刷新布局风格配置信息
|
|
276
|
+
// 如果不刷新,会导致事件绑定出现问题,导致事件丢失
|
|
277
|
+
if (this.changeThemeReload) {
|
|
278
|
+
window.top.location.reload();
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
|
|
271
282
|
let mainConfig = util.getStorage('mainConfig');
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
this
|
|
283
|
+
// 切换布局风格后,重新绑定事件
|
|
284
|
+
this.$nextTick(() => {
|
|
285
|
+
this.bindEvent();
|
|
286
|
+
if (mainConfig) {
|
|
287
|
+
mainConfig = JSON.parse(mainConfig);
|
|
275
288
|
this.$refs.main.init(mainConfig, true);
|
|
276
289
|
util.getMainConfig((res) => {
|
|
277
290
|
this.$refs.main.init(res, false);
|
|
278
291
|
});
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
}
|
|
292
|
+
} else {
|
|
293
|
+
util.getMainConfig((res) => {
|
|
294
|
+
this.$refs.main.init(res, true);
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
});
|
|
285
298
|
},
|
|
286
299
|
/**
|
|
287
300
|
* @desc:重新登录
|
|
@@ -596,7 +609,6 @@ export default {
|
|
|
596
609
|
**/
|
|
597
610
|
busEmit(event, args) {
|
|
598
611
|
console.log('busEmit', event, args);
|
|
599
|
-
|
|
600
612
|
WujieVue.bus.$emit(event, args);
|
|
601
613
|
const iframes = document.getElementsByTagName('iframe');
|
|
602
614
|
for (let i = 0; i < iframes.length; i++) {
|
|
@@ -629,6 +629,10 @@ export default {
|
|
|
629
629
|
type: Number,
|
|
630
630
|
default: 220
|
|
631
631
|
},
|
|
632
|
+
showTipNums: {
|
|
633
|
+
type: Boolean,
|
|
634
|
+
default: true
|
|
635
|
+
},
|
|
632
636
|
//路由方式
|
|
633
637
|
routeType: String,
|
|
634
638
|
host: {
|
|
@@ -1457,6 +1461,8 @@ export default {
|
|
|
1457
1461
|
* @date 2024年9月7日
|
|
1458
1462
|
**/
|
|
1459
1463
|
setTips(obj) {
|
|
1464
|
+
// 不显示菜单气泡提醒
|
|
1465
|
+
if (!this.showTipNums) return;
|
|
1460
1466
|
if (!this.menuTips || !Object.keys(this.menuTips).length) {
|
|
1461
1467
|
return false;
|
|
1462
1468
|
}
|
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
:contents="item.icon"
|
|
44
44
|
></es-icon>
|
|
45
45
|
<span class="es-simplicitytop-handler-text">{{ item.text }}</span>
|
|
46
|
+
<div
|
|
47
|
+
v-if="item.type == 'notice' && nums[item.type] > 0"
|
|
48
|
+
class="es-simplicitytop-handler-badge"
|
|
49
|
+
>
|
|
50
|
+
{{ nums[item.type] > 99 ? '99+' : nums[item.type] }}
|
|
51
|
+
</div>
|
|
46
52
|
</div>
|
|
47
53
|
</template>
|
|
48
54
|
</div>
|
|
@@ -86,7 +86,9 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
<div class="es-simplicitytop-menu-item" v-if="myShortcut.length > 0">
|
|
88
88
|
<div class="es-simplicitytop-menu-title">
|
|
89
|
-
<span class="es-simplicitytop-menu-name"
|
|
89
|
+
<span class="es-simplicitytop-menu-name" @click="testReloadPage"
|
|
90
|
+
>我的快捷</span
|
|
91
|
+
>
|
|
90
92
|
</div>
|
|
91
93
|
<el-scrollbar style="height: calc(100% - 45px)">
|
|
92
94
|
<div class="es-simplicitytop-menu-children">
|
|
@@ -302,6 +304,8 @@ import settings from '../public/settings.vue';
|
|
|
302
304
|
import routerPage from './router-page.vue';
|
|
303
305
|
import online from '../public/online.vue';
|
|
304
306
|
import search from '../public/search.vue';
|
|
307
|
+
import WujieVue from 'wujie-vue2';
|
|
308
|
+
|
|
305
309
|
import {
|
|
306
310
|
wss,
|
|
307
311
|
logout,
|
|
@@ -1637,7 +1641,7 @@ export default {
|
|
|
1637
1641
|
|
|
1638
1642
|
this.menus = rebuildMenu;
|
|
1639
1643
|
this.setTips(this.menus);
|
|
1640
|
-
store.set('nav', this.menus);
|
|
1644
|
+
// store.set('nav', this.menus);
|
|
1641
1645
|
let obj = this.getMenu(this.menus, this.indexUrl);
|
|
1642
1646
|
obj = obj
|
|
1643
1647
|
? JSON.parse(JSON.stringify(obj))
|
|
@@ -1689,6 +1693,7 @@ export default {
|
|
|
1689
1693
|
setIframeType(res) {
|
|
1690
1694
|
let { url } = res;
|
|
1691
1695
|
let urls = url.split('?');
|
|
1696
|
+
console.log(res);
|
|
1692
1697
|
if (urls[0].indexOf('.js') > 1 && !isIE) {
|
|
1693
1698
|
res.method = 'wujie';
|
|
1694
1699
|
if (!res.appCode) {
|
|
@@ -2045,16 +2050,60 @@ export default {
|
|
|
2045
2050
|
this.webSocket.destroy();
|
|
2046
2051
|
}
|
|
2047
2052
|
},
|
|
2053
|
+
testReloadPage() {
|
|
2054
|
+
this.handleRefresh(1);
|
|
2055
|
+
},
|
|
2048
2056
|
/**
|
|
2049
2057
|
* @desc:刷新选中iframe页签
|
|
2050
2058
|
* @author huangbo
|
|
2051
2059
|
* @date 2024年9月7日
|
|
2052
2060
|
**/
|
|
2053
|
-
handleRefresh() {
|
|
2061
|
+
handleRefresh(arg) {
|
|
2054
2062
|
this.getNums();
|
|
2063
|
+
console.log(arg, 'arg');
|
|
2055
2064
|
if (window.top.refreshList) {
|
|
2056
2065
|
window.top.refreshList();
|
|
2057
2066
|
}
|
|
2067
|
+
if (arg != undefined) {
|
|
2068
|
+
let tab = this.currentPage;
|
|
2069
|
+
if (tab.appCode == 'indexUrl') return;
|
|
2070
|
+
if (isIE || tab.method === 'iframe') {
|
|
2071
|
+
if (arg && arg === 'pageData') {
|
|
2072
|
+
let iframe = document.getElementById(tab.id || tab.appCode);
|
|
2073
|
+
let source = tab.url;
|
|
2074
|
+
if (source && !util.startWith(source, ['http', 'https'], true)) {
|
|
2075
|
+
source = location.origin + source.replace('./', '/');
|
|
2076
|
+
}
|
|
2077
|
+
!iframe && (iframe = document.getElementById(this.iframeId));
|
|
2078
|
+
iframe &&
|
|
2079
|
+
iframe.contentWindow.postMessage(
|
|
2080
|
+
{ method: 'pageData' },
|
|
2081
|
+
source || '*'
|
|
2082
|
+
);
|
|
2083
|
+
} else {
|
|
2084
|
+
this.$set(this.currentPage, 'url', util.handlerUrl(tab.url));
|
|
2085
|
+
}
|
|
2086
|
+
return;
|
|
2087
|
+
}
|
|
2088
|
+
if (tab.method === 'wujie' && tab.appCode) {
|
|
2089
|
+
if (arg && arg === 'pageData') {
|
|
2090
|
+
WujieVue.$emit('pageData', tab);
|
|
2091
|
+
} else {
|
|
2092
|
+
window.document
|
|
2093
|
+
.querySelector(`iframe[name=${tab.appCode}]`)
|
|
2094
|
+
.contentWindow.location.reload(true);
|
|
2095
|
+
}
|
|
2096
|
+
return;
|
|
2097
|
+
}
|
|
2098
|
+
if (tab.method === 'router') {
|
|
2099
|
+
if (arg && arg === 'pageData') {
|
|
2100
|
+
const bus = this.bus || this.$root.Bus;
|
|
2101
|
+
bus.$emit('pageData', tab);
|
|
2102
|
+
} else {
|
|
2103
|
+
this.$set(this.currentPage, 'keys', util.uuid());
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2058
2107
|
},
|
|
2059
2108
|
/**
|
|
2060
2109
|
* @desc:删除iframe
|
|
@@ -2175,7 +2224,6 @@ export default {
|
|
|
2175
2224
|
// util.win.open(this.doorIndex, '_self');
|
|
2176
2225
|
this.currentPage = { ...this.homePage };
|
|
2177
2226
|
this.appCodes = 'indexUrl';
|
|
2178
|
-
console.log(this.currentPage, 'this.currentPage');
|
|
2179
2227
|
break;
|
|
2180
2228
|
case 'userinfo':
|
|
2181
2229
|
this.$refs.user.handleOpen();
|
|
@@ -2394,7 +2442,6 @@ export default {
|
|
|
2394
2442
|
* 2.其他地方点击跳转,需要选中跳转的一二级菜单
|
|
2395
2443
|
**/
|
|
2396
2444
|
handleSelect(res, params = {}) {
|
|
2397
|
-
console.log(res, 'handleSelect');
|
|
2398
2445
|
const node = res.node ? res.node : res;
|
|
2399
2446
|
if (node.urlopenmode == 1 || node.openModel == 1) {
|
|
2400
2447
|
util.win.open(node.url || node.menuurl);
|
|
@@ -2404,11 +2451,16 @@ export default {
|
|
|
2404
2451
|
let apps = node;
|
|
2405
2452
|
let param = params;
|
|
2406
2453
|
let reload = true;
|
|
2407
|
-
if (typeof
|
|
2408
|
-
apps =
|
|
2454
|
+
if (typeof node === 'string') {
|
|
2455
|
+
apps = node.split(',');
|
|
2409
2456
|
} else if (util.isObject(node)) {
|
|
2410
2457
|
const appCode = node.appCode || node.menuCode;
|
|
2411
|
-
|
|
2458
|
+
const id = node.id || node.menuId;
|
|
2459
|
+
apps = appCode
|
|
2460
|
+
? Array.isArray(appCode)
|
|
2461
|
+
? appCode
|
|
2462
|
+
: appCode.split(',')
|
|
2463
|
+
: [id];
|
|
2412
2464
|
node.param && (param = { ...node.param, ...params });
|
|
2413
2465
|
reload = Object.prototype.hasOwnProperty.call(node, 'reload')
|
|
2414
2466
|
? node.reload
|
|
@@ -2418,6 +2470,7 @@ export default {
|
|
|
2418
2470
|
const { currentPage, fourthTabs } = this.findMenuById(
|
|
2419
2471
|
apps[apps.length - 1]
|
|
2420
2472
|
);
|
|
2473
|
+
console.log('fourthTabs', fourthTabs, 'currentPage', currentPage);
|
|
2421
2474
|
if (currentPage) {
|
|
2422
2475
|
this.currentPage = {};
|
|
2423
2476
|
this.fourthTabs = [];
|
|
@@ -2432,7 +2485,7 @@ export default {
|
|
|
2432
2485
|
);
|
|
2433
2486
|
}
|
|
2434
2487
|
this.tabActiveName = this.currentPage.id;
|
|
2435
|
-
this.appCodes = this.currentPage.appCode;
|
|
2488
|
+
this.appCodes = this.currentPage.appCode || this.currentPage.id;
|
|
2436
2489
|
} else {
|
|
2437
2490
|
this.fourthTabs = fourthTabs;
|
|
2438
2491
|
this.currentPage = this.setIframeType(currentPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.commonOpinion-set,.es-fenyue-buttons,.es-flow-content,.es-reset-flow{-webkit-box-direction:normal}.es-common-opinions,.es-fenyue-buttons,.es-flow-buttons,.es-flow-title,.es-opinion{padding:0 12px}.es-fenyue-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.es-fenyue-buttons-yj{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-user-defined{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.es-user-defined .el-button--primary{-webkit-box-flex:1;-ms-flex:1;flex:1}.required .el-textarea__inner::-webkit-input-placeholder{color:red}.required .el-textarea__inner::-moz-placeholder{color:red}.required .el-textarea__inner:-ms-input-placeholder{color:red}.required .el-textarea__inner::-ms-input-placeholder{color:red}.required .el-textarea__inner::placeholder{color:red}.no-checked .el-checkbox__input{display:none!important}.es-reset-flow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.es-reset-flow-form-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;margin-bottom:10px}.es-flow-content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding-bottom:12px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative}.es-flow-index{height:100%}.es-flow-index .em-flow-more-btn{display:block;width:100%}.es-flow-index .el-checkbox-group{display:contents}.es-flow-index .es-eidt-title{font-size:13px;color:#333;line-height:20px}.es-flow-index .es-flow-top .es-flow-title{height:40px;line-height:40px}.es-flow-index .es-flow-top .es-flow-title .es-icon{position:absolute;right:8px;top:4px}.es-flow-index .es-flow-top .es-opinion{display:-webkit-box;display:-ms-flexbox;display:flex;margin:8px 0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-flow-index .es-flow-top .es-opinion .es-opinion-file{cursor:pointer;position:relative}.es-flow-index .es-flow-top .es-opinion .es-opinion-file .es-file-num{color:red}.es-flow-index .es-button-agree{width:calc(43% - 15px)}.es-flow-index .es-button-agree-save{margin-top:10px}.commonOpinion-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.commonOpinion-set .el-table__body-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-flow-index-shrink{width:24px}.es-flow-index-shrink img{cursor:pointer;width:24px;height:24px}.es-flow-btn:hover{background-color:#f5f5f5;color:#1890ff}.es-flow-btn:hover ::v-deep .el-popover{padding:12px 0!important}.es-flow-form .el-checkbox-group{display:contents}.es-flow-index .el-input-group--prepend>.el-input__inner,.es-flow-index .select-process>.el-input__inner{display:none!important}.es-flow-form .el-textarea:first-child,.es-flow-index .el-textarea{width:100%;margin-bottom:10px!important}.es-flow-form .es-opinions .el-select,.es-flow-index .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-select .el-input{width:100%;height:40px}.es-flow-index .process .el-select{width:calc(100% + 40px)!important}.es-flow-index .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-index .select-process .el-input-group__append{height:40px}.es-flow-index .hide-flow-char .el-input-group__append{padding:0}.es-flow-index button.el-button.sub.el-button--primary.el-button--medium{width:calc(100% - 85px)}.es-flow-index .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-index .demo-dynamic .el-select{width:100%!important}.es-flow-index .demo-dynamic .select-process .el-select,.es-flow-index .demo-dynamic .selectUser,.es-flow-index.task-union-examine .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-input.el-input-group.el-input-group--append.el-input-group--prepend{margin:0!important}.es-flow-index .demo-dynamic{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:10px}.es-flow-index .es-footer-btn{margin-top:10px}.es-flow-index .es-footer-btn .el-button+.el-button{margin:10px 10px 0 0}.es-flow-index .el-input.is-disabled .el-input__inner{color:#606266}.es-flow-index .es-flow-btn{margin-right:10px}.es-flow-index .es-info{padding:0 12px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden}.es-flow-index .form-left .el-form-item{margin-bottom:22px!important}.es-flow-index .es-info .el-form-item{margin-bottom:0}.es-flow-index .es-info::-webkit-scrollbar{width:5px}.es-flow-index .news{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:10px 0}.es-flow-index .news .sj,.show{width:10px;height:10px;border-right:1px solid #000;border-bottom:1px solid #000;margin-right:10px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);-webkit-transition:.5s;transition:.5s}.es-flow-index .news .show{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.es-flow-index .el-checkbox{margin:0 10px 10px 0}.es-flow-index .info::-webkit-scrollbar-track{-webkit-box-shadow:inset006pxrgba(0,0,0,.3);border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.1);-webkit-box-shadow:inset006pxrgba(0,0,0,.5)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{right:5px!important}.es-flow-form .input-with-select{width:100%;margin-top:0}.custom-limit-time .el-input.el-input--suffix{width:calc(100% + 40px)!important}.task-union-examine .custom-limit-time .el-input.el-input--suffix{width:unset!important}.custom-limit-time .el-input-group__append{background-color:#1890ff!important;color:#fff!important}.es-flow-form .el-select{width:100%}.es-flow-form .es-opinions .el-select{width:calc(100% + 40px)!important}.select-users .el-input-group__append .el-button span,.select-users .no-icon .el-input-group__append{display:none}.select-users .el-input-group__append{background-color:#1890ff}.select-users .el-input-group__append .el-button i{font-size:18px;color:#fff}.es-flow-form .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-form .el-input-group--prepend>.el-input__inner{display:none!important}.es-flow-form button.el-button.sub.el-button--danger.el-button--medium{width:calc(100% - 85px)}.es-flow-form .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-form .el-form-item__label{font-weight:700}.es-flow-form .el-input.is-disabled .el-input__inner{color:#000}.select-user{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.select-user .left{width:30%}.select-user .right{padding:3px;width:69%}.select-user .el-checkbox{width:170px;margin-top:11px;margin-bottom:11px}.select-user .all{margin:0!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#1890ff!important;border-color:#1890ff!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.es-flow-index .el-checkbox__input.is-disabled+span.el-checkbox__label,.flow-dialog .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.85)}
|
|
1
|
+
@charset "UTF-8";.commonOpinion-set,.es-fenyue-buttons,.es-flow-content,.es-reset-flow{-webkit-box-direction:normal}.es-common-opinions,.es-fenyue-buttons,.es-flow-buttons,.es-flow-title,.es-opinion{padding:0 12px}.es-fenyue-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.es-fenyue-buttons-yj{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-user-defined{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.es-user-defined .el-button--primary{-webkit-box-flex:1;-ms-flex:1;flex:1}.flow-chart-dialog .el-dialog__body{overflow:auto}.required .el-textarea__inner::-webkit-input-placeholder{color:red}.required .el-textarea__inner::-moz-placeholder{color:red}.required .el-textarea__inner:-ms-input-placeholder{color:red}.required .el-textarea__inner::-ms-input-placeholder{color:red}.required .el-textarea__inner::placeholder{color:red}.no-checked .el-checkbox__input{display:none!important}.es-reset-flow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.es-reset-flow-form-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;margin-bottom:10px}.es-flow-content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding-bottom:12px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative}.es-flow-index{height:100%}.es-flow-index .em-flow-more-btn{display:block;width:100%}.es-flow-index .el-checkbox-group{display:contents}.es-flow-index .es-eidt-title{font-size:13px;color:#333;line-height:20px}.es-flow-index .es-flow-top .es-flow-title{height:40px;line-height:40px}.es-flow-index .es-flow-top .es-flow-title .es-icon{position:absolute;right:8px;top:4px}.es-flow-index .es-flow-top .es-opinion{display:-webkit-box;display:-ms-flexbox;display:flex;margin:8px 0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-flow-index .es-flow-top .es-opinion .es-opinion-file{cursor:pointer;position:relative}.es-flow-index .es-flow-top .es-opinion .es-opinion-file .es-file-num{color:red}.es-flow-index .es-button-agree{width:calc(43% - 15px)}.es-flow-index .es-button-agree-save{margin-top:10px}.commonOpinion-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.commonOpinion-set .el-table__body-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-flow-index-shrink{width:24px}.es-flow-index-shrink img{cursor:pointer;width:24px;height:24px}.es-flow-btn:hover{background-color:#f5f5f5;color:#1890ff}.es-flow-btn:hover ::v-deep .el-popover{padding:12px 0!important}.es-flow-form .el-checkbox-group{display:contents}.es-flow-index .el-input-group--prepend>.el-input__inner,.es-flow-index .select-process>.el-input__inner{display:none!important}.es-flow-form .el-textarea:first-child,.es-flow-index .el-textarea{width:100%;margin-bottom:10px!important}.es-flow-form .es-opinions .el-select,.es-flow-index .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-select .el-input{width:100%;height:40px}.es-flow-index .process .el-select{width:calc(100% + 40px)!important}.es-flow-index .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-index .select-process .el-input-group__append{height:40px}.es-flow-index .hide-flow-char .el-input-group__append{padding:0}.es-flow-index button.el-button.sub.el-button--primary.el-button--medium{width:calc(100% - 85px)}.es-flow-index .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-index .demo-dynamic .el-select{width:100%!important}.es-flow-index .demo-dynamic .select-process .el-select,.es-flow-index .demo-dynamic .selectUser,.es-flow-index.task-union-examine .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-input.el-input-group.el-input-group--append.el-input-group--prepend{margin:0!important}.es-flow-index .demo-dynamic{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:10px}.es-flow-index .es-footer-btn{margin-top:10px}.es-flow-index .es-footer-btn .el-button+.el-button{margin:10px 10px 0 0}.es-flow-index .el-input.is-disabled .el-input__inner{color:#606266}.es-flow-index .es-flow-btn{margin-right:10px}.es-flow-index .es-info{padding:0 12px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden}.es-flow-index .form-left .el-form-item{margin-bottom:22px!important}.es-flow-index .es-info .el-form-item{margin-bottom:0}.es-flow-index .es-info::-webkit-scrollbar{width:5px}.es-flow-index .news{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:10px 0}.es-flow-index .news .sj,.show{width:10px;height:10px;border-right:1px solid #000;border-bottom:1px solid #000;margin-right:10px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);-webkit-transition:.5s;transition:.5s}.es-flow-index .news .show{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.es-flow-index .el-checkbox{margin:0 10px 10px 0}.es-flow-index .info::-webkit-scrollbar-track{-webkit-box-shadow:inset006pxrgba(0,0,0,.3);border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.1);-webkit-box-shadow:inset006pxrgba(0,0,0,.5)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{right:5px!important}.es-flow-form .input-with-select{width:100%;margin-top:0}.custom-limit-time .el-input.el-input--suffix{width:calc(100% + 40px)!important}.task-union-examine .custom-limit-time .el-input.el-input--suffix{width:unset!important}.custom-limit-time .el-input-group__append{background-color:#1890ff!important;color:#fff!important}.es-flow-form .el-select{width:100%}.es-flow-form .es-opinions .el-select{width:calc(100% + 40px)!important}.select-users .el-input-group__append .el-button span,.select-users .no-icon .el-input-group__append{display:none}.select-users .el-input-group__append{background-color:#1890ff}.select-users .el-input-group__append .el-button i{font-size:18px;color:#fff}.es-flow-form .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-form .el-input-group--prepend>.el-input__inner{display:none!important}.es-flow-form button.el-button.sub.el-button--danger.el-button--medium{width:calc(100% - 85px)}.es-flow-form .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-form .el-form-item__label{font-weight:700}.es-flow-form .el-input.is-disabled .el-input__inner{color:#000}.select-user{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.select-user .left{width:30%}.select-user .right{padding:3px;width:69%}.select-user .el-checkbox{width:170px;margin-top:11px;margin-bottom:11px}.select-user .all{margin:0!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#1890ff!important;border-color:#1890ff!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.es-flow-index .el-checkbox__input.is-disabled+span.el-checkbox__label,.flow-dialog .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.85)}
|