|
@@ -512,6 +512,19 @@
|
|
<el-dialog :title="info.title" :visible.sync="info.open" width="1100px" append-to-body>
|
|
<el-dialog :title="info.title" :visible.sync="info.open" width="1100px" append-to-body>
|
|
<info ref="Details" />
|
|
<info ref="Details" />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog :title="repeatDialog.title" :visible.sync="repeatDialog.visible" width="70%" append-to-body>
|
|
|
|
+ <el-table v-loading="repeatDialog.loading" :data="repeatDialog.data" border>
|
|
|
|
+ <el-table-column label="所属公司ID" prop="companyId" align="center" />
|
|
|
|
+ <el-table-column label="公司名称" prop="companyName" align="center" />
|
|
|
|
+ <el-table-column label="销售ID" prop="companyUserId" align="center" />
|
|
|
|
+ <el-table-column label="销售名称" prop="companyUserName" align="center" />
|
|
|
|
+ <el-table-column label="销售微信号" prop="saleerWx" align="center" />
|
|
|
|
+ </el-table>
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
|
+ <el-button @click="repeatDialog.visible = false">关 闭</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -541,6 +554,7 @@ import SopDialog from '@/views/course/sop/SopDialog.vue'
|
|
import selectUser from "@/views/qw/externalContact/selectUser.vue";
|
|
import selectUser from "@/views/qw/externalContact/selectUser.vue";
|
|
import info from "@/views/qw/externalContact/info.vue";
|
|
import info from "@/views/qw/externalContact/info.vue";
|
|
import { editTalk } from "@/api/qw/externalContactInfo";
|
|
import { editTalk } from "@/api/qw/externalContactInfo";
|
|
|
|
+import {getQwRepeatData} from "@/api/user/fsUser";
|
|
export default {
|
|
export default {
|
|
name: "ExternalContact",
|
|
name: "ExternalContact",
|
|
components:{mycustomer,customerDetails,SopDialog,selectUser,info},
|
|
components:{mycustomer,customerDetails,SopDialog,selectUser,info},
|
|
@@ -674,6 +688,12 @@ export default {
|
|
statusOptions:[],
|
|
statusOptions:[],
|
|
// 表单校验
|
|
// 表单校验
|
|
rules: {
|
|
rules: {
|
|
|
|
+ },
|
|
|
|
+ repeatDialog: {
|
|
|
|
+ visible: false,
|
|
|
|
+ loading: false,
|
|
|
|
+ title: "查看重粉数据",
|
|
|
|
+ data: []
|
|
}
|
|
}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -718,7 +738,27 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 查看重粉
|
|
// 查看重粉
|
|
handleViewRepeat(row){
|
|
handleViewRepeat(row){
|
|
|
|
+ this.repeatDialog.data = [];
|
|
|
|
+ this.repeatDialog.visible = true;
|
|
|
|
+ this.repeatDialog.loading = true;
|
|
|
|
|
|
|
|
+ const params = {
|
|
|
|
+ externalUserID: row.externalUserId,
|
|
|
|
+ corpId: row.corpId
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ getQwRepeatData(params).then(response => {
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
+ this.repeatDialog.data = response.data || [];
|
|
|
|
+ } else {
|
|
|
|
+ this.msgError(response.msg || "获取重粉数据失败");
|
|
|
|
+ }
|
|
|
|
+ this.repeatDialog.loading = false;
|
|
|
|
+ }).catch(error => {
|
|
|
|
+ console.error("Error fetching repeat follower data:", error);
|
|
|
|
+ this.msgError("请求重粉数据接口失败");
|
|
|
|
+ this.repeatDialog.loading = false;
|
|
|
|
+ });
|
|
},
|
|
},
|
|
updateCorpId(){
|
|
updateCorpId(){
|
|
var listTagFrom={corpId:this.queryParams.corpId}
|
|
var listTagFrom={corpId:this.queryParams.corpId}
|