Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
39682016
Commit
39682016
authored
May 28, 2021
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充Pts.js
parent
889d424e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
452 additions
and
476 deletions
+452
-476
Pts.js
src/model/Public/Pts.js
+67
-41
Event.js
src/model/Sptsel/Event.js
+69
-75
Event.js
src/model/Trnrel/Event.js
+316
-360
No files found.
src/model/Public/Pts.js
View file @
39682016
export
default
class
Pts
{
export
default
class
Pts
{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
//pts表所需内容
inr
:
''
,
ptyNo
:
''
,
//当事人编号
objtyp
:
''
,
ptyAddrInfoNo
:
''
,
//当事人地址信息编号
objinr
:
''
,
ptyNameAddrInfo
:
''
,
//当事人名称地址信息(界面回显修改/修改后的值)
rol
:
''
,
accNo
:
''
,
//账号
ptainr
:
''
,
ptyCnName
:
''
,
//当事人中文名称
ptyinr
:
''
,
ptyEnName
:
''
,
//当事人英文名称
extkey
:
''
,
ptyCnAddr
:
''
,
//当事人中文地址
adrblk
:
''
,
ptyEnAddr
:
''
,
//当事人英文地址
ref
:
''
,
hvPaybankNo
:
''
,
// 大额支付行号
nam
:
''
,
paySysBankNm
:
''
,
// 大额支付行名(中文)
ownref
:
''
,
addr
:
''
,
// 大额支付银行地址
dftcur
:
''
,
postCd
:
''
,
// 大额支付银行邮编
dftdsp
:
''
,
tel
:
''
,
// 大额支付银行电话
dftact
:
''
,
certificateNo
:
''
,
// 统一社会信用代码
dftfeecur
:
''
,
orgInstCode
:
''
,
// 组织机构代码
dftactptainr
:
''
,
ptyRelateRefNo
:
""
,
//参考号
glggrpflg
:
''
,
//其它(暂定)
extact
:
''
,
pubprvtFlagCd
:
''
,
//公私标识代码
ver
:
''
,
belongInstNo
:
''
,
//所属机构号
issbaninf
:
''
,
withPsbcRelCd
:
''
,
//与我行关系代码
bankno
:
''
,
blstCustFlag
:
''
,
//是否黑名单客户标志
jigomc
:
''
,
//联行名称 电证用
establshTestKeyFlag
:
''
,
//是否建立密押标志
dizhii
:
''
,
//地址 电证用
partInoutCrClrFlag
:
''
,
//是否参与境内外币清算标志
youzbm
:
''
,
//邮编 电证用
swiftNo
:
''
,
//SWIFT编号
dihdig
:
''
,
//电话 电证用
countryRegionCode
:
''
,
//国家地区代码
accnoTypeCode
:
''
,
//账号类型代码
//pts表所需内容
outAccno
:
''
,
//外部账号
// ptyNo: '', //当事人编号
accNoName
:
''
,
//账号名称
// ptyAddrInfoNo: '', //当事人地址信息编号
accNoDesc
:
''
,
//账号描述
// ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
accBankAccnoTypeCode
:
''
,
//账户行账号类型代码
// accNo: '', //账号
currCode
:
''
,
//币种代码
// ptyCnName: '', //当事人中文名称
belongPtyNo
:
''
,
//所属当事人编号
// ptyEnName: '', //当事人英文名称
belongInstName
:
''
,
//所属机构名称
// ptyCnAddr: '', //当事人中文地址
belongInstAddr
:
''
,
//所属机构地址
// ptyEnAddr: '', //当事人英文地址
validFlag
:
''
,
//是否有效标志
// hvPaybankNo:'', // 大额支付行号
// paySysBankNm:'',// 大额支付行名(中文)
// addr:'', // 大额支付银行地址
// postCd:'', // 大额支付银行邮编
// tel:'', // 大额支付银行电话
// certificateNo:'',// 统一社会信用代码
// orgInstCode:'', // 组织机构代码
// ptyRelateRefNo:"",//参考号
// //其它(暂定)
// pubprvtFlagCd: '', //公私标识代码
// belongInstNo: '', //所属机构号
// withPsbcRelCd: '', //与我行关系代码
// blstCustFlag: '', //是否黑名单客户标志
// establshTestKeyFlag: '', //是否建立密押标志
// partInoutCrClrFlag: '', //是否参与境内外币清算标志
// swiftNo: '', //SWIFT编号
// countryRegionCode: '' ,//国家地区代码
// accnoTypeCode: '',//账号类型代码
// outAccno: '',//外部账号
// accNoName: '', //账号名称
// accNoDesc: '',//账号描述
// accBankAccnoTypeCode: '', //账户行账号类型代码
// currCode: '',//币种代码
// belongPtyNo: '', //所属当事人编号
// belongInstName: '',//所属机构名称
// belongInstAddr: '', //所属机构地址
// validFlag: '', //是否有效标志
}
}
}
}
}
\ No newline at end of file
}
\ No newline at end of file
src/model/Sptsel/Event.js
View file @
39682016
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onUsfmodShwflt
(){
onUsfmodShwflt
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/usfmod_shwflt"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/usfmod_shwflt"
,
{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onButypt
()
{
onButypt
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/butypt"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/butypt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onDlmft
()
{
onDlmft
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlmft"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlmft"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onDlaxq
()
{
onDlaxq
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlaxq"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlaxq"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onButimg
()
{
onButimg
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/butimg"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/butimg"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
tabClick
()
{
},
}
}
\ No newline at end of file
src/model/Trnrel/Event.js
View file @
39682016
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onSeaown
(){
onSeaown
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seaown"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seaown"
,
{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSeajbh
()
{
onSeajbh
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seajbh"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seajbh"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSeactr
()
{
onSeactr
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seactr"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seactr"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSearow
()
{
onSearow
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onDsp
()
{
onDsp
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onImgmodNewimg
()
{
onImgmodNewimg
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newimg"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newimg"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onImgmodNewhisimg
()
{
onImgmodNewhisimg
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newhisimg"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newhisimg"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onDiaconButdia
()
{
onDiaconButdia
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/diacon_butdia"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/diacon_butdia"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onImgmodHisimg
()
{
onImgmodHisimg
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_hisimg"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_hisimg"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRelrow
()
{
onRelrow
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onPrinte
()
{
onPrinte
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/printe"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/printe"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onReprow
()
{
onReprow
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRejrow
()
{
onRejrow
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRelcor
()
{
onRelcor
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relcor"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relcor"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onExi
()
{
onExi
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanDet
()
{
onRecpanDet
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSyswrnButshw
()
{
onSyswrnButshw
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/syswrn_butshw"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/syswrn_butshw"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanNotmap
()
{
onRecpanNotmap
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_notmap"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_notmap"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanButspt
()
{
onRecpanButspt
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanInc
()
{
onRecpanInc
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanButord
()
{
onRecpanButord
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onImgmodImage
()
{
onImgmodImage
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_image"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_image"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRecpanIncben
()
{
onRecpanIncben
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incben"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incben"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onInftxtButtxmsel
()
{
onInftxtButtxmsel
(){
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/inftxt_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/inftxt_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSeainf
()
{
},
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment