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/lib/eoss-mobile.common.js +19 -10
- package/lib/flow.js +18 -9
- 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/components/Opinion.vue +12 -5
- package/packages/theme-chalk/src/flow.scss +7 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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="
|
|
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
|
-
|
|
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:
|
|
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;
|