eoss-ui 0.6.64 → 0.6.66
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/calogin.js +4 -4
- package/lib/eoss-ui.common.js +555 -260
- package/lib/flow-list.js +97 -69
- package/lib/flow.js +290 -50
- package/lib/form.js +13 -10
- package/lib/index.js +1 -1
- package/lib/login.js +128 -104
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/package.json +1 -1
- package/packages/calogin/src/main.vue +1 -1
- package/packages/flow/src/component/Circulate.vue +27 -3
- package/packages/flow/src/main.vue +106 -20
- package/packages/flow-list/src/main.vue +32 -6
- package/packages/form/src/main.vue +2 -2
- package/packages/login/src/main.vue +17 -5
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/login.scss +1 -1
- package/src/index.js +163 -163
- package/lib/.DS_Store +0 -0
- package/packages/.DS_Store +0 -0
- package/packages/autocomplete/.DS_Store +0 -0
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/menu/.DS_Store +0 -0
- package/packages/scrollbar/.DS_Store +0 -0
- package/packages/select/.DS_Store +0 -0
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/upload/.DS_Store +0 -0
- package/src/.DS_Store +0 -0
- package/src/utils/.DS_Store +0 -0
package/lib/flow-list.js
CHANGED
|
@@ -4440,8 +4440,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4440
4440
|
// ESM COMPAT FLAG
|
|
4441
4441
|
__webpack_require__.r(__webpack_exports__);
|
|
4442
4442
|
|
|
4443
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4444
|
-
var
|
|
4443
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=0f6641c6&
|
|
4444
|
+
var mainvue_type_template_id_0f6641c6_render = function () {
|
|
4445
4445
|
var _vm = this
|
|
4446
4446
|
var _h = _vm.$createElement
|
|
4447
4447
|
var _c = _vm._self._c || _h
|
|
@@ -4645,10 +4645,10 @@ var mainvue_type_template_id_1b0fe550_render = function () {
|
|
|
4645
4645
|
)
|
|
4646
4646
|
}
|
|
4647
4647
|
var staticRenderFns = []
|
|
4648
|
-
|
|
4648
|
+
mainvue_type_template_id_0f6641c6_render._withStripped = true
|
|
4649
4649
|
|
|
4650
4650
|
|
|
4651
|
-
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4651
|
+
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=0f6641c6&
|
|
4652
4652
|
|
|
4653
4653
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4654
4654
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -4822,7 +4822,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4822
4822
|
type: String,
|
|
4823
4823
|
default: ''
|
|
4824
4824
|
},
|
|
4825
|
-
|
|
4825
|
+
showDoresult: {
|
|
4826
|
+
type: Boolean,
|
|
4827
|
+
default: false
|
|
4828
|
+
},
|
|
4826
4829
|
theadWidth: {
|
|
4827
4830
|
type: Object,
|
|
4828
4831
|
default: function _default() {
|
|
@@ -5782,6 +5785,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5782
5785
|
}).catch(function () {});
|
|
5783
5786
|
},
|
|
5784
5787
|
getCircularReadList: function getCircularReadList() {
|
|
5788
|
+
var _this9 = this;
|
|
5789
|
+
|
|
5785
5790
|
var _that = this;
|
|
5786
5791
|
var params = {
|
|
5787
5792
|
url: api["qb" /* pendedhistoryListWithCircularReadJson */],
|
|
@@ -5789,6 +5794,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5789
5794
|
};
|
|
5790
5795
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
5791
5796
|
if (res.status == 'success' || res.rCode == 0) {
|
|
5797
|
+
if (_this9.showDoresult && res.data.fyHistoryList) {
|
|
5798
|
+
res.data.fyHistoryList = res.data.fyHistoryList.filter(function (x) {
|
|
5799
|
+
return x.doresult || x.handleInfo;
|
|
5800
|
+
});
|
|
5801
|
+
}
|
|
5792
5802
|
_that.circularData = res.data.fyHistoryList;
|
|
5793
5803
|
_that.hasCircularReadWithdrawAuthority = res.data.hasCircularReadWithdrawAuthority;
|
|
5794
5804
|
_that.$nextTick(function () {
|
|
@@ -5851,7 +5861,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5851
5861
|
* @date 2022年11月29日
|
|
5852
5862
|
**/
|
|
5853
5863
|
handleFormSubmit: function handleFormSubmit(formData) {
|
|
5854
|
-
var
|
|
5864
|
+
var _this10 = this;
|
|
5855
5865
|
|
|
5856
5866
|
this.delLoading = true;
|
|
5857
5867
|
var params = {
|
|
@@ -5863,18 +5873,18 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5863
5873
|
var status = res.status,
|
|
5864
5874
|
message = res.message;
|
|
5865
5875
|
|
|
5866
|
-
|
|
5876
|
+
_this10.delLoading = false;
|
|
5867
5877
|
if (status === 'success') {
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5878
|
+
_this10.$message.success('删除成功');
|
|
5879
|
+
_this10.showDel = false;
|
|
5880
|
+
_this10.handleChange();
|
|
5871
5881
|
} else {
|
|
5872
|
-
|
|
5882
|
+
_this10.$message.error(message || '系统错误,请联系管理员!');
|
|
5873
5883
|
}
|
|
5874
5884
|
}).catch(function (err) {
|
|
5875
|
-
|
|
5885
|
+
_this10.delLoading = false;
|
|
5876
5886
|
if (err.message && err.message !== 'canceled') {
|
|
5877
|
-
|
|
5887
|
+
_this10.$message.error(err.message);
|
|
5878
5888
|
}
|
|
5879
5889
|
});
|
|
5880
5890
|
},
|
|
@@ -5938,7 +5948,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5938
5948
|
* @date 2022年11月29日
|
|
5939
5949
|
**/
|
|
5940
5950
|
getPressList: function getPressList() {
|
|
5941
|
-
var
|
|
5951
|
+
var _this11 = this;
|
|
5942
5952
|
|
|
5943
5953
|
var historyId = this.historyId,
|
|
5944
5954
|
pageSize = this.pageSize,
|
|
@@ -5954,13 +5964,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5954
5964
|
data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
|
|
5955
5965
|
};
|
|
5956
5966
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5967
|
+
_this11.pressTableList = res.data;
|
|
5968
|
+
_this11.total = res.totalrecords;
|
|
5969
|
+
_this11.pressLoading = false;
|
|
5960
5970
|
}).catch(function (err) {
|
|
5961
|
-
|
|
5971
|
+
_this11.pressLoading = false;
|
|
5962
5972
|
if (err.message && err.message !== 'canceled') {
|
|
5963
|
-
|
|
5973
|
+
_this11.$message.error(err.message);
|
|
5964
5974
|
}
|
|
5965
5975
|
});
|
|
5966
5976
|
},
|
|
@@ -6005,7 +6015,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6005
6015
|
this.getFlowList();
|
|
6006
6016
|
},
|
|
6007
6017
|
getFyListJson: function getFyListJson(type) {
|
|
6008
|
-
var
|
|
6018
|
+
var _this12 = this;
|
|
6009
6019
|
|
|
6010
6020
|
return _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
|
|
6011
6021
|
var params;
|
|
@@ -6016,16 +6026,21 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6016
6026
|
params = {
|
|
6017
6027
|
url: api["E" /* fyListJson */],
|
|
6018
6028
|
params: {
|
|
6019
|
-
appRecordId:
|
|
6029
|
+
appRecordId: _this12.businessId,
|
|
6020
6030
|
status: type
|
|
6021
6031
|
}
|
|
6022
6032
|
};
|
|
6023
6033
|
_context3.next = 3;
|
|
6024
6034
|
return util["a" /* default */].ajax(params).then(function (res) {
|
|
6035
|
+
if (_this12.showDoresult && res.data) {
|
|
6036
|
+
res.data = res.data.filter(function (x) {
|
|
6037
|
+
return x.doresult || x.handleInfo;
|
|
6038
|
+
});
|
|
6039
|
+
}
|
|
6025
6040
|
if (type == 1) {
|
|
6026
|
-
|
|
6041
|
+
_this12.untreatedReadData = res.data;
|
|
6027
6042
|
} else {
|
|
6028
|
-
|
|
6043
|
+
_this12.processedReadData = res.data;
|
|
6029
6044
|
}
|
|
6030
6045
|
});
|
|
6031
6046
|
|
|
@@ -6034,7 +6049,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6034
6049
|
return _context3.stop();
|
|
6035
6050
|
}
|
|
6036
6051
|
}
|
|
6037
|
-
}, _callee3,
|
|
6052
|
+
}, _callee3, _this12);
|
|
6038
6053
|
}))();
|
|
6039
6054
|
},
|
|
6040
6055
|
|
|
@@ -6045,7 +6060,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6045
6060
|
* @date 2022年11月22日
|
|
6046
6061
|
**/
|
|
6047
6062
|
getFlowList: function getFlowList() {
|
|
6048
|
-
var
|
|
6063
|
+
var _this13 = this;
|
|
6049
6064
|
|
|
6050
6065
|
var params = {
|
|
6051
6066
|
url: api["pb" /* pendedhistoryListJson */],
|
|
@@ -6068,45 +6083,53 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6068
6083
|
modify = _res$data.modify,
|
|
6069
6084
|
taskReadName = _res$data.taskReadName;
|
|
6070
6085
|
|
|
6071
|
-
|
|
6086
|
+
_this13.loading.close();
|
|
6072
6087
|
if (status == 'success') {
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6088
|
+
if (_this13.showDoresult) {
|
|
6089
|
+
wfHistoryList && (wfHistoryList = wfHistoryList.filter(function (x) {
|
|
6090
|
+
return x.doresult || x.handleInfo;
|
|
6091
|
+
}));
|
|
6092
|
+
fyHistoryList && (fyHistoryList = fyHistoryList.filter(function (x) {
|
|
6093
|
+
return x.doresult || x.handleInfo;
|
|
6094
|
+
}));
|
|
6095
|
+
}
|
|
6096
|
+
_this13.flowTableInfo.adjunctCode = adjunctCode;
|
|
6097
|
+
_this13.flowTableInfo.hasAgent = hasAgent;
|
|
6098
|
+
_this13.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
|
|
6099
|
+
_this13.isShort = isShort;
|
|
6100
|
+
_this13.taskReadName = taskReadName;
|
|
6101
|
+
_this13.flowData = wfHistoryList;
|
|
6102
|
+
_this13.flowData.map(function (x) {
|
|
6080
6103
|
if (!x.deptid) {
|
|
6081
6104
|
x.deptid = x.deptName;
|
|
6082
6105
|
}
|
|
6083
6106
|
});
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
if (
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6107
|
+
_this13.splitReadingData = fyHistoryList;
|
|
6108
|
+
_this13.modify = modify;
|
|
6109
|
+
_this13.show = true;
|
|
6110
|
+
if (_this13.height == 'auto') {
|
|
6111
|
+
_this13.$nextTick(function () {
|
|
6112
|
+
_this13.content.map(function (x) {
|
|
6113
|
+
_this13[x.type + 'Height'] = _this13.$refs[x.type][0].offsetHeight;
|
|
6091
6114
|
});
|
|
6092
6115
|
});
|
|
6093
6116
|
}
|
|
6094
|
-
if (
|
|
6095
|
-
|
|
6117
|
+
if (_this13.contents.indexOf('circular') != -1) {
|
|
6118
|
+
_this13.getCircularReadList();
|
|
6096
6119
|
} else {
|
|
6097
|
-
|
|
6098
|
-
|
|
6120
|
+
_this13.$nextTick(function () {
|
|
6121
|
+
_this13.getListCount(_this13.flowListCount);
|
|
6099
6122
|
});
|
|
6100
6123
|
}
|
|
6101
6124
|
} else {
|
|
6102
|
-
|
|
6125
|
+
_this13.$message.error(message || '系统错误,请联系管理员!');
|
|
6103
6126
|
}
|
|
6104
6127
|
}).catch(function (err) {
|
|
6105
|
-
|
|
6128
|
+
_this13.loading.close();
|
|
6106
6129
|
if (err.message && err.message !== 'canceled') {
|
|
6107
|
-
|
|
6130
|
+
_this13.$message.error(err.message);
|
|
6108
6131
|
}
|
|
6109
|
-
|
|
6132
|
+
_this13.show = true;
|
|
6110
6133
|
});
|
|
6111
6134
|
},
|
|
6112
6135
|
|
|
@@ -6118,7 +6141,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6118
6141
|
* @date 2022年11月10日
|
|
6119
6142
|
**/
|
|
6120
6143
|
handleClick: function handleClick(val) {
|
|
6121
|
-
var
|
|
6144
|
+
var _this14 = this;
|
|
6122
6145
|
|
|
6123
6146
|
var text = val.handle.text,
|
|
6124
6147
|
_val$row = val.row,
|
|
@@ -6128,7 +6151,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6128
6151
|
if (text === '置为失效') {
|
|
6129
6152
|
if (status == 0) {
|
|
6130
6153
|
this.$confirm('您确定要置为失效吗?').then(function () {
|
|
6131
|
-
|
|
6154
|
+
_this14.loading = util["a" /* default */].loading(_this14.$loading, '提交中...');
|
|
6132
6155
|
var param = {
|
|
6133
6156
|
url: api["m" /* deletePresetInfo */],
|
|
6134
6157
|
headers: { Accept: 'application/json,text/plain' },
|
|
@@ -6139,17 +6162,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6139
6162
|
var status = res.status,
|
|
6140
6163
|
message = res.message;
|
|
6141
6164
|
|
|
6142
|
-
|
|
6165
|
+
_this14.loading.close();
|
|
6143
6166
|
if (status === 'success') {
|
|
6144
|
-
|
|
6145
|
-
|
|
6167
|
+
_this14.$message.success('操作成功');
|
|
6168
|
+
_this14.getListInfo();
|
|
6146
6169
|
} else {
|
|
6147
|
-
|
|
6170
|
+
_this14.$message.error(message || '系统错误,请联系管理员!');
|
|
6148
6171
|
}
|
|
6149
6172
|
}).catch(function (err) {
|
|
6150
|
-
|
|
6173
|
+
_this14.loading.close();
|
|
6151
6174
|
if (err.message && err.message !== 'canceled') {
|
|
6152
|
-
|
|
6175
|
+
_this14.$message.error(err.message);
|
|
6153
6176
|
}
|
|
6154
6177
|
});
|
|
6155
6178
|
}).catch(function (e) {
|
|
@@ -6184,7 +6207,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6184
6207
|
* @date 2022年11月10日
|
|
6185
6208
|
**/
|
|
6186
6209
|
getSysInfo: function getSysInfo(code) {
|
|
6187
|
-
var
|
|
6210
|
+
var _this15 = this;
|
|
6188
6211
|
|
|
6189
6212
|
var params = {
|
|
6190
6213
|
url: api["y" /* findCodeValues */],
|
|
@@ -6196,9 +6219,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6196
6219
|
data = res.data;
|
|
6197
6220
|
|
|
6198
6221
|
if (status == 'success') {
|
|
6199
|
-
|
|
6222
|
+
_this15[code] = data;
|
|
6200
6223
|
} else {
|
|
6201
|
-
|
|
6224
|
+
_this15.$message.error(message || '系统错误,请联系管理员!');
|
|
6202
6225
|
}
|
|
6203
6226
|
}).catch(function (e) {});
|
|
6204
6227
|
},
|
|
@@ -6210,7 +6233,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6210
6233
|
* @date 2022年11月10日
|
|
6211
6234
|
**/
|
|
6212
6235
|
getListInfo: function getListInfo() {
|
|
6213
|
-
var
|
|
6236
|
+
var _this16 = this;
|
|
6214
6237
|
|
|
6215
6238
|
var param = {
|
|
6216
6239
|
url: api["Vb" /* toPresetInfoListIndex */],
|
|
@@ -6225,19 +6248,24 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6225
6248
|
canDelete = _res$data2.canDelete,
|
|
6226
6249
|
currentUserHasPresetInfoAuth = _res$data2.currentUserHasPresetInfoAuth;
|
|
6227
6250
|
|
|
6228
|
-
|
|
6251
|
+
_this16.loading.close();
|
|
6229
6252
|
if (status == 'success') {
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6253
|
+
if (_this16.showDoresult && presetInfoList) {
|
|
6254
|
+
presetInfoList = presetInfoList.filter(function (x) {
|
|
6255
|
+
return x.doresult || x.handleInfo;
|
|
6256
|
+
});
|
|
6257
|
+
}
|
|
6258
|
+
presetInfoList && (_this16.presetData = presetInfoList);
|
|
6259
|
+
_this16.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
|
|
6260
|
+
_this16.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
|
|
6261
|
+
_this16.canDelete = canDelete;
|
|
6234
6262
|
} else {
|
|
6235
|
-
|
|
6263
|
+
_this16.$message.error(message || '系统错误,请联系管理员!');
|
|
6236
6264
|
}
|
|
6237
6265
|
}).catch(function (err) {
|
|
6238
|
-
|
|
6266
|
+
_this16.loading.close();
|
|
6239
6267
|
if (err.message && err.message !== 'canceled') {
|
|
6240
|
-
|
|
6268
|
+
_this16.$message.error(err.message);
|
|
6241
6269
|
}
|
|
6242
6270
|
});
|
|
6243
6271
|
}
|
|
@@ -6258,7 +6286,7 @@ var componentNormalizer = __webpack_require__(3);
|
|
|
6258
6286
|
|
|
6259
6287
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
6260
6288
|
src_mainvue_type_script_lang_js_,
|
|
6261
|
-
|
|
6289
|
+
mainvue_type_template_id_0f6641c6_render,
|
|
6262
6290
|
staticRenderFns,
|
|
6263
6291
|
false,
|
|
6264
6292
|
null,
|