Commit 9250f69b by zenghuan

报文疑似重复、报文失败

parent 26e6c5ad
import Utils from "~/utils"
/**
* Msgrsm Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Msgrsm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
export default {
"msggrp.mpe.txt":[
{type: "string", required: true, message: "必输项"},
{max: 600,message:"长度不能超过600"}
],
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Msgsep Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Msgsep Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onMdtmodTnsbtn(){
let rtnmsg = await this.executeRule("mdtmod.tnsbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdtmodOrgmsg(){
let rtnmsg = await this.executeRule("mdtmod.orgmsg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdtmodExpmsg(){
let rtnmsg = await this.executeRule("mdtmod.expmsg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdtmodShwcipsdtl(){
let rtnmsg = await this.executeRule("mdtmod.shwcipsdtl")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeppSndagn(){
let rtnmsg = await this.executeRule("sepp.sndagn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeppDrp(){
let rtnmsg = await this.executeRule("sepp.drp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeppRtn(){
let rtnmsg = await this.executeRule("sepp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"msggrp.mpe.txt":[
{type: "string", required: true, message: "必输项"},
{max: 600,message:"长度不能超过600"}
],
}
\ No newline at end of file
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