新增跳转授权
This commit is contained in:
parent
09ebdea2f9
commit
39b10060f0
|
|
@ -196,6 +196,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="getTokenSubmit">确 定</el-button>
|
<el-button type="primary" @click="getTokenSubmit">确 定</el-button>
|
||||||
|
<el-button type="primary" @click="getTokenUrl" size="mini">去授权</el-button>
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div slot="footer" class="dialog-footer">-->
|
<!-- <div slot="footer" class="dialog-footer">-->
|
||||||
|
|
@ -296,6 +297,10 @@ export default {
|
||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
|
getTokenUrl(){
|
||||||
|
console.log("手动跳转授权")
|
||||||
|
window.location.href = this.tokenForm.url
|
||||||
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue