|
@@ -27,6 +27,12 @@ |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
" |
|
|
" |
|
|
> |
|
|
> |
|
|
|
|
|
<div v-if="permissions.rec_index_checkoutSales"> |
|
|
|
|
|
<div @click="showSalesBusiness = true;marketingBusiness=userinformationlist.marketingBusiness" style="display: flex; align-items: center;margin-right: 12px;"> |
|
|
|
|
|
<span style="font-size: 14px; color: #333333; margin-left: 4px" |
|
|
|
|
|
>切换销讲业务</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
<div v-if="rec_index_addJ" @click="Addtodigest()"> |
|
|
<div v-if="rec_index_addJ" @click="Addtodigest()"> |
|
|
<div |
|
|
<div |
|
|
v-if="arr[aplayerId].status == 0" |
|
|
v-if="arr[aplayerId].status == 0" |
|
@@ -1271,6 +1277,40 @@ |
|
|
<el-button type="primary" @click="editSure()">确认</el-button> |
|
|
<el-button type="primary" @click="editSure()">确认</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="更换销讲业务" |
|
|
|
|
|
:visible.sync="showSalesBusiness" |
|
|
|
|
|
center |
|
|
|
|
|
width="600px" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="display: flex;align-items: center;"> |
|
|
|
|
|
<div class="titel-text" style="margin-left: 20px">销讲业务:</div> |
|
|
|
|
|
<el-select |
|
|
|
|
|
class="div-inp" |
|
|
|
|
|
v-model="marketingBusiness" |
|
|
|
|
|
clearable |
|
|
|
|
|
filterable |
|
|
|
|
|
collapse-tags |
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="item in templateList" |
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
:label="item.templateName" |
|
|
|
|
|
:value="item.id" |
|
|
|
|
|
> |
|
|
|
|
|
</el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
<el-button @click="showSalesBusiness = false">取消</el-button> |
|
|
|
|
|
<el-button type="primary" @click="enterSalesBusiness()">确认</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-dialog> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@@ -1288,6 +1328,10 @@ import { saveAs } from "file-saver"; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
showSalesBusiness: false, // 更换销讲业务 |
|
|
|
|
|
templateList: [], // 销讲业务列表 |
|
|
|
|
|
marketingBusiness: '', // 选中的销讲业务 |
|
|
|
|
|
|
|
|
keyWordsList: [], |
|
|
keyWordsList: [], |
|
|
imgArr: [ |
|
|
imgArr: [ |
|
|
"", |
|
|
"", |
|
@@ -1450,6 +1494,39 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 确认切换销讲业务 |
|
|
|
|
|
enterSalesBusiness() { |
|
|
|
|
|
this.$api.http.updateMarketingBusiness({ |
|
|
|
|
|
marketingBusiness: this.marketingBusiness, |
|
|
|
|
|
id: this.fileId, |
|
|
|
|
|
}).then(res=> { |
|
|
|
|
|
console.log(res, 'cnmcm,cxcvnklfdkldflkfdalk') |
|
|
|
|
|
if (res.code == 10000) { |
|
|
|
|
|
this.$message.success(res.message); |
|
|
|
|
|
this.init() |
|
|
|
|
|
this.showSalesBusiness = false |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$message.error(res.message); |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 销讲模板列表 |
|
|
|
|
|
marketingBusinessNoApi() { |
|
|
|
|
|
this.$api.http.marketingBusinessNoApi({ |
|
|
|
|
|
houseId: localStorage.getItem("houseId"), |
|
|
|
|
|
status: 0, // 固定传0 |
|
|
|
|
|
}).then(res => { |
|
|
|
|
|
console.log(res, 'asdklasjdkasljsalkd') |
|
|
|
|
|
if (res.code == 10000) { |
|
|
|
|
|
this.templateList = res.data |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 修改销讲业务模板 |
|
|
|
|
|
updateMarketingBusiness() {}, |
|
|
|
|
|
|
|
|
changeshow1(item) { |
|
|
changeshow1(item) { |
|
|
item.show = !item.show; |
|
|
item.show = !item.show; |
|
|
}, |
|
|
}, |
|
@@ -2137,6 +2214,7 @@ export default { |
|
|
this.findCARKeywords(); |
|
|
this.findCARKeywords(); |
|
|
this.findBannedWordsByCusId(); |
|
|
this.findBannedWordsByCusId(); |
|
|
this.Getsthetransliteratecontent(); |
|
|
this.Getsthetransliteratecontent(); |
|
|
|
|
|
this.marketingBusinessNoApi(); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|