Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhqg-vue
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
zhqg
zhqg-vue
Commits
db43f602
Commit
db43f602
authored
Oct 23, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
ea50d2c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
audit-add-or-update.vue
src/views/modules/order/audit-add-or-update.vue
+4
-3
audit.vue
src/views/modules/order/audit.vue
+4
-4
index.js
static/config/index.js
+2
-1
No files found.
src/views/modules/order/audit-add-or-update.vue
View file @
db43f602
...
...
@@ -60,7 +60,7 @@
return
{
resourcesUrl
:
window
.
SITE_CONFIG
.
resourcesUrl
,
visible
:
false
,
isAudit
:
fals
e
,
isAudit
:
tru
e
,
dataForm
:
{
id
:
0
,
applyStatus
:
1
,
...
...
@@ -75,10 +75,10 @@
}
},
methods
:
{
init
(
id
,
isAudit
,
row
)
{
init
(
id
,
isAudit
)
{
this
.
visible
=
true
this
.
isAudit
=
isAudit
this
.
dataForm
.
id
=
id
||
0
this
.
visible
=
true
console
.
log
(
'isAudit'
,
isAudit
)
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'dataForm'
].
resetFields
()
...
...
@@ -102,6 +102,7 @@
this
.
dataForm
.
waitAmount
=
data
.
result
.
userAccount
.
waitAmount
this
.
dataForm
.
integral
=
data
.
result
.
userAccount
.
integral
this
.
dataForm
.
frozenIntegral
=
data
.
result
.
userAccount
.
frozenIntegral
console
.
log
(
'this.dataForm'
,
this
.
dataForm
)
})
}
})
...
...
src/views/modules/order/audit.vue
View file @
db43f602
...
...
@@ -25,13 +25,13 @@
type=
"primary"
size=
"small"
icon=
"el-icon-detail"
@
click=
"addOrUpdateHandle(scope.row.id,false
,scope.row
)"
>
详情
</el-button>
@
click=
"addOrUpdateHandle(scope.row.id,false)"
>
详情
</el-button>
<el-button
v-if=
"!scope.row.applyStatus"
type=
"primary"
size=
"small"
icon=
"el-icon-edit"
@
click=
"addOrUpdateHandle(scope.row.id,true
,scope.row
)"
>
审核
</el-button>
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
审核
</el-button>
</
template
>
</avue-crud>
...
...
@@ -111,10 +111,10 @@ export default {
this
.
dataListSelections
=
list
},
// 新增 / 修改
addOrUpdateHandle
(
id
,
isAudit
,
row
)
{
addOrUpdateHandle
(
id
,
isAudit
)
{
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
isAudit
,
row
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
isAudit
)
})
},
// 点击查询
...
...
static/config/index.js
View file @
db43f602
...
...
@@ -8,7 +8,8 @@
window
.
SITE_CONFIG
[
'baseUrl'
]
=
'http://192.168.0.143:8085'
// 静态资源文件url
window
.
SITE_CONFIG
[
'resourcesUrl'
]
=
'http://192.168.31.118/zhqgImages'
// window.SITE_CONFIG['resourcesUrl'] = 'http://192.168.31.118/zhqgImages'
window
.
SITE_CONFIG
[
'resourcesUrl'
]
=
'http://zhqg.jsonpro.cn/zhqgImages'
// cdn地址 = 域名 + 版本号
window
.
SITE_CONFIG
[
'domain'
]
=
'./'
// 域名
window
.
SITE_CONFIG
[
'version'
]
=
''
// 版本号(年月日时分)
...
...
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