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
b2e681d7
Commit
b2e681d7
authored
Feb 19, 2024
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加创建人,更新人,更新时间
parent
b288861f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
index.vue
src/views/ecw/zhongPao/index.vue
+9
-1
No files found.
src/views/ecw/zhongPao/index.vue
View file @
b2e681d7
...
@@ -60,11 +60,19 @@
...
@@ -60,11 +60,19 @@
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('创建人')"
prop=
"creatorName"
></el-table-column>
<el-table-column
:label=
"$t('更新人')"
prop=
"updaterName"
></el-table-column>
<el-table-column
:label=
"$t('更新时间')"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
updateTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"transportTypes"
>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"transportTypes"
>
<
template
v-slot=
"scope"
>
<
template
v-slot=
"scope"
>
<el-switch
v-model=
"scope.row.status"
@
change=
"handleStatusChange(scope.row)"
:active-value=
"0"
:inactive-value=
"1"
></el-switch>
<el-switch
v-model=
"scope.row.status"
@
change=
"handleStatusChange(scope.row)"
:active-value=
"0"
:inactive-value=
"1"
></el-switch>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
...
@@ -297,7 +305,7 @@ export default {
...
@@ -297,7 +305,7 @@ export default {
}
}
// 添加的提交
// 添加的提交
// console.log(this.form);
// console.log(this.form);
createZhongPao
(
this
.
form
).
then
(
response
=>
{
createZhongPao
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
...
...
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