|
@@ -903,10 +903,8 @@ export default {
|
|
|
// async inpGetAccOrgName(){
|
|
// async inpGetAccOrgName(){
|
|
|
inpGetAccOrgName: _.debounce(async function() {
|
|
inpGetAccOrgName: _.debounce(async function() {
|
|
|
if (this.loginType != 'default' && this.loginType != 'bind') return
|
|
if (this.loginType != 'default' && this.loginType != 'bind') return
|
|
|
-
|
|
|
|
|
- if (!this.account) {
|
|
|
|
|
- this.accOrgName = []
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.org = ''
|
|
|
|
|
+ this.accOrgName = []
|
|
|
this.inpGetAccOrgNameloading = true
|
|
this.inpGetAccOrgNameloading = true
|
|
|
let params = [
|
|
let params = [
|
|
|
{
|
|
{
|
|
@@ -918,7 +916,7 @@ export default {
|
|
|
const res = await this.$ajax.post(API_CONFIG.baseUrl, params);
|
|
const res = await this.$ajax.post(API_CONFIG.baseUrl, params);
|
|
|
|
|
|
|
|
console.log("res", res.data[0]);
|
|
console.log("res", res.data[0]);
|
|
|
- this.accOrgName = []
|
|
|
|
|
|
|
+ // this.accOrgName = []
|
|
|
|
|
|
|
|
let data = res.data[0]
|
|
let data = res.data[0]
|
|
|
|
|
|