上架宣发
This commit is contained in:
@@ -63,10 +63,10 @@
|
|||||||
<ai-title title="宣发效果"></ai-title>
|
<ai-title title="宣发效果"></ai-title>
|
||||||
<div class="right-search">
|
<div class="right-search">
|
||||||
<div class="time-select" :class="effectType == index ? 'active' : ''" v-for="(item, index) in dateTypeList" :key="index" @click="changeEffectType(index)">{{item}}</div>
|
<div class="time-select" :class="effectType == index ? 'active' : ''" v-for="(item, index) in dateTypeList" :key="index" @click="changeEffectType(index)">{{item}}</div>
|
||||||
<ai-picker :instance="instance" v-model="deptList" @change="getEffect" dialogTitle="选择部门">
|
<ai-picker :instance="instance" @pick="e => onUserChange(e)" :multiple="false" dialogTitle="选择部门" action="/app/wxcp/wxdepartment/departList">
|
||||||
<div class="time-select">
|
<div class="time-select">
|
||||||
<span class="dept-name" style="color:#999;" v-if="deptList && !deptList.length">宣发部门</span>
|
<span class="dept-name" style="color:#999;" v-if="deptList && !deptList.length">宣发部门</span>
|
||||||
<ai-open-data class="dept-name" type="departmentName" :openid="deptList[0]" v-else/>
|
<ai-open-data class="dept-name" type="departmentName" :openid="deptList[0].id" v-else/>
|
||||||
<i class="el-icon-arrow-down"></i>
|
<i class="el-icon-arrow-down"></i>
|
||||||
</div>
|
</div>
|
||||||
</ai-picker>
|
</ai-picker>
|
||||||
@@ -221,6 +221,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['initOpenData', 'transCanvas']),
|
...mapActions(['initOpenData', 'transCanvas']),
|
||||||
|
onUserChange (e) {
|
||||||
|
this.deptList = e
|
||||||
|
this.getEffect()
|
||||||
|
},
|
||||||
selectDete() {
|
selectDete() {
|
||||||
if(!this.timeList || !this.timeList.length) {
|
if(!this.timeList || !this.timeList.length) {
|
||||||
return this.$message.error('请选择自定义时间');
|
return this.$message.error('请选择自定义时间');
|
||||||
|
|||||||
Reference in New Issue
Block a user