|
@@ -1279,7 +1279,7 @@
|
|
|
:wrapper-col="wrapperCol"
|
|
|
label=""
|
|
|
>
|
|
|
- <div style="width: 500px;">
|
|
|
+ <div style="width: 430px;">
|
|
|
<template v-if="item.name === defaultSolganTitle">
|
|
|
<a-input
|
|
|
v-decorator="[
|
|
@@ -2038,9 +2038,12 @@ export default {
|
|
|
this.loadData();
|
|
|
}
|
|
|
},
|
|
|
- 'queryParam.productId'(n, o) {
|
|
|
- if (n !== '') {
|
|
|
+ 'queryParam.productId': function (n, o) {
|
|
|
+ if (n != '') {
|
|
|
this.getList(n);
|
|
|
+ this.checkArr = [];
|
|
|
+ this.$refs.selectTableProject.keyValue = '';
|
|
|
+ this.$refs.selectTableProject.getData(n);
|
|
|
}
|
|
|
},
|
|
|
visibleDetail(n, o) {
|
|
@@ -2082,6 +2085,7 @@ export default {
|
|
|
...mapGetters(['nickname', 'avatar', 'userInfo']),
|
|
|
handleBudgetCancel() {
|
|
|
this.defaultSolganTitle = 'test';
|
|
|
+ this.defaultSolganStatus = 'input';
|
|
|
this.visibleDetail = false;
|
|
|
},
|
|
|
// 获取设计人员
|
|
@@ -2095,6 +2099,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
handleSubmit() {
|
|
|
+ if (!this.queryParam.productId) {
|
|
|
+ this.$refs.selectTableProject.keyValue = '';
|
|
|
+ this.$refs.selectTableProject.getData();
|
|
|
+ }
|
|
|
this.searchQuery();
|
|
|
this.checkArr = [];
|
|
|
},
|
|
@@ -2998,28 +3006,12 @@ export default {
|
|
|
},
|
|
|
moment,
|
|
|
tongbu(value) {
|
|
|
- // getAction('/ctop/project/queryById', {id: this.queryParam.projectId}).then(res => {
|
|
|
- // if (res.success) {
|
|
|
- // if (res.result.mediaId === '1' || res.result.mediaId === '3') {
|
|
|
- // this.$refs.check.getData('/ctop/userAllocation/getAccountListByProjectId', {
|
|
|
- // userId: this.userInfo().id,
|
|
|
- // projectId: this.queryParam.projectId
|
|
|
- // });
|
|
|
- // }
|
|
|
- // else if (res.result.mediaId === '2' || res.result.mediaId === '4') {
|
|
|
- // this.$refs.accountCheckBytedance.getParticipateList(this.queryParam.projectId);
|
|
|
- // }
|
|
|
- // }
|
|
|
- // else {
|
|
|
- // this.$message.error('网络波动,请稍后再试');
|
|
|
- // }
|
|
|
- // });
|
|
|
- this.mediaId = value
|
|
|
+ this.mediaId = value;
|
|
|
this.$refs.check.getData('/ctop/userAllocation/getAccountListByUserIdAndProductId', {
|
|
|
userId: this.userInfo().id,
|
|
|
productId: this.queryParam.productId,
|
|
|
- mediaId: value,
|
|
|
- })
|
|
|
+ mediaId: value
|
|
|
+ });
|
|
|
},
|
|
|
implement(data) {
|
|
|
let params = {};
|
|
@@ -3104,24 +3096,16 @@ export default {
|
|
|
userId: this.userInfo().id,
|
|
|
status: this.active,
|
|
|
productId: ''
|
|
|
- }
|
|
|
- this.$refs.selectTable.keyValue = "";
|
|
|
- this.$refs.selectTable.getData()
|
|
|
+ };
|
|
|
+ this.$refs.selectTable.keyValue = '';
|
|
|
+ this.$refs.selectTable.getData();
|
|
|
+ this.$refs.selectTableProject.keyValue = '';
|
|
|
+ this.$refs.selectTableProject.getData();
|
|
|
this.labelValue = [];
|
|
|
this.loadData(1);
|
|
|
this.checkArr = [];
|
|
|
},
|
|
|
getList(value) {
|
|
|
- // if (value) {
|
|
|
- // getAction('/ctop/projectMember/participateListV2', {
|
|
|
- // userId: this.userInfo().id,
|
|
|
- // projectId: value
|
|
|
- // }).then(res => {
|
|
|
- // if (res.code === 0) {
|
|
|
- // this.mediaId = res.result.records[0].mediaId;
|
|
|
- // };
|
|
|
- // });
|
|
|
- // }
|
|
|
this.loadData();
|
|
|
},
|
|
|
onChangeCheckImage(checkedList) {
|
|
@@ -3452,7 +3436,7 @@ export default {
|
|
|
md5: [],
|
|
|
name: [],
|
|
|
size: []
|
|
|
- }
|
|
|
+ };
|
|
|
this.imageArrList = [];
|
|
|
this.addImageVisible = false;
|
|
|
this.loadingImage = false;
|
|
@@ -3825,7 +3809,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getDataSource(page, pageSize) {
|
|
|
- this.ipagination.current = page
|
|
|
+ this.ipagination.current = page;
|
|
|
this.checkArr = [];
|
|
|
this.checkAll = false;
|
|
|
this.loadData();
|