Commit 18a7c885 by liuxin

detsel跳转修改

parent 112e655e
......@@ -347,7 +347,7 @@
</div>
<!-- ========================操作菜单================== -->
<c-col :span="23">
<c-col :span="24">
<el-form-item>
<el-divider />
</el-form-item>
......
......@@ -9,7 +9,7 @@
<el-table-column prop="label" align="center">
<template slot-scope="scope">
<c-button
@click.native="onNarBtnClick(scope.row.url)"
@click="onNarBtnClick(scope.row.url, scope.row.label)"
:label="scope.row.label"
:disabled="scope.row.disabled"
>{{ scope.row.label }}</c-button
......@@ -39,8 +39,17 @@ export default {
},
methods: {
//各入口按钮请求
async onNarBtnClick(url) {
let rtnmsg = await this.executeRule("dedgrp.rec.ownref,cfgfil.hotsub7");
async onNarBtnClick(url, label) {
let key = 0;
for(let i = 1; i <= 11 ; i++){
let temp_label = this.model.cfgfil['subtxt'+i];
if(temp_label == label){
key = i;
break;
}
}
let rtnmsg = await this.executeRule("cfgfil.hotsub"+key);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
this.$router.history.push("/business/" + url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment