Commit 9fd7077a by jianglong

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

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