Commit 18a7c885 by liuxin

detsel跳转修改

parent 112e655e
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
</div> </div>
<!-- ========================操作菜单================== --> <!-- ========================操作菜单================== -->
<c-col :span="23"> <c-col :span="24">
<el-form-item> <el-form-item>
<el-divider /> <el-divider />
</el-form-item> </el-form-item>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<el-table-column prop="label" align="center"> <el-table-column prop="label" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
@click.native="onNarBtnClick(scope.row.url)" @click="onNarBtnClick(scope.row.url, scope.row.label)"
:label="scope.row.label" :label="scope.row.label"
:disabled="scope.row.disabled" :disabled="scope.row.disabled"
>{{ scope.row.label }}</c-button >{{ scope.row.label }}</c-button
...@@ -39,8 +39,17 @@ export default { ...@@ -39,8 +39,17 @@ export default {
}, },
methods: { methods: {
//各入口按钮请求 //各入口按钮请求
async onNarBtnClick(url) { async onNarBtnClick(url, label) {
let rtnmsg = await this.executeRule("dedgrp.rec.ownref,cfgfil.hotsub7"); 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) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.$router.history.push("/business/" + url); 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