Commit 648d82f1 by 闫泽浩

cptato点击事件更改

parent 091f4eb2
......@@ -2,18 +2,22 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAttpGetref(){
let rtnmsg = await this.executeRule("attp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpGetref(){
let rtnmsg = await this.executeRule("attp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSelbut1(){
let rtnmsg = await this.executeRule("attp.selbut1")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -28,7 +28,7 @@
size="small"
type="primary"
:disabled="this.flag"
@click="OnAttpGetref"
@click="onAttpGetref"
>
获取
</c-button>
......
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