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
25a050a9
Commit
25a050a9
authored
May 30, 2022
by
Eivi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detopn添加方法
parent
1b1e6418
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
117 deletions
+96
-117
Event.js
src/model/Detopn/Event.js
+92
-114
Detp2.vue
src/views/Business/Detopn/Detp2.vue
+4
-3
No files found.
src/model/Detopn/Event.js
View file @
25a050a9
...
...
@@ -2,127 +2,104 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils/index"
export
default
{
async
onDetpButgetref
(){
let
rtnmsg
=
await
this
.
executeRule
(
"detp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
dedgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
dedgrp_rec_ownref
;
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onBenpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"benp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
async
onDetpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"detp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
dedgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
dedgrp_rec_ownref
;
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{},
onExtkey
()
{},
mytypeChange
()
{},
avbbykeyEvent
()
{},
recTratypChange
()
{},
async
onBenpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"benp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAplpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrdftatButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdftat.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrdftatButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdftat.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onPreperButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"preper.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onPreperButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"preper.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrgodButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrgodButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrdocButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLcrdocButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAdlcndButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAdlcndButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onInsbnkButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onInsbnkButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/views/Business/Detopn/Detp2.vue
View file @
25a050a9
...
...
@@ -10,7 +10,7 @@
</c-select>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务"
prop=
"dedgrp.rec.
看看评【评【评【
"
>
<el-form-item
label=
"分期装运/提供服务"
prop=
"dedgrp.rec.
fqzytgfw
"
>
<c-select
v-model=
"model.dedgrp.rec.fqzytgfw"
placeholder=
"请选择"
:disabled=
"model.dedgrp.rec.shppar != 'Y'"
style=
"width:100%"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -73,7 +73,8 @@
<!--
<c-col
:span=
"12"
>
<span
v-text=
"model.detp.fenzhu"
data-path=
".detp.fenzhu"
>
</span>
<span
v-text=
"model.detp.fenzhu"
a-path=
".detp.fenzhu"
>
</span>
</c-col>
...
...
@@ -101,7 +102,7 @@ export default {
mixins
:
[
commonProcess
],
data
(){
return
{
mytypeFlag
:
true
,
}
},
methods
:{...
Event
},
...
...
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