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
759b483d
Commit
759b483d
authored
Jun 04, 2021
by
denyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附加条款添加default方法 文件读取方法
parent
9c0f6315
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
commonApi.js
src/mixin/commonApi.js
+3
-2
Default.js
src/model/Ditopn/Default.js
+4
-1
No files found.
src/mixin/commonApi.js
View file @
759b483d
...
...
@@ -45,12 +45,13 @@ export default {
let
data
=
Utils
.
flatObject
(
this
.
model
)
return
Api
.
post
(
this
.
declareParams
.
trnName
+
"/pending"
,{...
data
,
params
})
},
restoreDisplay
()
async
restoreDisplay
()
{
let
inr
=
this
.
$route
.
query
.
trn
if
(
!
inr
)
return
let
data
=
Api
.
post
(
"display/"
+
inr
)
let
data
=
await
Api
.
post
(
"display/"
+
inr
)
Utils
.
copyValueFromVO
(
this
.
model
,
data
.
data
)
console
.
log
(
data
)
}
}
...
...
src/model/Ditopn/Default.js
View file @
759b483d
...
...
@@ -176,7 +176,10 @@ function defaultLitameadv() {
})
}
function
defaultDidgrpBlkAdlcnd
()
{
const
that
=
this
;
that
.
executeDefault
(
"didgrp.blk.adlcnd"
).
then
(
res
=>
{
that
.
model
.
didgrp
.
blk
.
adlcnd
=
res
.
data
.
didgrp_blk_adlcnd
;
})
}
function
defaultDidgrpAplPtsRef
()
{
}
...
...
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