|
|
@ -26,6 +26,7 @@ |
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<div class="table-operator"> |
|
|
|
<div class="table-operator"> |
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
|
|
|
|
|
<a-button @click="fanhui" type="primary" icon="rollback">返回</a-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- table区域-begin --> |
|
|
|
<!-- table区域-begin --> |
|
|
@ -321,6 +322,12 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
fanhui(){ |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
/*返回产品*/ |
|
|
|
|
|
|
|
path: '/src/views/modulex/ModulexList',/*在引号中填写返回vue*/ |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
loginRole(id){ |
|
|
|
loginRole(id){ |
|
|
|
getAction('functionx/functionx/loginrole',{id:id}).then((res)=>{ |
|
|
|
getAction('functionx/functionx/loginrole',{id:id}).then((res)=>{ |
|
|
|
if (res.success) { |
|
|
|
if (res.success) { |
|
|
|