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
ebd3743b
Commit
ebd3743b
authored
Apr 27, 2021
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理页面编译报错
parent
3fa2b201
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
55 deletions
+65
-55
Event.js
src/model/Ditopn/Event.js
+22
-21
Event.js
src/model/Sptsel/Event.js
+6
-5
Event.js
src/model/Trnrel/Event.js
+25
-24
index.vue
src/views/Business/Cptopn/index.vue
+1
-1
index.vue
src/views/Business/Ditame/index.vue
+0
-0
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+0
-2
Setpan.vue
src/views/Business/Ditopn/Setpan.vue
+0
-1
index.vue
src/views/Business/Ditopn/index.vue
+11
-1
index.vue
src/views/Business/Office/index.vue
+0
-0
No files found.
src/model/Ditopn/Event.js
View file @
ebd3743b
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onDitpButgetref
(){
onDitpButgetref
(){
this
.
$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
(
"ditopn/ditp_butgetref"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/ditp_butgetref"
,{
data
:
this
.
model
})
...
@@ -16,7 +17,7 @@ export default {
...
@@ -16,7 +17,7 @@ export default {
})
})
},
},
onAplpDet
(){
onAplpDet
(){
this
.
$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
(
"ditopn/aplp_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/aplp_det"
,{
data
:
this
.
model
})
...
@@ -32,7 +33,7 @@ export default {
...
@@ -32,7 +33,7 @@ export default {
})
})
},
},
onBenpDet
(){
onBenpDet
(){
this
.
$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
(
"ditopn/benp_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/benp_det"
,{
data
:
this
.
model
})
...
@@ -48,7 +49,7 @@ export default {
...
@@ -48,7 +49,7 @@ export default {
})
})
},
},
onRevclauseButtxmsel
(){
onRevclauseButtxmsel
(){
this
.
$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
(
"ditopn/revclause_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/revclause_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -64,7 +65,7 @@ export default {
...
@@ -64,7 +65,7 @@ export default {
})
})
},
},
onLcrgodButtxmsel
(){
onLcrgodButtxmsel
(){
this
.
$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
(
"ditopn/lcrgod_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrgod_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -80,7 +81,7 @@ export default {
...
@@ -80,7 +81,7 @@ export default {
})
})
},
},
onLcrdocButtxmsel
(){
onLcrdocButtxmsel
(){
this
.
$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
(
"ditopn/lcrdoc_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrdoc_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -96,7 +97,7 @@ export default {
...
@@ -96,7 +97,7 @@ export default {
})
})
},
},
onAdlcndButtxmsel
(){
onAdlcndButtxmsel
(){
this
.
$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
(
"ditopn/adlcnd_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/adlcnd_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -112,7 +113,7 @@ export default {
...
@@ -112,7 +113,7 @@ export default {
})
})
},
},
onInsbnkButtxmsel
(){
onInsbnkButtxmsel
(){
this
.
$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
(
"ditopn/insbnk_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/insbnk_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -128,7 +129,7 @@ export default {
...
@@ -128,7 +129,7 @@ export default {
})
})
},
},
onRmbpDet
(){
onRmbpDet
(){
this
.
$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
(
"ditopn/rmbp_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/rmbp_det"
,{
data
:
this
.
model
})
...
@@ -144,7 +145,7 @@ export default {
...
@@ -144,7 +145,7 @@ export default {
})
})
},
},
onDefdetButtxmsel
(){
onDefdetButtxmsel
(){
this
.
$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
(
"ditopn/defdet_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/defdet_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -160,7 +161,7 @@ export default {
...
@@ -160,7 +161,7 @@ export default {
})
})
},
},
onPreperButtxmsel
(){
onPreperButtxmsel
(){
this
.
$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
(
"ditopn/preper_buttxmsel"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/preper_buttxmsel"
,{
data
:
this
.
model
})
...
@@ -176,7 +177,7 @@ export default {
...
@@ -176,7 +177,7 @@ export default {
})
})
},
},
onSetmodDet
(){
onSetmodDet
(){
this
.
$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
(
"ditopn/setmod_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/setmod_det"
,{
data
:
this
.
model
})
...
@@ -192,7 +193,7 @@ export default {
...
@@ -192,7 +193,7 @@ export default {
})
})
},
},
onLiaallButmisamt
(){
onLiaallButmisamt
(){
this
.
$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
(
"ditopn/liaall_butmisamt"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmisamt"
,{
data
:
this
.
model
})
...
@@ -208,7 +209,7 @@ export default {
...
@@ -208,7 +209,7 @@ export default {
})
})
},
},
onLiaallButmissig
(){
onLiaallButmissig
(){
this
.
$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
(
"ditopn/liaall_butmissig"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmissig"
,{
data
:
this
.
model
})
...
@@ -224,7 +225,7 @@ export default {
...
@@ -224,7 +225,7 @@ export default {
})
})
},
},
onWrkpDet
(){
onWrkpDet
(){
this
.
$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
(
"ditopn/wrkp_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/wrkp_det"
,{
data
:
this
.
model
})
...
@@ -240,7 +241,7 @@ export default {
...
@@ -240,7 +241,7 @@ export default {
})
})
},
},
onOthpDet
(){
onOthpDet
(){
this
.
$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
(
"ditopn/othp_det"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/othp_det"
,{
data
:
this
.
model
})
...
@@ -256,7 +257,7 @@ export default {
...
@@ -256,7 +257,7 @@ export default {
})
})
},
},
onLimptsGet1
(){
onLimptsGet1
(){
this
.
$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
(
"ditopn/limpts_get1"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limpts_get1"
,{
data
:
this
.
model
})
...
@@ -272,7 +273,7 @@ export default {
...
@@ -272,7 +273,7 @@ export default {
})
})
},
},
onLimptsGet2
(){
onLimptsGet2
(){
this
.
$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
(
"ditopn/limpts_get2"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limpts_get2"
,{
data
:
this
.
model
})
...
@@ -288,7 +289,7 @@ export default {
...
@@ -288,7 +289,7 @@ export default {
})
})
},
},
onLimmodTrycal
(){
onLimmodTrycal
(){
this
.
$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
(
"ditopn/limmod_trycal"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limmod_trycal"
,{
data
:
this
.
model
})
...
@@ -304,7 +305,7 @@ export default {
...
@@ -304,7 +305,7 @@ export default {
})
})
},
},
onLiaccvAdd
(){
onLiaccvAdd
(){
this
.
$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
(
"ditopn/liaccv_add"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_add"
,{
data
:
this
.
model
})
...
@@ -320,7 +321,7 @@ export default {
...
@@ -320,7 +321,7 @@ export default {
})
})
},
},
onLiaccvDel
(){
onLiaccvDel
(){
this
.
$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
(
"ditopn/liaccv_del"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_del"
,{
data
:
this
.
model
})
...
...
src/model/Sptsel/Event.js
View file @
ebd3743b
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onUsfmodShwflt
(){
onUsfmodShwflt
(){
this
.
$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
})
...
@@ -16,7 +17,7 @@ export default {
...
@@ -16,7 +17,7 @@ export default {
})
})
},
},
onButypt
(){
onButypt
(){
this
.
$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
})
...
@@ -32,7 +33,7 @@ export default {
...
@@ -32,7 +33,7 @@ export default {
})
})
},
},
onDlmft
(){
onDlmft
(){
this
.
$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
})
...
@@ -48,7 +49,7 @@ export default {
...
@@ -48,7 +49,7 @@ export default {
})
})
},
},
onDlaxq
(){
onDlaxq
(){
this
.
$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
})
...
@@ -64,7 +65,7 @@ export default {
...
@@ -64,7 +65,7 @@ export default {
})
})
},
},
onButimg
(){
onButimg
(){
this
.
$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
})
...
...
src/model/Trnrel/Event.js
View file @
ebd3743b
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onSeaown
(){
onSeaown
(){
this
.
$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
})
...
@@ -16,7 +17,7 @@ export default {
...
@@ -16,7 +17,7 @@ export default {
})
})
},
},
onSeajbh
(){
onSeajbh
(){
this
.
$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
})
...
@@ -32,7 +33,7 @@ export default {
...
@@ -32,7 +33,7 @@ export default {
})
})
},
},
onSeactr
(){
onSeactr
(){
this
.
$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
})
...
@@ -48,7 +49,7 @@ export default {
...
@@ -48,7 +49,7 @@ export default {
})
})
},
},
onSearow
(){
onSearow
(){
this
.
$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
})
...
@@ -64,7 +65,7 @@ export default {
...
@@ -64,7 +65,7 @@ export default {
})
})
},
},
onDsp
(){
onDsp
(){
this
.
$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
})
...
@@ -80,7 +81,7 @@ export default {
...
@@ -80,7 +81,7 @@ export default {
})
})
},
},
onImgmodNewimg
(){
onImgmodNewimg
(){
this
.
$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
})
...
@@ -96,7 +97,7 @@ export default {
...
@@ -96,7 +97,7 @@ export default {
})
})
},
},
onImgmodNewhisimg
(){
onImgmodNewhisimg
(){
this
.
$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
})
...
@@ -112,7 +113,7 @@ export default {
...
@@ -112,7 +113,7 @@ export default {
})
})
},
},
onDiaconButdia
(){
onDiaconButdia
(){
this
.
$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
})
...
@@ -128,7 +129,7 @@ export default {
...
@@ -128,7 +129,7 @@ export default {
})
})
},
},
onImgmodHisimg
(){
onImgmodHisimg
(){
this
.
$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
})
...
@@ -144,7 +145,7 @@ export default {
...
@@ -144,7 +145,7 @@ export default {
})
})
},
},
onRelrow
(){
onRelrow
(){
this
.
$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
})
...
@@ -160,7 +161,7 @@ export default {
...
@@ -160,7 +161,7 @@ export default {
})
})
},
},
onPrinte
(){
onPrinte
(){
this
.
$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
})
...
@@ -176,7 +177,7 @@ export default {
...
@@ -176,7 +177,7 @@ export default {
})
})
},
},
onReprow
(){
onReprow
(){
this
.
$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
})
...
@@ -192,7 +193,7 @@ export default {
...
@@ -192,7 +193,7 @@ export default {
})
})
},
},
onRejrow
(){
onRejrow
(){
this
.
$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
})
...
@@ -208,7 +209,7 @@ export default {
...
@@ -208,7 +209,7 @@ export default {
})
})
},
},
onRelcor
(){
onRelcor
(){
this
.
$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
})
...
@@ -224,7 +225,7 @@ export default {
...
@@ -224,7 +225,7 @@ export default {
})
})
},
},
onExi
(){
onExi
(){
this
.
$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
})
...
@@ -240,7 +241,7 @@ export default {
...
@@ -240,7 +241,7 @@ export default {
})
})
},
},
onRecpanDet
(){
onRecpanDet
(){
this
.
$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
})
...
@@ -256,7 +257,7 @@ export default {
...
@@ -256,7 +257,7 @@ export default {
})
})
},
},
onSyswrnButshw
(){
onSyswrnButshw
(){
this
.
$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
})
...
@@ -272,7 +273,7 @@ export default {
...
@@ -272,7 +273,7 @@ export default {
})
})
},
},
onRecpanNotmap
(){
onRecpanNotmap
(){
this
.
$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
})
...
@@ -288,7 +289,7 @@ export default {
...
@@ -288,7 +289,7 @@ export default {
})
})
},
},
onRecpanButspt
(){
onRecpanButspt
(){
this
.
$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
})
...
@@ -304,7 +305,7 @@ export default {
...
@@ -304,7 +305,7 @@ export default {
})
})
},
},
onRecpanInc
(){
onRecpanInc
(){
this
.
$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
})
...
@@ -320,7 +321,7 @@ export default {
...
@@ -320,7 +321,7 @@ export default {
})
})
},
},
onRecpanButord
(){
onRecpanButord
(){
this
.
$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
})
...
@@ -336,7 +337,7 @@ export default {
...
@@ -336,7 +337,7 @@ export default {
})
})
},
},
onImgmod1Image
(){
onImgmod1Image
(){
this
.
$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/imgmod1_image"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod1_image"
,{
data
:
this
.
model
})
...
@@ -352,7 +353,7 @@ export default {
...
@@ -352,7 +353,7 @@ export default {
})
})
},
},
onRecpanIncben
(){
onRecpanIncben
(){
this
.
$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
})
...
@@ -368,7 +369,7 @@ export default {
...
@@ -368,7 +369,7 @@ export default {
})
})
},
},
onInftxtButtxmsel
(){
onInftxtButtxmsel
(){
this
.
$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
})
...
...
src/views/Business/Cptopn/index.vue
View file @
ebd3743b
...
@@ -214,7 +214,7 @@ export default {
...
@@ -214,7 +214,7 @@ export default {
},
},
submitForm
(
formName
)
{
submitForm
(
formName
)
{
console
.
log
(
model
.
cpdgrp
.
rec
.
orcacc
)
console
.
log
(
this
.
model
.
cpdgrp
.
rec
.
orcacc
)
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
// alert('submit!');
// alert('submit!');
...
...
src/views/Business/Ditame/index.vue
View file @
ebd3743b
src/views/Business/Ditopn/Ovwp.vue
View file @
ebd3743b
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
-->
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"参考号"
>
<el-form-item
label=
"参考号"
>
<c-input
v-model=
"model.didgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
<c-input
v-model=
"model.didgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
...
@@ -353,7 +352,6 @@
...
@@ -353,7 +352,6 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/views/Business/Ditopn/Setpan.vue
View file @
ebd3743b
...
@@ -156,7 +156,6 @@
...
@@ -156,7 +156,6 @@
width:100
width:100
>
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"Details"
label=
"Details"
width:50
width:50
...
...
src/views/Business/Ditopn/index.vue
View file @
ebd3743b
...
@@ -147,7 +147,17 @@ export default {
...
@@ -147,7 +147,17 @@ export default {
},
},
methods
:{
methods
:{
tabClick
(){
tabClick
(){
console
.
log
(
"-----------------"
)
console
.
log
(
this
.
$refs
)
console
.
log
(
this
.
$refs
.
modelForm
)
this
.
$refs
.
modelForm
.
validate
(
valid
=>
{
if
(
valid
){
console
.
log
(
1
)
}
else
{
console
.
log
(
0
)
}
})
console
.
log
(
"-----------------"
)
}
}
},
},
created
:
async
function
(){
created
:
async
function
(){
...
...
src/views/Business/Office/index.vue
View file @
ebd3743b
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