Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
387b121d
Commit
387b121d
authored
Jun 22, 2022
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计量单位状态的bug
parent
7d0dedcf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
.env.development
.env.development
+1
-1
index.vue
src/views/ecw/currency/index.vue
+6
-6
index.vue
src/views/ecw/unit/index.vue
+1
-1
No files found.
.env.development
View file @
387b121d
...
...
@@ -5,7 +5,7 @@ ENV = 'development'
VUE_APP_TITLE = 捷道管理系统
# 捷道管理系统/开发环境
VUE_APP_BASE_API = 'http://
jd.apitest.jdshangmen.com
'
VUE_APP_BASE_API = 'http://
localhost:48080
'
# VUE_APP_BASE_API = '/api'
# 路由懒加载
...
...
src/views/ecw/currency/index.vue
View file @
387b121d
...
...
@@ -61,12 +61,12 @@
</el-table-column>
<el-table-column
label=
"汇率"
align=
"center"
prop=
"huilv"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"aorder"
/>
<el-table-column
label=
""
align=
"center"
prop=
"createAt"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createAt
)
}}
</span
>
</
template
>
</el-table-column
>
<el-table-column
label=
""
align=
"center"
prop=
"updateAt"
width=
"180"
>
<!-- <el-table-column label="" align="center" prop="createAt" width="180">--
>
<!-- <template slot-scope="scope">--
>
<!-- <span>{{ parseTime(scope.row.createAt) }}</span>--
>
<!-- </template>--
>
<!-- </el-table-column>--
>
<el-table-column
label=
"
最后更新时间
"
align=
"center"
prop=
"updateAt"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
updateAt
)
}}
</span>
</
template
>
...
...
src/views/ecw/unit/index.vue
View file @
387b121d
...
...
@@ -213,7 +213,7 @@ export default {
let
text
=
row
.
status
===
CommonStatusEnum
.
ENABLE
?
"
启用
"
:
"
停用
"
;
this
.
$modal
.
confirm
(
'
确认要
'
+
text
+
'
"
'
+
row
.
titleZh
+
'
"吗?
'
).
then
(
function
()
{
// return changeUserStatus(row.id, row.status);
return
updateUnitStatus
({
id
:
row
.
id
,
status
:
!
row
.
status
?
CommonStatusEnum
.
DISABLE
:
CommonStatusEnum
.
ENABLE
});
return
updateUnitStatus
({
id
:
row
.
id
,
status
:
row
.
status
});
}).
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
text
+
"
成功
"
);
...
...
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