|
@@ -260,10 +260,10 @@
|
260
|
260
|
|
261
|
261
|
|
262
|
262
|
<div class="button_box">
|
263
|
|
- <button class="button" v-if="editFlag" @click="massMsg_set">确定</button>
|
|
263
|
+ <button class="button" v-if="editFlag && !isDisabledAll" @click="massMsg_set">确定</button>
|
264
|
264
|
</div>
|
265
|
265
|
|
266
|
|
- <div v-if="false" class="disabled-wrap" @click.stop="onClickDisabled" />
|
|
266
|
+ <div v-if="isDisabledAll" class="disabled-wrap" @click.stop="onClickDisabled" />
|
267
|
267
|
</div>
|
268
|
268
|
</div>
|
269
|
269
|
</template>
|
|
@@ -297,6 +297,7 @@ export default {
|
297
|
297
|
},
|
298
|
298
|
data () {
|
299
|
299
|
return {
|
|
300
|
+ isDisabledAll: false,
|
300
|
301
|
loading: true,
|
301
|
302
|
editFlag: true,
|
302
|
303
|
name: '',//群发标题
|
|
@@ -491,9 +492,6 @@ export default {
|
491
|
492
|
this.invite_time_list = ['']
|
492
|
493
|
}
|
493
|
494
|
|
494
|
|
- this.continuously_attract_groups = res.rst.continuously_attract_groups;
|
495
|
|
- this.upper_limit = res.rst.continuously_attract_groups == 1 ? res.rst.upper_limit : ''
|
496
|
|
-
|
497
|
495
|
//群聊
|
498
|
496
|
this.main_msg_data.chat_group_config = res.rst.invite_config
|
499
|
497
|
this.main_msg_data.chat_group_config.forEach(item=>{
|
|
@@ -505,6 +503,16 @@ export default {
|
505
|
503
|
//拉群模式
|
506
|
504
|
this.main_msg_data.owner_type = res.rst.owner_type
|
507
|
505
|
|
|
506
|
+ // 客户续拉任务
|
|
507
|
+ this.continuously_attract_groups = res.rst.continuously_attract_groups;
|
|
508
|
+ this.upper_limit = res.rst.continuously_attract_groups == 1 ? res.rst.upper_limit : ''
|
|
509
|
+ // 当前任务是“客户续拉任务” => 不可编辑
|
|
510
|
+ if (res.rst.continuously_attract_groups == 1) {
|
|
511
|
+ this.isDisabledAll = true
|
|
512
|
+ } else {
|
|
513
|
+ this.isDisabledAll = false
|
|
514
|
+ }
|
|
515
|
+
|
508
|
516
|
//表格排序
|
509
|
517
|
this.$nextTick(() => {
|
510
|
518
|
if(this.main_msg_data.is_limit){
|
|
@@ -931,7 +939,7 @@ export default {
|
931
|
939
|
bottom: 0;
|
932
|
940
|
left: 0;
|
933
|
941
|
right: 0;
|
934
|
|
- background-color: rgba(0, 0, 0, 0.45);
|
|
942
|
+ // background-color: rgba(0, 0, 0, 0.45);
|
935
|
943
|
cursor: not-allowed;
|
936
|
944
|
z-index: 999;
|
937
|
945
|
}
|