Commit 9fd7077a by jianglong

LITACP, LITDCK, LITDLA, LITROG添加快照功能

parent 153f3dea
......@@ -164,17 +164,15 @@ export default {
created:async function(){
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -145,17 +145,15 @@ export default {
created:async function(){
console.log("进入litdck交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{ //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -219,17 +219,15 @@ export default {
created:async function(){
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -83,7 +83,6 @@
>
</c-grid-ety-prompt-dialog>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -160,17 +159,15 @@ export default {
created:async function(){
console.log("进入litrog交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
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