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
{
onDitpButgetref
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/ditp_butgetref"
,{
data
:
this
.
model
})
...
...
@@ -16,7 +17,7 @@ export default {
})
},
onAplpDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/aplp_det"
,{
data
:
this
.
model
})
...
...
@@ -32,7 +33,7 @@ export default {
})
},
onBenpDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/benp_det"
,{
data
:
this
.
model
})
...
...
@@ -48,7 +49,7 @@ export default {
})
},
onRevclauseButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/revclause_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -64,7 +65,7 @@ export default {
})
},
onLcrgodButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrgod_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -80,7 +81,7 @@ export default {
})
},
onLcrdocButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrdoc_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -96,7 +97,7 @@ export default {
})
},
onAdlcndButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/adlcnd_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -112,7 +113,7 @@ export default {
})
},
onInsbnkButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/insbnk_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -128,7 +129,7 @@ export default {
})
},
onRmbpDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/rmbp_det"
,{
data
:
this
.
model
})
...
...
@@ -144,7 +145,7 @@ export default {
})
},
onDefdetButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/defdet_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -160,7 +161,7 @@ export default {
})
},
onPreperButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/preper_buttxmsel"
,{
data
:
this
.
model
})
...
...
@@ -176,7 +177,7 @@ export default {
})
},
onSetmodDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/setmod_det"
,{
data
:
this
.
model
})
...
...
@@ -192,7 +193,7 @@ export default {
})
},
onLiaallButmisamt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmisamt"
,{
data
:
this
.
model
})
...
...
@@ -208,7 +209,7 @@ export default {
})
},
onLiaallButmissig
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmissig"
,{
data
:
this
.
model
})
...
...
@@ -224,7 +225,7 @@ export default {
})
},
onWrkpDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/wrkp_det"
,{
data
:
this
.
model
})
...
...
@@ -240,7 +241,7 @@ export default {
})
},
onOthpDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/othp_det"
,{
data
:
this
.
model
})
...
...
@@ -256,7 +257,7 @@ export default {
})
},
onLimptsGet1
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limpts_get1"
,{
data
:
this
.
model
})
...
...
@@ -272,7 +273,7 @@ export default {
})
},
onLimptsGet2
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limpts_get2"
,{
data
:
this
.
model
})
...
...
@@ -288,7 +289,7 @@ export default {
})
},
onLimmodTrycal
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/limmod_trycal"
,{
data
:
this
.
model
})
...
...
@@ -304,7 +305,7 @@ export default {
})
},
onLiaccvAdd
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_add"
,{
data
:
this
.
model
})
...
...
@@ -320,7 +321,7 @@ export default {
})
},
onLiaccvDel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
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
{
onUsfmodShwflt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/usfmod_shwflt"
,{
data
:
this
.
model
})
...
...
@@ -16,7 +17,7 @@ export default {
})
},
onButypt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/butypt"
,{
data
:
this
.
model
})
...
...
@@ -32,7 +33,7 @@ export default {
})
},
onDlmft
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlmft"
,{
data
:
this
.
model
})
...
...
@@ -48,7 +49,7 @@ export default {
})
},
onDlaxq
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"sptsel/dlaxq"
,{
data
:
this
.
model
})
...
...
@@ -64,7 +65,7 @@ export default {
})
},
onButimg
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
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
{
onSeaown
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seaown"
,{
data
:
this
.
model
})
...
...
@@ -16,7 +17,7 @@ export default {
})
},
onSeajbh
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seajbh"
,{
data
:
this
.
model
})
...
...
@@ -32,7 +33,7 @@ export default {
})
},
onSeactr
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seactr"
,{
data
:
this
.
model
})
...
...
@@ -48,7 +49,7 @@ export default {
})
},
onSearow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,{
data
:
this
.
model
})
...
...
@@ -64,7 +65,7 @@ export default {
})
},
onDsp
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,{
data
:
this
.
model
})
...
...
@@ -80,7 +81,7 @@ export default {
})
},
onImgmodNewimg
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newimg"
,{
data
:
this
.
model
})
...
...
@@ -96,7 +97,7 @@ export default {
})
},
onImgmodNewhisimg
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_newhisimg"
,{
data
:
this
.
model
})
...
...
@@ -112,7 +113,7 @@ export default {
})
},
onDiaconButdia
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/diacon_butdia"
,{
data
:
this
.
model
})
...
...
@@ -128,7 +129,7 @@ export default {
})
},
onImgmodHisimg
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod_hisimg"
,{
data
:
this
.
model
})
...
...
@@ -144,7 +145,7 @@ export default {
})
},
onRelrow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,{
data
:
this
.
model
})
...
...
@@ -160,7 +161,7 @@ export default {
})
},
onPrinte
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/printe"
,{
data
:
this
.
model
})
...
...
@@ -176,7 +177,7 @@ export default {
})
},
onReprow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,{
data
:
this
.
model
})
...
...
@@ -192,7 +193,7 @@ export default {
})
},
onRejrow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,{
data
:
this
.
model
})
...
...
@@ -208,7 +209,7 @@ export default {
})
},
onRelcor
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relcor"
,{
data
:
this
.
model
})
...
...
@@ -224,7 +225,7 @@ export default {
})
},
onExi
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,{
data
:
this
.
model
})
...
...
@@ -240,7 +241,7 @@ export default {
})
},
onRecpanDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,{
data
:
this
.
model
})
...
...
@@ -256,7 +257,7 @@ export default {
})
},
onSyswrnButshw
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/syswrn_butshw"
,{
data
:
this
.
model
})
...
...
@@ -272,7 +273,7 @@ export default {
})
},
onRecpanNotmap
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_notmap"
,{
data
:
this
.
model
})
...
...
@@ -288,7 +289,7 @@ export default {
})
},
onRecpanButspt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,{
data
:
this
.
model
})
...
...
@@ -304,7 +305,7 @@ export default {
})
},
onRecpanInc
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,{
data
:
this
.
model
})
...
...
@@ -320,7 +321,7 @@ export default {
})
},
onRecpanButord
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,{
data
:
this
.
model
})
...
...
@@ -336,7 +337,7 @@ export default {
})
},
onImgmod1Image
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/imgmod1_image"
,{
data
:
this
.
model
})
...
...
@@ -352,7 +353,7 @@ export default {
})
},
onRecpanIncben
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incben"
,{
data
:
this
.
model
})
...
...
@@ -368,7 +369,7 @@ export default {
})
},
onInftxtButtxmsel
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$
parent
.
$parent
.
$parent
.
$parent
.
$
refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
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 {
},
submitForm
(
formName
)
{
console
.
log
(
model
.
cpdgrp
.
rec
.
orcacc
)
console
.
log
(
this
.
model
.
cpdgrp
.
rec
.
orcacc
)
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
// alert('submit!');
...
...
src/views/Business/Ditame/index.vue
View file @
ebd3743b
src/views/Business/Ditopn/Ovwp.vue
View file @
ebd3743b
...
...
@@ -6,7 +6,6 @@
</el-form-item>
</el-col>
-->
<el-col
:span=
"8"
>
<el-form-item
label=
"参考号"
>
<c-input
v-model=
"model.didgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
...
...
@@ -353,7 +352,6 @@
</el-form-item>
</el-col>
</div>
</
template
>
<
script
>
...
...
src/views/Business/Ditopn/Setpan.vue
View file @
ebd3743b
...
...
@@ -156,7 +156,6 @@
width:100
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Details"
width:50
...
...
src/views/Business/Ditopn/index.vue
View file @
ebd3743b
...
...
@@ -147,7 +147,17 @@ export default {
},
methods
:{
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
(){
...
...
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