ecinc-cloud-moahygl 9.5.4 → 9.5.5

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/index.js CHANGED
@@ -48,6 +48,9 @@ import HyglHytongzAddpeople from './src/mapp/hytongz/components/addpeople'
48
48
  // mapp signQR
49
49
  import HyglSignQR from './src/mapp/signQR/QRwaiting'
50
50
 
51
+ // mapp vote
52
+ import HyglNewTouPiao from './src/mapp/tpgl/components/newTouPiao'
53
+
51
54
  // mapp taskItem
52
55
  import HyglTaskItem from './src/mapp/taskItem/index'
53
56
 
@@ -57,37 +60,9 @@ import HyglWdhySeatSet from './src/mapp/wdhy/components/seatSet'
57
60
 
58
61
  // 以对象的结构保存组件,便于遍历
59
62
  const components = {
60
- HyglIpad,
61
- HyglIpadLogin,
62
- HyglIpadFileView,
63
- HyglIpadHistoryMettings,
64
- HyglIpadHyfw,
65
- HyglIpadHyjl,
66
- HyglIpadMettingsDetail,
67
- HyglIpadNowmetting,
68
-
63
+
69
64
  HyglMapp,
70
- HyglMappAddyt,
71
- HyglMappMeetPeople,
72
- HyglMappMeetRecord,
73
- HyglMappMeetSign,
74
- HyglHyAdministration,
75
- HyglHyAdministrationComHyyt,
76
- HyglHyAdministrationComHzxx,
77
- HyglHyAdministrationComQdxx,
78
- HyglHyroom,
79
- HyglHySchedule,
80
- HyglBanner,
81
- HyglHysp,
82
- HyglHytongz,
83
- HyglHytongzDianbd,
84
- HyglHytongzHybaom,
85
- HyglHytongzAddpeople,
86
- HyglSignQR,
87
- HyglTaskItem,
88
- HyglWdhy,
89
- HyglWdhySeatSet,
90
- HyglNewTouPiao
65
+
91
66
  }
92
67
  // 定义 install 方法
93
68
  const install = function(Vue) {
@@ -18373,6 +18373,22 @@ module.exports = exports;
18373
18373
  })));
18374
18374
 
18375
18375
 
18376
+ /***/ }),
18377
+
18378
+ /***/ "5fb8":
18379
+ /***/ (function(module, exports, __webpack_require__) {
18380
+
18381
+ // style-loader: Adds some css to the DOM by adding a <style> tag
18382
+
18383
+ // load the styles
18384
+ var content = __webpack_require__("9e08");
18385
+ if(content.__esModule) content = content.default;
18386
+ if(typeof content === 'string') content = [[module.i, content, '']];
18387
+ if(content.locals) module.exports = content.locals;
18388
+ // add the styles to the DOM
18389
+ var add = __webpack_require__("499e").default
18390
+ var update = add("1aec6ce2", content, true, {"sourceMap":false,"shadowMode":false});
18391
+
18376
18392
  /***/ }),
18377
18393
 
18378
18394
  /***/ "5fbd":
@@ -22457,6 +22473,20 @@ if(content.locals) module.exports = content.locals;
22457
22473
  var add = __webpack_require__("499e").default
22458
22474
  var update = add("bc91f9b6", content, true, {"sourceMap":false,"shadowMode":false});
22459
22475
 
22476
+ /***/ }),
22477
+
22478
+ /***/ "9e08":
22479
+ /***/ (function(module, exports, __webpack_require__) {
22480
+
22481
+ // Imports
22482
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
22483
+ exports = ___CSS_LOADER_API_IMPORT___(false);
22484
+ // Module
22485
+ exports.push([module.i, ".voteInfo-box[data-v-dff72a64]{color:#999;font-size:12px}.height0[data-v-dff72a64]{height:calc(100vh - 152px)}.container[data-v-dff72a64],.height1[data-v-dff72a64]{height:calc(100vh - 100px)}.container[data-v-dff72a64]{overflow-y:scroll;padding-left:16px;padding-right:16px}.container .subject-title[data-v-dff72a64]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.container .subject-xuanxiang-radio[data-v-dff72a64] .van-radio-group .van-radio{margin-bottom:10px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.container .subject-xuanxiang-radio .subject-xuanxiang-radio-item p[data-v-dff72a64]{margin:0}.container .subject-xuanxiang-radio .subject-xuanxiang-radio-item .img-box[data-v-dff72a64]{height:84px}.container .subject-xuanxiang-checkbox[data-v-dff72a64] .van-checkbox-group .van-checkbox{margin-bottom:10px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.container .subject-xuanxiang-checkbox .subject-xuanxiang-checkbox-item p[data-v-dff72a64]{margin:0}.container .subject-xuanxiang-checkbox .subject-xuanxiang-checkbox-item .img-box[data-v-dff72a64]{height:84px}.btnBox[data-v-dff72a64]{position:fixed;width:100%;bottom:0;left:0;height:64px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 16px;background-color:#fff;border-top:1px solid #ebedf0}", ""]);
22486
+ // Exports
22487
+ module.exports = exports;
22488
+
22489
+
22460
22490
  /***/ }),
22461
22491
 
22462
22492
  /***/ "9e14":
@@ -30461,6 +30491,17 @@ var update = add("6b068305", content, true, {"sourceMap":false,"shadowMode":fals
30461
30491
  })));
30462
30492
 
30463
30493
 
30494
+ /***/ }),
30495
+
30496
+ /***/ "ec94":
30497
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
30498
+
30499
+ "use strict";
30500
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newTouPiao_vue_vue_type_style_index_0_id_dff72a64_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5fb8");
30501
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newTouPiao_vue_vue_type_style_index_0_id_dff72a64_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newTouPiao_vue_vue_type_style_index_0_id_dff72a64_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
30502
+ /* unused harmony reexport * */
30503
+
30504
+
30464
30505
  /***/ }),
30465
30506
 
30466
30507
  /***/ "eda5":
@@ -51936,6 +51977,466 @@ var QRwaiting_component = normalizeComponent(
51936
51977
  )
51937
51978
 
51938
51979
  /* harmony default export */ var QRwaiting = (QRwaiting_component.exports);
51980
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d3ac57a0-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue?vue&type=template&id=dff72a64&scoped=true&
51981
+ var newTouPiaovue_type_template_id_dff72a64_scoped_true_render = function render() {
51982
+ var _vm = this,
51983
+ _c = _vm._self._c;
51984
+ return _c('div', {
51985
+ staticClass: "app-container"
51986
+ }, [_c('div', [_c('van-cell', [_c('template', {
51987
+ slot: "title"
51988
+ }, [_c('span', {
51989
+ staticStyle: {
51990
+ "font-size": "16px"
51991
+ }
51992
+ }, [_vm._v(_vm._s(_vm.voteInfo.voteTheme))])])], 2), _c('van-cell', {
51993
+ staticStyle: {
51994
+ "align-items": "center"
51995
+ }
51996
+ }, [_c('template', {
51997
+ slot: "title"
51998
+ }, [_c('div', {
51999
+ staticClass: "voteInfo-box"
52000
+ }, [_c('span', {
52001
+ staticStyle: {
52002
+ "margin-right": "8px"
52003
+ }
52004
+ }, [_vm._v(_vm._s(_vm.voteInfo.sponsor))]), _c('span', [_vm._v(_vm._s(_vm.voteInfo.startTime) + "至" + _vm._s(_vm.voteInfo.endTime))])])]), _c('template', {
52005
+ slot: "label"
52006
+ }, [_c('span', [_vm._v(_vm._s(_vm.voteInfo.voteDes))])])], 2)], 1), _vm.vo.passenger && _vm.vo.passenger['subjects'] ? _c('div', {
52007
+ staticClass: "container",
52008
+ class: {
52009
+ 'height0': !_vm.routerParams.canEdit,
52010
+ 'height1': _vm.routerParams.canEdit
52011
+ }
52012
+ }, _vm._l(_vm.vo.passenger['subjects'], function (item, index) {
52013
+ return _c('div', {
52014
+ key: index
52015
+ }, [_c('p', {
52016
+ staticClass: "subject-title"
52017
+ }, [_c('span', [_vm._v(_vm._s(index + 1) + "、")]), _c('van-tag', {
52018
+ staticStyle: {
52019
+ "margin-right": "8px"
52020
+ },
52021
+ attrs: {
52022
+ "type": "primary"
52023
+ }
52024
+ }, [_vm._v(_vm._s(_vm.voteTypeArr[item.voteType - 1]))]), _c('span', [_vm._v(_vm._s(item.subject))])], 1), item.voteType === 1 ? _c('div', {
52025
+ staticClass: "subject-xuanxiang-radio"
52026
+ }, [_c('van-radio-group', {
52027
+ model: {
52028
+ value: item.checkedValue,
52029
+ callback: function callback($$v) {
52030
+ _vm.$set(item, "checkedValue", $$v);
52031
+ },
52032
+ expression: "item.checkedValue"
52033
+ }
52034
+ }, _vm._l(item.passenger['choices'], function (choice, _index) {
52035
+ return _c('van-radio', {
52036
+ key: _index,
52037
+ attrs: {
52038
+ "name": choice.id,
52039
+ "icon-size": "18px",
52040
+ "disabled": !_vm.routerParams.canEdit
52041
+ }
52042
+ }, [_c('div', {
52043
+ staticClass: "subject-xuanxiang-radio-item"
52044
+ }, [_c('p', [_vm._v(_vm._s(choice.subject))]), choice.coverUrl !== null ? _c('img', {
52045
+ staticClass: "img-box",
52046
+ staticStyle: {
52047
+ "margin": "10px 0px"
52048
+ },
52049
+ attrs: {
52050
+ "src": _vm.base_api + '/hygl/vote/download?dataField=voteFile&nameField=voteFileName&id=' + choice.id
52051
+ }
52052
+ }) : _vm._e()])]);
52053
+ }), 1)], 1) : _vm._e(), item.voteType === 2 ? _c('div', {
52054
+ staticClass: "subject-xuanxiang-checkbox"
52055
+ }, [_c('van-checkbox-group', {
52056
+ model: {
52057
+ value: item.checkedValue,
52058
+ callback: function callback($$v) {
52059
+ _vm.$set(item, "checkedValue", $$v);
52060
+ },
52061
+ expression: "item.checkedValue"
52062
+ }
52063
+ }, _vm._l(item.passenger['choices'], function (choice, _index) {
52064
+ return _c('van-checkbox', {
52065
+ key: _index,
52066
+ attrs: {
52067
+ "icon-size": "18px",
52068
+ "name": choice.id,
52069
+ "disabled": !_vm.routerParams.canEdit
52070
+ }
52071
+ }, [_c('div', {
52072
+ staticClass: "subject-xuanxiang-checkbox-item"
52073
+ }, [_c('p', [_vm._v(_vm._s(choice.subject))]), choice.coverUrl !== null ? _c('img', {
52074
+ staticClass: "img-box",
52075
+ staticStyle: {
52076
+ "margin": "10px 0px"
52077
+ },
52078
+ attrs: {
52079
+ "src": _vm.base_api + '/hygl/vote/download?dataField=voteFile&nameField=voteFileName&id=' + choice.id
52080
+ }
52081
+ }) : _vm._e()])]);
52082
+ }), 1)], 1) : _vm._e()]);
52083
+ }), 0) : _vm._e(), _vm.routerParams.canEdit ? _c('div', {
52084
+ staticClass: "btnBox"
52085
+ }, [_vm.vo.choiceStatus !== 2 ? _c('van-button', {
52086
+ staticStyle: {
52087
+ "width": "100%"
52088
+ },
52089
+ attrs: {
52090
+ "type": "info"
52091
+ },
52092
+ on: {
52093
+ "click": _vm.submitVoteResInfo
52094
+ }
52095
+ }, [_vm._v("提交问卷")]) : _vm._e(), _vm.vo.choiceStatus === 2 ? _c('van-button', {
52096
+ staticStyle: {
52097
+ "width": "100%"
52098
+ },
52099
+ attrs: {
52100
+ "type": "info"
52101
+ },
52102
+ on: {
52103
+ "click": _vm.backVoteResInfo
52104
+ }
52105
+ }, [_vm._v("返回")]) : _vm._e()], 1) : _vm._e()]);
52106
+ };
52107
+ var newTouPiaovue_type_template_id_dff72a64_scoped_true_staticRenderFns = [];
52108
+
52109
+ // CONCATENATED MODULE: ./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue?vue&type=template&id=dff72a64&scoped=true&
52110
+
52111
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue?vue&type=script&lang=js&
52112
+ /* harmony default export */ var newTouPiaovue_type_script_lang_js_ = ({
52113
+ components: {},
52114
+ props: {},
52115
+ data: function data() {
52116
+ return {
52117
+ base_api: "/apigw",
52118
+ // 问卷主题详情
52119
+ voteInfo: {},
52120
+ voteResult: {},
52121
+ // 路由参数
52122
+ routerParams: {},
52123
+ id: '',
52124
+ account: '',
52125
+ orgCode: '',
52126
+ canEdit: null,
52127
+ vo: {},
52128
+ voteTypeArr: ['单选', '多选'],
52129
+ resInfoList: [],
52130
+ // 投票结果列表
52131
+ myChoiceList: []
52132
+ };
52133
+ },
52134
+ computed: {},
52135
+ watch: {},
52136
+ created: function created() {
52137
+ this.$bus.emit('hideBottom');
52138
+ },
52139
+ beforeDestroy: function beforeDestroy() {
52140
+ this.$bus.emit('showBottom');
52141
+ this.$wv.setTitle({
52142
+ 'bool': true,
52143
+ 'text': '我参与的',
52144
+ 'color': '#000000'
52145
+ });
52146
+ },
52147
+ mounted: function mounted() {
52148
+ var _this2 = this;
52149
+ this.$bus.emit('hideBottom');
52150
+ this.$nextTick(function () {
52151
+ _this2.routerParams = _this2.$route.query;
52152
+ _this2.$wv.setTitle({
52153
+ 'bool': true,
52154
+ 'text': _this2.routerParams.text ? _this2.routerParams.text : '我参与的',
52155
+ 'color': '#000000'
52156
+ });
52157
+ console.log(location.href, 'url');
52158
+ console.log('this.routerParams', _this2.$route);
52159
+ _this2.openMyParticipate();
52160
+ _this2.routerParams.canEdit = Number(_this2.routerParams.canEdit);
52161
+ });
52162
+ },
52163
+ methods: {
52164
+ backVoteResInfo: function backVoteResInfo() {
52165
+ this.$router.back(-1);
52166
+ },
52167
+ submitVoteResInfo: function submitVoteResInfo() {
52168
+ var _this3 = this;
52169
+ this.choiceTotle = 0;
52170
+ // 投票校验
52171
+ var flag = true;
52172
+ this.vo.passenger.subjects.forEach(function (item) {
52173
+ if (!item.checkedValue) {
52174
+ flag = false;
52175
+ }
52176
+ });
52177
+ if (!flag) {
52178
+ this.$toast('还有题目未选择');
52179
+ return;
52180
+ }
52181
+ this.vo.passenger.subjects.forEach(function (item) {
52182
+ item.passenger.choices.forEach(function (data) {
52183
+ if (Array.isArray(item.checkedValue)) {
52184
+ if (item.checkedValue.includes(data.id)) {
52185
+ _this3.choiceTotle++;
52186
+ var tmpObj = {
52187
+ resultId: _this3.voteResult.id,
52188
+ subjectId: item.id,
52189
+ subjectName: item.subject,
52190
+ voteType: item.voteType,
52191
+ choiceId: data.id,
52192
+ choiceName: data.subject,
52193
+ status: 1
52194
+ };
52195
+ _this3.initResultInfo(tmpObj);
52196
+ }
52197
+ } else if (item.checkedValue === data.id) {
52198
+ _this3.choiceTotle++;
52199
+ var _tmpObj = {
52200
+ resultId: _this3.voteResult.id,
52201
+ subjectId: item.id,
52202
+ subjectName: item.subject,
52203
+ voteType: item.voteType,
52204
+ choiceId: data.id,
52205
+ choiceName: data.subject,
52206
+ status: 1
52207
+ };
52208
+ _this3.initResultInfo(_tmpObj);
52209
+ }
52210
+ });
52211
+ });
52212
+ },
52213
+ /**
52214
+ * 初始化投票结果明细
52215
+ */
52216
+ initResultInfo: function initResultInfo(obj) {
52217
+ var _this = this;
52218
+ this.$http({
52219
+ method: 'POST',
52220
+ contentType: 'application/x-www-form-urlencoded',
52221
+ url: 'hygl/voteResultInfo/addNew'
52222
+ }).then(function (res) {
52223
+ if (res.code === 'success') {
52224
+ var resobj = res.body.vo;
52225
+ resobj.resultId = obj.resultId;
52226
+ resobj.subjectId = obj.subjectId;
52227
+ resobj.subjectName = obj.subjectName;
52228
+ resobj.voteType = obj.voteType;
52229
+ resobj.choiceId = obj.choiceId;
52230
+ resobj.choiceName = obj.choiceName;
52231
+ resobj.status = obj.status;
52232
+ _this.resInfoList.push(resobj);
52233
+ if (_this.resInfoList.length === _this.choiceTotle) {
52234
+ _this.saveVoteResInfo(_this.resInfoList[0]);
52235
+ }
52236
+ } else {
52237
+ _this.$toast(res.message);
52238
+ }
52239
+ });
52240
+ },
52241
+ /**
52242
+ * 投票明细保存
52243
+ */
52244
+ saveVoteResInfo: function saveVoteResInfo(resobj) {
52245
+ var _this4 = this;
52246
+ // const _this = this
52247
+ this.$http({
52248
+ method: 'POST',
52249
+ contentType: 'application/x-www-form-urlencoded',
52250
+ data: resobj,
52251
+ url: 'hygl/voteResultInfo/insert'
52252
+ }).then(function (res) {
52253
+ if (res.code === 'success') {
52254
+ _this4.resInfoList.splice(0, 1);
52255
+ if (_this4.resInfoList.length > 0) {
52256
+ _this4.saveVoteResInfo(_this4.resInfoList[0]);
52257
+ } else {
52258
+ _this4.voteResult.choiceStatus = 2;
52259
+ // 更新用户是否投票的状态
52260
+ _this4.$http({
52261
+ method: 'PUT',
52262
+ contentType: 'application/x-www-form-urlencoded',
52263
+ data: _this4.voteResult,
52264
+ url: 'hygl/voteResult/update'
52265
+ }).then(function (res) {
52266
+ if (res.code === 'success') {
52267
+ _this4.$toast('您已完成问卷');
52268
+ _this4.$router.go(-1);
52269
+ // 显示统计
52270
+ // this.getQueryThemeVoters()
52271
+ // this.getQuerydataByTheme()
52272
+ // this.queryCurUserStat()
52273
+ } else {
52274
+ _this4.$toast(res.message, '操作提示', {
52275
+ type: 'error'
52276
+ });
52277
+ }
52278
+ });
52279
+ }
52280
+ } else {
52281
+ _this4.$toast(res.message, '操作提示', {
52282
+ type: 'error'
52283
+ });
52284
+ }
52285
+ });
52286
+ },
52287
+ /**
52288
+ * 查询当前用户投票信息
52289
+ */
52290
+ queryCurUserStat: function queryCurUserStat() {
52291
+ var _this5 = this;
52292
+ this.$http({
52293
+ method: 'GET',
52294
+ contentType: 'application/x-www-form-urlencoded',
52295
+ url: 'hygl/voteResult/getById',
52296
+ params: {
52297
+ 'id': this.voteResult.id
52298
+ }
52299
+ }).then(function (res) {
52300
+ if (res.code === 'success') {
52301
+ console.log('res==', res);
52302
+ _this5.myChoiceList = res.body.vo.passenger.voteResultInfos;
52303
+ // 回显答案选项
52304
+ if (_this5.vo.passenger['subjects'] && _this5.vo.passenger['subjects'].length) {
52305
+ _this5.vo.passenger['subjects'].forEach(function (el) {
52306
+ if (Number(el.voteType) === 1) {
52307
+ el.checkedValue = '';
52308
+ } else if (Number(el.voteType) === 2) {
52309
+ el.checkedValue = [];
52310
+ }
52311
+ // el.checkedValue = Number(el.voteType) === 1 ? '' : []
52312
+ if (_this5.myChoiceList && _this5.myChoiceList.length) {
52313
+ _this5.myChoiceList.forEach(function (item) {
52314
+ if (el.id === item.subjectId) {
52315
+ if (Number(el.voteType) === 1) {
52316
+ _this5.$set(el, 'checkedValue', item.choiceId);
52317
+ } else {
52318
+ el.checkedValue.push(item.choiceId);
52319
+ }
52320
+ }
52321
+ });
52322
+ }
52323
+ });
52324
+ _this5.$forceUpdate();
52325
+ }
52326
+ } else {
52327
+ _this5.$toast(res.message, '操作提示', {
52328
+ type: 'error'
52329
+ });
52330
+ }
52331
+ });
52332
+ },
52333
+ // 获取参数
52334
+ openMyParticipate: function openMyParticipate() {
52335
+ this.id = this.routerParams.id;
52336
+ this.account = this.routerParams.account;
52337
+ this.orgCode = this.routerParams.orgCode;
52338
+ this.canEdit = this.routerParams.canEdit;
52339
+ console.log('this.canEdit', this.canEdit);
52340
+ this.getVoteInfo();
52341
+ this.startVote();
52342
+ },
52343
+ // 获取投票主题详情
52344
+ getVoteInfo: function getVoteInfo() {
52345
+ var _this6 = this;
52346
+ this.$http({
52347
+ url: 'hygl/vote/getById?id=' + this.id,
52348
+ method: 'GET',
52349
+ contentType: 'application/x-www-form-urlencoded'
52350
+ }).then(function (res) {
52351
+ _this6.voteInfo = res.body.vo;
52352
+ });
52353
+ },
52354
+ // 开始投票
52355
+ startVote: function startVote() {
52356
+ var _this7 = this;
52357
+ this.$http({
52358
+ method: 'POST',
52359
+ contentType: 'application/x-www-form-urlencoded',
52360
+ url: 'hygl/voteResult/querydata',
52361
+ data: [{
52362
+ compare: '=',
52363
+ field: 'voteId',
52364
+ merge: true,
52365
+ value: this.id
52366
+ }, {
52367
+ compare: '=',
52368
+ field: 'orgCode',
52369
+ merge: true,
52370
+ value: this.orgCode
52371
+ }, {
52372
+ compare: '=',
52373
+ field: 'account',
52374
+ merge: true,
52375
+ value: this.account
52376
+ }]
52377
+ }).then(function (res) {
52378
+ if (res.code === 'success') {
52379
+ _this7.voteResult = res.body.listdata[0];
52380
+ _this7.getByIdFunc();
52381
+ } else {
52382
+ _this7.$toast(res.message);
52383
+ }
52384
+ });
52385
+ },
52386
+ /**
52387
+ * 获取投票主题信息
52388
+ */
52389
+ getByIdFunc: function getByIdFunc() {
52390
+ var _this8 = this;
52391
+ this.$http({
52392
+ method: 'GET',
52393
+ contentType: 'application/x-www-form-urlencoded',
52394
+ url: 'hygl/vote/getById',
52395
+ params: {
52396
+ id: this.id
52397
+ }
52398
+ }).then(function (res) {
52399
+ if (res.code === 'success') {
52400
+ _this8.vo = res.body.vo;
52401
+ if (_this8.voteResult.choiceStatus === 2) {
52402
+ // 已投票,显示统计
52403
+ // this.getQueryThemeVoters()
52404
+ // this.getQuerydataByTheme()
52405
+ _this8.queryCurUserStat();
52406
+ }
52407
+ } else {
52408
+ _this8.$toast(res.message);
52409
+ }
52410
+ });
52411
+ }
52412
+ }
52413
+ });
52414
+ // CONCATENATED MODULE: ./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue?vue&type=script&lang=js&
52415
+ /* harmony default export */ var components_newTouPiaovue_type_script_lang_js_ = (newTouPiaovue_type_script_lang_js_);
52416
+ // EXTERNAL MODULE: ./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue?vue&type=style&index=0&id=dff72a64&prod&scoped=true&lang=scss&
52417
+ var newTouPiaovue_type_style_index_0_id_dff72a64_prod_scoped_true_lang_scss_ = __webpack_require__("ec94");
52418
+
52419
+ // CONCATENATED MODULE: ./packages/ecmoa/hygl/src/mapp/tpgl/components/newTouPiao.vue
52420
+
52421
+
52422
+
52423
+
52424
+
52425
+
52426
+ /* normalize component */
52427
+
52428
+ var newTouPiao_component = normalizeComponent(
52429
+ components_newTouPiaovue_type_script_lang_js_,
52430
+ newTouPiaovue_type_template_id_dff72a64_scoped_true_render,
52431
+ newTouPiaovue_type_template_id_dff72a64_scoped_true_staticRenderFns,
52432
+ false,
52433
+ null,
52434
+ "dff72a64",
52435
+ null
52436
+
52437
+ )
52438
+
52439
+ /* harmony default export */ var newTouPiao = (newTouPiao_component.exports);
51939
52440
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d3ac57a0-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmoa/hygl/src/mapp/taskItem/index.vue?vue&type=template&id=77f09824&scoped=true&
51940
52441
  var taskItemvue_type_template_id_77f09824_scoped_true_render = function render() {
51941
52442
  var _vm = this,
@@ -54279,6 +54780,9 @@ function hygl_toPrimitive(t, r) { if ("object" != hygl_typeof(t) || !t) return t
54279
54780
  // mapp signQR
54280
54781
 
54281
54782
 
54783
+ // mapp vote
54784
+
54785
+
54282
54786
  // mapp taskItem
54283
54787
 
54284
54788
 
@@ -54288,36 +54792,7 @@ function hygl_toPrimitive(t, r) { if ("object" != hygl_typeof(t) || !t) return t
54288
54792
 
54289
54793
  // 以对象的结构保存组件,便于遍历
54290
54794
  var components = {
54291
- HyglIpad: ipad,
54292
- HyglIpadLogin: login,
54293
- HyglIpadFileView: FileView,
54294
- HyglIpadHistoryMettings: historyMettings,
54295
- HyglIpadHyfw: hyfw,
54296
- HyglIpadHyjl: hyjl,
54297
- HyglIpadMettingsDetail: MettingsDetail,
54298
- HyglIpadNowmetting: nowmetting,
54299
- HyglMapp: mapp,
54300
- HyglMappAddyt: addyt,
54301
- HyglMappMeetPeople: meetPeople,
54302
- HyglMappMeetRecord: meetRecord,
54303
- HyglMappMeetSign: meetSign,
54304
- HyglHyAdministration: hyAdministration,
54305
- HyglHyAdministrationComHyyt: hyyt,
54306
- HyglHyAdministrationComHzxx: hzxx,
54307
- HyglHyAdministrationComQdxx: qdxx,
54308
- HyglHyroom: hyroom,
54309
- HyglHySchedule: hySchedule,
54310
- HyglBanner: banner,
54311
- HyglHysp: hysp,
54312
- HyglHytongz: hytongz,
54313
- HyglHytongzDianbd: dianbd,
54314
- HyglHytongzHybaom: hybaom,
54315
- HyglHytongzAddpeople: addpeople,
54316
- HyglSignQR: QRwaiting,
54317
- HyglTaskItem: taskItem,
54318
- HyglWdhy: wdhy,
54319
- HyglWdhySeatSet: seatSet,
54320
- HyglNewTouPiao: HyglNewTouPiao
54795
+ HyglMapp: mapp
54321
54796
  };
54322
54797
  // 定义 install 方法
54323
54798
  var hygl_install = function install(Vue) {