新增跳转授权
This commit is contained in:
parent
09ebdea2f9
commit
39b10060f0
|
|
@ -111,14 +111,14 @@
|
||||||
v-hasPermi="['shop:shop:remove']"
|
v-hasPermi="['shop:shop:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.type===100 || scope.row.type===200 || scope.row.type===280 || scope.row.type===300"
|
v-if="scope.row.type===100 || scope.row.type===200 || scope.row.type===280 || scope.row.type===300"
|
||||||
type="success"
|
type="success"
|
||||||
plain
|
plain
|
||||||
icon="el-icon-refresh"
|
icon="el-icon-refresh"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleUpdateToken(scope.row)"
|
@click="handleUpdateToken(scope.row)"
|
||||||
>更新AccessToken</el-button>
|
>更新AccessToken</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -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