|
@@ -51,7 +51,7 @@
|
|
|
@click="handleBindAi(scope.row)"
|
|
@click="handleBindAi(scope.row)"
|
|
|
>绑定AI客服</el-button>
|
|
>绑定AI客服</el-button>
|
|
|
|
|
|
|
|
- <el-button
|
|
|
|
|
|
|
+<!-- <el-button
|
|
|
style="margin-top: 2%"
|
|
style="margin-top: 2%"
|
|
|
v-if="scope.row.corpName!=null"
|
|
v-if="scope.row.corpName!=null"
|
|
|
size="mini"
|
|
size="mini"
|
|
@@ -59,7 +59,7 @@
|
|
|
plain
|
|
plain
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleRelieveAi(scope.row)"
|
|
@click="handleRelieveAi(scope.row)"
|
|
|
- >解绑</el-button>
|
|
|
|
|
|
|
+ >解绑</el-button>-->
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -120,7 +120,8 @@ export default {
|
|
|
kfId: null,
|
|
kfId: null,
|
|
|
kfUrl: null,
|
|
kfUrl: null,
|
|
|
avatar: null,
|
|
avatar: null,
|
|
|
- kfMediaId: null
|
|
|
|
|
|
|
+ kfMediaId: null,
|
|
|
|
|
+ bindCorpId: null,
|
|
|
},
|
|
},
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
form: {},
|
|
form: {},
|
|
@@ -146,6 +147,7 @@ export default {
|
|
|
/** 查询应用列表 */
|
|
/** 查询应用列表 */
|
|
|
getList() {
|
|
getList() {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
|
+ this.queryParams.bindCorpId = this.corpId;
|
|
|
listFastGptRole(this.queryParams).then(response => {
|
|
listFastGptRole(this.queryParams).then(response => {
|
|
|
this.fastGptRoleList = response.rows;
|
|
this.fastGptRoleList = response.rows;
|
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
@@ -226,6 +228,9 @@ export default {
|
|
|
handleBindAiData(val){
|
|
handleBindAiData(val){
|
|
|
this.qwUserId=val.id;
|
|
this.qwUserId=val.id;
|
|
|
this.corpId=val.corpId;
|
|
this.corpId=val.corpId;
|
|
|
|
|
+ this.queryParams.bindCorpId = val.corpId;
|
|
|
|
|
+ // 设置完数据后主动查询
|
|
|
|
|
+ this.getList();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|