|
@@ -453,9 +453,37 @@ a {
|
|
role.roleCode == 'touTiaoOperationManager')
|
|
role.roleCode == 'touTiaoOperationManager')
|
|
"
|
|
"
|
|
:disabled="checkArr.length == 0"
|
|
:disabled="checkArr.length == 0"
|
|
|
|
+ @click="tongbu('3')"
|
|
|
|
+ >一键同步头条内广</a-button
|
|
|
|
+ >
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="
|
|
|
|
+ queryParam.productId &&
|
|
|
|
+ active == '1' &&
|
|
|
|
+ (role.roleCode == 'operator' ||
|
|
|
|
+ role.roleCode == 'kuaishouOperationManager' ||
|
|
|
|
+ role.roleCode == 'admin' ||
|
|
|
|
+ role.roleCode == 'operationAssistant' ||
|
|
|
|
+ role.roleCode == 'touTiaoOperationManager')
|
|
|
|
+ "
|
|
|
|
+ :disabled="checkArr.length == 0"
|
|
@click="tongbu('2')"
|
|
@click="tongbu('2')"
|
|
>一键同步快手</a-button
|
|
>一键同步快手</a-button
|
|
>
|
|
>
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="
|
|
|
|
+ queryParam.productId &&
|
|
|
|
+ active == '1' &&
|
|
|
|
+ (role.roleCode == 'operator' ||
|
|
|
|
+ role.roleCode == 'kuaishouOperationManager' ||
|
|
|
|
+ role.roleCode == 'admin' ||
|
|
|
|
+ role.roleCode == 'operationAssistant' ||
|
|
|
|
+ role.roleCode == 'touTiaoOperationManager')
|
|
|
|
+ "
|
|
|
|
+ :disabled="checkArr.length == 0"
|
|
|
|
+ @click="tongbu('4')"
|
|
|
|
+ >一键同步快手内广</a-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a-tabs @change="callbackTwo" v-model="active" type="card" id="material-card">
|
|
<a-tabs @change="callbackTwo" v-model="active" type="card" id="material-card">
|
|
@@ -1967,6 +1995,7 @@ export default {
|
|
'queryParam.productId': function (n, o) {
|
|
'queryParam.productId': function (n, o) {
|
|
if (n != '') {
|
|
if (n != '') {
|
|
this.getList(n)
|
|
this.getList(n)
|
|
|
|
+ this.checkArr = []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
visibleDetail: function (n, o) {
|
|
visibleDetail: function (n, o) {
|
|
@@ -2204,17 +2233,23 @@ export default {
|
|
},
|
|
},
|
|
moment,
|
|
moment,
|
|
tongbu(value) {
|
|
tongbu(value) {
|
|
|
|
+ this.mediaId = value
|
|
// getAction('/ctop/project/queryById', { id: this.queryParam.projectId }).then((res) => {
|
|
// getAction('/ctop/project/queryById', { id: this.queryParam.projectId }).then((res) => {
|
|
// console.log(res)
|
|
// console.log(res)
|
|
// if (res.success) {
|
|
// if (res.success) {
|
|
if (value == '1' || value == '3') {
|
|
if (value == '1' || value == '3') {
|
|
- this.$refs.check.getData('/ctop/projectMember/participateListV2', {
|
|
|
|
|
|
+ this.$refs.check.getData('/ctop/userAllocation/getAccountListByUserIdAndProductId', {
|
|
userId: this.userInfo().id,
|
|
userId: this.userInfo().id,
|
|
- pageNo:1,
|
|
|
|
- pageSize:100
|
|
|
|
|
|
+ productId: this.queryParam.productId,
|
|
|
|
+ mediaId: value,
|
|
})
|
|
})
|
|
} else if (value == '2' || value == '4') {
|
|
} else if (value == '2' || value == '4') {
|
|
- this.$refs.accountCheckBytedance.getParticipateList(this.queryParam.projectId)
|
|
|
|
|
|
+ this.$refs.accountCheckBytedance.getParticipateList(this.queryParam.productId)
|
|
|
|
+ // this.$refs.check.getData('/ctop/userAllocation/getAccountListByUserIdAndProductId', {
|
|
|
|
+ // userId: this.userInfo().id,
|
|
|
|
+ // productId: this.queryParam.productId,
|
|
|
|
+ // mediaId: value,
|
|
|
|
+ // })
|
|
}
|
|
}
|
|
// } else {
|
|
// } else {
|
|
// this.$message.error('网络波动,请稍后再试')
|
|
// this.$message.error('网络波动,请稍后再试')
|