eoss-ui 0.5.51 → 0.5.52
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/eoss-ui.common.js +86 -42
- package/lib/flow.js +80 -36
- package/lib/index.js +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/CommonOpinions.vue +35 -9
- package/packages/flow/src/main.vue +11 -12
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +1 -1
- package/src/index.js +1 -1
- package/CHANGELOG.md +0 -929
package/lib/eoss-ui.common.js
CHANGED
|
@@ -29441,8 +29441,8 @@ form_src_main.install = function (Vue) {
|
|
|
29441
29441
|
};
|
|
29442
29442
|
|
|
29443
29443
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
29444
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
29445
|
-
var
|
|
29444
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=4dbe5794&
|
|
29445
|
+
var mainvue_type_template_id_4dbe5794_render = function () {
|
|
29446
29446
|
var _vm = this
|
|
29447
29447
|
var _h = _vm.$createElement
|
|
29448
29448
|
var _c = _vm._self._c || _h
|
|
@@ -29451,7 +29451,7 @@ var mainvue_type_template_id_d05e22ca_render = function () {
|
|
|
29451
29451
|
"div",
|
|
29452
29452
|
{
|
|
29453
29453
|
staticClass: "es-flow-index",
|
|
29454
|
-
class: { "es-flow-narrow": _vm.shrink
|
|
29454
|
+
class: { "es-flow-narrow": _vm.shrink },
|
|
29455
29455
|
style: _vm.styles,
|
|
29456
29456
|
},
|
|
29457
29457
|
[
|
|
@@ -31162,14 +31162,14 @@ var mainvue_type_template_id_d05e22ca_render = function () {
|
|
|
31162
31162
|
)
|
|
31163
31163
|
: _vm._e()
|
|
31164
31164
|
}
|
|
31165
|
-
var
|
|
31166
|
-
|
|
31165
|
+
var mainvue_type_template_id_4dbe5794_staticRenderFns = []
|
|
31166
|
+
mainvue_type_template_id_4dbe5794_render._withStripped = true
|
|
31167
31167
|
|
|
31168
31168
|
|
|
31169
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
31169
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=4dbe5794&
|
|
31170
31170
|
|
|
31171
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
31172
|
-
var
|
|
31171
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=2f580d06&
|
|
31172
|
+
var CommonOpinionsvue_type_template_id_2f580d06_render = function () {
|
|
31173
31173
|
var _vm = this
|
|
31174
31174
|
var _h = _vm.$createElement
|
|
31175
31175
|
var _c = _vm._self._c || _h
|
|
@@ -31177,23 +31177,40 @@ var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
|
31177
31177
|
"div",
|
|
31178
31178
|
{ staticClass: "commonOpinion" },
|
|
31179
31179
|
[
|
|
31180
|
-
_c(
|
|
31181
|
-
|
|
31182
|
-
|
|
31183
|
-
|
|
31184
|
-
|
|
31185
|
-
placeholder: "请输入意见",
|
|
31186
|
-
rows: 10,
|
|
31187
|
-
},
|
|
31188
|
-
on: { change: _vm.changeOpinion },
|
|
31189
|
-
model: {
|
|
31190
|
-
value: _vm.value,
|
|
31191
|
-
callback: function ($$v) {
|
|
31192
|
-
_vm.value = $$v
|
|
31193
|
-
},
|
|
31194
|
-
expression: "value",
|
|
31180
|
+
_c(
|
|
31181
|
+
"el-form",
|
|
31182
|
+
{
|
|
31183
|
+
ref: "ruleForm",
|
|
31184
|
+
attrs: { model: _vm.form, rules: _vm.rules, "label-width": "0" },
|
|
31195
31185
|
},
|
|
31196
|
-
|
|
31186
|
+
[
|
|
31187
|
+
_c(
|
|
31188
|
+
"el-form-item",
|
|
31189
|
+
{ attrs: { label: "", prop: "value" } },
|
|
31190
|
+
[
|
|
31191
|
+
_c("el-input", {
|
|
31192
|
+
attrs: {
|
|
31193
|
+
disabled: _vm.isBanInputOpinion == "1" || _vm.disabled,
|
|
31194
|
+
type: "textarea",
|
|
31195
|
+
clear: "inp",
|
|
31196
|
+
placeholder: "请输入意见",
|
|
31197
|
+
rows: 10,
|
|
31198
|
+
},
|
|
31199
|
+
on: { change: _vm.changeOpinion },
|
|
31200
|
+
model: {
|
|
31201
|
+
value: _vm.form.value,
|
|
31202
|
+
callback: function ($$v) {
|
|
31203
|
+
_vm.$set(_vm.form, "value", $$v)
|
|
31204
|
+
},
|
|
31205
|
+
expression: "form.value",
|
|
31206
|
+
},
|
|
31207
|
+
}),
|
|
31208
|
+
],
|
|
31209
|
+
1
|
|
31210
|
+
),
|
|
31211
|
+
],
|
|
31212
|
+
1
|
|
31213
|
+
),
|
|
31197
31214
|
_c(
|
|
31198
31215
|
"el-input",
|
|
31199
31216
|
{
|
|
@@ -31338,11 +31355,11 @@ var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
|
31338
31355
|
1
|
|
31339
31356
|
)
|
|
31340
31357
|
}
|
|
31341
|
-
var
|
|
31342
|
-
|
|
31358
|
+
var CommonOpinionsvue_type_template_id_2f580d06_staticRenderFns = []
|
|
31359
|
+
CommonOpinionsvue_type_template_id_2f580d06_render._withStripped = true
|
|
31343
31360
|
|
|
31344
31361
|
|
|
31345
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
31362
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=2f580d06&
|
|
31346
31363
|
|
|
31347
31364
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
|
|
31348
31365
|
var tablevue_type_template_id_67f38db6_render = function () {
|
|
@@ -31863,6 +31880,15 @@ var CommonOpinionsvue_type_script_lang_js_components;
|
|
|
31863
31880
|
//
|
|
31864
31881
|
//
|
|
31865
31882
|
//
|
|
31883
|
+
//
|
|
31884
|
+
//
|
|
31885
|
+
//
|
|
31886
|
+
//
|
|
31887
|
+
//
|
|
31888
|
+
//
|
|
31889
|
+
//
|
|
31890
|
+
//
|
|
31891
|
+
//
|
|
31866
31892
|
|
|
31867
31893
|
|
|
31868
31894
|
|
|
@@ -31874,6 +31900,12 @@ var CommonOpinionsvue_type_script_lang_js_components;
|
|
|
31874
31900
|
data: function data() {
|
|
31875
31901
|
return {
|
|
31876
31902
|
value: '',
|
|
31903
|
+
form: {
|
|
31904
|
+
value: ''
|
|
31905
|
+
},
|
|
31906
|
+
rules: {
|
|
31907
|
+
value: [{ required: true, message: '请输入意见', trigger: 'blur' }]
|
|
31908
|
+
},
|
|
31877
31909
|
input3: '',
|
|
31878
31910
|
selectValue: '',
|
|
31879
31911
|
optionList: [],
|
|
@@ -31918,6 +31950,18 @@ var CommonOpinionsvue_type_script_lang_js_components;
|
|
|
31918
31950
|
}
|
|
31919
31951
|
},
|
|
31920
31952
|
methods: {
|
|
31953
|
+
validate: function validate() {
|
|
31954
|
+
var validSate = true;
|
|
31955
|
+
this.$refs.ruleForm.validate(function (valid) {
|
|
31956
|
+
if (valid) {
|
|
31957
|
+
validSate = true;
|
|
31958
|
+
} else {
|
|
31959
|
+
validSate = false;
|
|
31960
|
+
}
|
|
31961
|
+
});
|
|
31962
|
+
return validSate;
|
|
31963
|
+
},
|
|
31964
|
+
|
|
31921
31965
|
/**
|
|
31922
31966
|
* changeOpinion
|
|
31923
31967
|
* @desc:监听意见变化
|
|
@@ -32104,8 +32148,8 @@ var CommonOpinionsvue_type_script_lang_js_components;
|
|
|
32104
32148
|
|
|
32105
32149
|
var CommonOpinions_component = normalizeComponent(
|
|
32106
32150
|
component_CommonOpinionsvue_type_script_lang_js_,
|
|
32107
|
-
|
|
32108
|
-
|
|
32151
|
+
CommonOpinionsvue_type_template_id_2f580d06_render,
|
|
32152
|
+
CommonOpinionsvue_type_template_id_2f580d06_staticRenderFns,
|
|
32109
32153
|
false,
|
|
32110
32154
|
null,
|
|
32111
32155
|
null,
|
|
@@ -38825,7 +38869,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
38825
38869
|
nextCurrentOrgObjSelect: [],
|
|
38826
38870
|
loading: null, // 加载中
|
|
38827
38871
|
newTypeCode: '',
|
|
38828
|
-
requiredValue: false,
|
|
38829
38872
|
NodeName: '', // 当前节点值
|
|
38830
38873
|
radioList: [],
|
|
38831
38874
|
value: '',
|
|
@@ -39362,19 +39405,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39362
39405
|
var _this8 = this;
|
|
39363
39406
|
|
|
39364
39407
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
39408
|
+
if (!this.value) {
|
|
39409
|
+
if (!this.$refs.commonOpinions.validate()) return;
|
|
39410
|
+
}
|
|
39365
39411
|
if (this.beforeSubmit != undefined) {
|
|
39366
39412
|
this.beforeSubmit().then(function (next) {
|
|
39367
|
-
|
|
39368
|
-
// return this.$message.warning('请填写意见');
|
|
39369
|
-
return _this8.requiredValue = true;
|
|
39370
|
-
}
|
|
39413
|
+
|
|
39371
39414
|
_this8.showReject = true;
|
|
39372
39415
|
}).catch(function (e) {});
|
|
39373
39416
|
} else {
|
|
39374
|
-
|
|
39375
|
-
// return this.$message.warning('请填写意见');
|
|
39376
|
-
return this.requiredValue = true;
|
|
39377
|
-
}
|
|
39417
|
+
|
|
39378
39418
|
this.showReject = true;
|
|
39379
39419
|
}
|
|
39380
39420
|
},
|
|
@@ -39683,7 +39723,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39683
39723
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
39684
39724
|
var _this18 = this;
|
|
39685
39725
|
|
|
39726
|
+
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
39727
|
+
if (!this.$refs.commonOpinions.validate()) return;
|
|
39728
|
+
}
|
|
39686
39729
|
if (this.beforeSubmit != undefined) {
|
|
39730
|
+
|
|
39687
39731
|
this.beforeSubmit().then(function (next) {
|
|
39688
39732
|
_this18.saveRejectAndEnd(res);
|
|
39689
39733
|
}).catch(function (e) {});
|
|
@@ -39695,7 +39739,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39695
39739
|
var _this19 = this;
|
|
39696
39740
|
|
|
39697
39741
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
39698
|
-
|
|
39742
|
+
|
|
39699
39743
|
// return this.$message.warning('请填写意见');
|
|
39700
39744
|
var params = {
|
|
39701
39745
|
url: api["mb" /* rejectAndEnd */],
|
|
@@ -40616,8 +40660,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
40616
40660
|
|
|
40617
40661
|
var flow_src_main_component = normalizeComponent(
|
|
40618
40662
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
40619
|
-
|
|
40620
|
-
|
|
40663
|
+
mainvue_type_template_id_4dbe5794_render,
|
|
40664
|
+
mainvue_type_template_id_4dbe5794_staticRenderFns,
|
|
40621
40665
|
false,
|
|
40622
40666
|
null,
|
|
40623
40667
|
null,
|
|
@@ -72608,7 +72652,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
72608
72652
|
}
|
|
72609
72653
|
|
|
72610
72654
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
72611
|
-
version: '0.5.
|
|
72655
|
+
version: '0.5.52',
|
|
72612
72656
|
install: install,
|
|
72613
72657
|
Button: packages_button,
|
|
72614
72658
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -3920,7 +3920,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3920
3920
|
// ESM COMPAT FLAG
|
|
3921
3921
|
__webpack_require__.r(__webpack_exports__);
|
|
3922
3922
|
|
|
3923
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
3923
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=4dbe5794&
|
|
3924
3924
|
var render = function () {
|
|
3925
3925
|
var _vm = this
|
|
3926
3926
|
var _h = _vm.$createElement
|
|
@@ -3930,7 +3930,7 @@ var render = function () {
|
|
|
3930
3930
|
"div",
|
|
3931
3931
|
{
|
|
3932
3932
|
staticClass: "es-flow-index",
|
|
3933
|
-
class: { "es-flow-narrow": _vm.shrink
|
|
3933
|
+
class: { "es-flow-narrow": _vm.shrink },
|
|
3934
3934
|
style: _vm.styles,
|
|
3935
3935
|
},
|
|
3936
3936
|
[
|
|
@@ -5645,14 +5645,14 @@ var staticRenderFns = []
|
|
|
5645
5645
|
render._withStripped = true
|
|
5646
5646
|
|
|
5647
5647
|
|
|
5648
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
5648
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=4dbe5794&
|
|
5649
5649
|
|
|
5650
5650
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5651
5651
|
var regenerator_ = __webpack_require__(12);
|
|
5652
5652
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
5653
5653
|
|
|
5654
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
5655
|
-
var
|
|
5654
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=2f580d06&
|
|
5655
|
+
var CommonOpinionsvue_type_template_id_2f580d06_render = function () {
|
|
5656
5656
|
var _vm = this
|
|
5657
5657
|
var _h = _vm.$createElement
|
|
5658
5658
|
var _c = _vm._self._c || _h
|
|
@@ -5660,23 +5660,40 @@ var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
|
5660
5660
|
"div",
|
|
5661
5661
|
{ staticClass: "commonOpinion" },
|
|
5662
5662
|
[
|
|
5663
|
-
_c(
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
placeholder: "请输入意见",
|
|
5669
|
-
rows: 10,
|
|
5670
|
-
},
|
|
5671
|
-
on: { change: _vm.changeOpinion },
|
|
5672
|
-
model: {
|
|
5673
|
-
value: _vm.value,
|
|
5674
|
-
callback: function ($$v) {
|
|
5675
|
-
_vm.value = $$v
|
|
5676
|
-
},
|
|
5677
|
-
expression: "value",
|
|
5663
|
+
_c(
|
|
5664
|
+
"el-form",
|
|
5665
|
+
{
|
|
5666
|
+
ref: "ruleForm",
|
|
5667
|
+
attrs: { model: _vm.form, rules: _vm.rules, "label-width": "0" },
|
|
5678
5668
|
},
|
|
5679
|
-
|
|
5669
|
+
[
|
|
5670
|
+
_c(
|
|
5671
|
+
"el-form-item",
|
|
5672
|
+
{ attrs: { label: "", prop: "value" } },
|
|
5673
|
+
[
|
|
5674
|
+
_c("el-input", {
|
|
5675
|
+
attrs: {
|
|
5676
|
+
disabled: _vm.isBanInputOpinion == "1" || _vm.disabled,
|
|
5677
|
+
type: "textarea",
|
|
5678
|
+
clear: "inp",
|
|
5679
|
+
placeholder: "请输入意见",
|
|
5680
|
+
rows: 10,
|
|
5681
|
+
},
|
|
5682
|
+
on: { change: _vm.changeOpinion },
|
|
5683
|
+
model: {
|
|
5684
|
+
value: _vm.form.value,
|
|
5685
|
+
callback: function ($$v) {
|
|
5686
|
+
_vm.$set(_vm.form, "value", $$v)
|
|
5687
|
+
},
|
|
5688
|
+
expression: "form.value",
|
|
5689
|
+
},
|
|
5690
|
+
}),
|
|
5691
|
+
],
|
|
5692
|
+
1
|
|
5693
|
+
),
|
|
5694
|
+
],
|
|
5695
|
+
1
|
|
5696
|
+
),
|
|
5680
5697
|
_c(
|
|
5681
5698
|
"el-input",
|
|
5682
5699
|
{
|
|
@@ -5821,11 +5838,11 @@ var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
|
5821
5838
|
1
|
|
5822
5839
|
)
|
|
5823
5840
|
}
|
|
5824
|
-
var
|
|
5825
|
-
|
|
5841
|
+
var CommonOpinionsvue_type_template_id_2f580d06_staticRenderFns = []
|
|
5842
|
+
CommonOpinionsvue_type_template_id_2f580d06_render._withStripped = true
|
|
5826
5843
|
|
|
5827
5844
|
|
|
5828
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
5845
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=2f580d06&
|
|
5829
5846
|
|
|
5830
5847
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
5831
5848
|
var api = __webpack_require__(1);
|
|
@@ -6355,6 +6372,15 @@ var _components;
|
|
|
6355
6372
|
//
|
|
6356
6373
|
//
|
|
6357
6374
|
//
|
|
6375
|
+
//
|
|
6376
|
+
//
|
|
6377
|
+
//
|
|
6378
|
+
//
|
|
6379
|
+
//
|
|
6380
|
+
//
|
|
6381
|
+
//
|
|
6382
|
+
//
|
|
6383
|
+
//
|
|
6358
6384
|
|
|
6359
6385
|
|
|
6360
6386
|
|
|
@@ -6366,6 +6392,12 @@ var _components;
|
|
|
6366
6392
|
data: function data() {
|
|
6367
6393
|
return {
|
|
6368
6394
|
value: '',
|
|
6395
|
+
form: {
|
|
6396
|
+
value: ''
|
|
6397
|
+
},
|
|
6398
|
+
rules: {
|
|
6399
|
+
value: [{ required: true, message: '请输入意见', trigger: 'blur' }]
|
|
6400
|
+
},
|
|
6369
6401
|
input3: '',
|
|
6370
6402
|
selectValue: '',
|
|
6371
6403
|
optionList: [],
|
|
@@ -6410,6 +6442,18 @@ var _components;
|
|
|
6410
6442
|
}
|
|
6411
6443
|
},
|
|
6412
6444
|
methods: {
|
|
6445
|
+
validate: function validate() {
|
|
6446
|
+
var validSate = true;
|
|
6447
|
+
this.$refs.ruleForm.validate(function (valid) {
|
|
6448
|
+
if (valid) {
|
|
6449
|
+
validSate = true;
|
|
6450
|
+
} else {
|
|
6451
|
+
validSate = false;
|
|
6452
|
+
}
|
|
6453
|
+
});
|
|
6454
|
+
return validSate;
|
|
6455
|
+
},
|
|
6456
|
+
|
|
6413
6457
|
/**
|
|
6414
6458
|
* changeOpinion
|
|
6415
6459
|
* @desc:监听意见变化
|
|
@@ -6596,8 +6640,8 @@ var _components;
|
|
|
6596
6640
|
|
|
6597
6641
|
var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
6598
6642
|
component_CommonOpinionsvue_type_script_lang_js_,
|
|
6599
|
-
|
|
6600
|
-
|
|
6643
|
+
CommonOpinionsvue_type_template_id_2f580d06_render,
|
|
6644
|
+
CommonOpinionsvue_type_template_id_2f580d06_staticRenderFns,
|
|
6601
6645
|
false,
|
|
6602
6646
|
null,
|
|
6603
6647
|
null,
|
|
@@ -13160,7 +13204,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13160
13204
|
nextCurrentOrgObjSelect: [],
|
|
13161
13205
|
loading: null, // 加载中
|
|
13162
13206
|
newTypeCode: '',
|
|
13163
|
-
requiredValue: false,
|
|
13164
13207
|
NodeName: '', // 当前节点值
|
|
13165
13208
|
radioList: [],
|
|
13166
13209
|
value: '',
|
|
@@ -13697,19 +13740,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13697
13740
|
var _this8 = this;
|
|
13698
13741
|
|
|
13699
13742
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
13743
|
+
if (!this.value) {
|
|
13744
|
+
if (!this.$refs.commonOpinions.validate()) return;
|
|
13745
|
+
}
|
|
13700
13746
|
if (this.beforeSubmit != undefined) {
|
|
13701
13747
|
this.beforeSubmit().then(function (next) {
|
|
13702
|
-
|
|
13703
|
-
// return this.$message.warning('请填写意见');
|
|
13704
|
-
return _this8.requiredValue = true;
|
|
13705
|
-
}
|
|
13748
|
+
|
|
13706
13749
|
_this8.showReject = true;
|
|
13707
13750
|
}).catch(function (e) {});
|
|
13708
13751
|
} else {
|
|
13709
|
-
|
|
13710
|
-
// return this.$message.warning('请填写意见');
|
|
13711
|
-
return this.requiredValue = true;
|
|
13712
|
-
}
|
|
13752
|
+
|
|
13713
13753
|
this.showReject = true;
|
|
13714
13754
|
}
|
|
13715
13755
|
},
|
|
@@ -14018,7 +14058,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14018
14058
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
14019
14059
|
var _this18 = this;
|
|
14020
14060
|
|
|
14061
|
+
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
14062
|
+
if (!this.$refs.commonOpinions.validate()) return;
|
|
14063
|
+
}
|
|
14021
14064
|
if (this.beforeSubmit != undefined) {
|
|
14065
|
+
|
|
14022
14066
|
this.beforeSubmit().then(function (next) {
|
|
14023
14067
|
_this18.saveRejectAndEnd(res);
|
|
14024
14068
|
}).catch(function (e) {});
|
|
@@ -14030,7 +14074,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14030
14074
|
var _this19 = this;
|
|
14031
14075
|
|
|
14032
14076
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
14033
|
-
|
|
14077
|
+
|
|
14034
14078
|
// return this.$message.warning('请填写意见');
|
|
14035
14079
|
var params = {
|
|
14036
14080
|
url: api["mb" /* rejectAndEnd */],
|