eoss-mobiles 0.3.89 → 0.3.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-mobiles",
3
- "version": "0.3.89",
3
+ "version": "0.3.91",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -108,8 +108,7 @@
108
108
  <div class="em-flow-popup-box">
109
109
  <div class="em-flow-popup-box-top">
110
110
  <div></div>
111
- <span>常用意见 </span
112
- ><van-icon name="cross" @click="handleClose" />
111
+ <span>常用意见 </span><van-icon name="cross" @click="handleClose" />
113
112
  </div>
114
113
  <div class="em-flow-popup-box-content">
115
114
  <div
@@ -131,7 +130,12 @@
131
130
  <van-icon
132
131
  name="arrow-left"
133
132
  style="padding: 0px 10px"
134
- @click="addOpinion = false"
133
+ @click="
134
+ () => {
135
+ addOpinion = false;
136
+ showOpinion = true;
137
+ }
138
+ "
135
139
  />新增常用意见<i style="padding: 0px 10px"></i>
136
140
  </div>
137
141
  <div class="add-opinton-center">
@@ -286,10 +290,10 @@ export default {
286
290
  handler(val) {
287
291
  if (this.addOpinion) {
288
292
  this.addOpinion = false;
293
+ this.showOpinion = true;
289
294
  } else if (this.showOpinion) {
290
295
  this.showOpinion = false;
291
296
  this.$emit('click', false);
292
-
293
297
  }
294
298
  },
295
299
  immediate: true,
@@ -377,10 +381,12 @@ export default {
377
381
  },
378
382
  handleClickAddOpinion() {
379
383
  const _that = this;
384
+
380
385
  request({
381
386
  url: _that.baseUrl ? _that.baseUrl + addCommonOpion : addCommonOpion
382
387
  }).then((res) => {
383
388
  if (res.status == 'success') {
389
+ _that.showOpinion = false;
384
390
  _that.bean = res.data.bean;
385
391
  _that.addOpinion = true;
386
392
  }
@@ -421,7 +427,8 @@ export default {
421
427
  _that.$toast('添加成功');
422
428
  _that.addOpinionContent = '';
423
429
  _that.getOpinionList();
424
- this.addOpinion = false;
430
+ _that.addOpinion = false;
431
+ _that.showOpinion = true;
425
432
  } else {
426
433
  _that.$toast(res.message || '添加失败');
427
434
  }
@@ -61,8 +61,14 @@
61
61
  background-color: #F7F7F7;
62
62
  display: flex;
63
63
  flex-direction: column;
64
- z-index: 9999;
64
+ z-index: 999;
65
65
  padding:0px 10px;
66
+ .van-overlay{
67
+ z-index:10001 !important;
68
+ .van-dialog{
69
+ z-index:10002 !important;
70
+ }
71
+ }
66
72
  .add-opinton-center{
67
73
  flex: 1;
68
74
  overflow-y: auto;
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.3.89',
108
+ version: '0.3.91',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,