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
fukai
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"
...
@@ -2,127 +2,104 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils/index"
import
Utils
from
"~/utils/index"
export
default
{
export
default
{
async
onDetpButgetref
(){
async
onDetpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"detp.butgetref"
)
let
rtnmsg
=
await
this
.
executeRule
(
"detp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
dedgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
dedgrp_rec_ownref
;
this
.
model
.
dedgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
dedgrp_rec_ownref
;
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
'获取成功!'
message
:
'获取成功!'
});
});
}
else
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
}
{
},
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
onSeainf
()
{},
}
onExtkey
()
{},
},
mytypeChange
()
{},
async
onBenpDet
(){
avbbykeyEvent
()
{},
let
rtnmsg
=
await
this
.
executeRule
(
"benp.det"
)
recTratypChange
()
{},
if
(
rtnmsg
.
respCode
==
SUCCESS
)
async
onBenpDet
()
{
{
let
rtnmsg
=
await
this
.
executeRule
(
"benp.det"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onAplpDet
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
async
onAplpDet
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onLcrdftatButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdftat.buttxmsel"
)
async
onLcrdftatButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdftat.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onPreperButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"preper.buttxmsel"
)
async
onPreperButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"preper.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onLcrgodButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod.buttxmsel"
)
async
onLcrgodButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onLcrdocButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc.buttxmsel"
)
async
onLcrdocButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onAdlcndButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd.buttxmsel"
)
async
onAdlcndButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onInsbnkButtxmsel
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk.buttxmsel"
)
async
onInsbnkButtxmsel
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk.buttxmsel"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onSetmodDet
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
async
onSetmodDet
()
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
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 @@
...
@@ -10,7 +10,7 @@
</c-select>
</c-select>
</el-form-item>
</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%"
>
<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
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
...
@@ -73,7 +73,8 @@
...
@@ -73,7 +73,8 @@
<!--
<!--
<c-col
:span=
"12"
>
<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>
</c-col>
...
@@ -101,7 +102,7 @@ export default {
...
@@ -101,7 +102,7 @@ export default {
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
],
data
(){
data
(){
return
{
return
{
mytypeFlag
:
true
,
}
}
},
},
methods
:{...
Event
},
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