Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
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
吴迪
gs1-admin
Commits
4ffeacd7
Commit
4ffeacd7
authored
May 28, 2024
by
田爽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
政策法规显示时间
parent
6f2d314b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+7
-7
No files found.
src/views/modules/policy/policy-add-or-update.vue
View file @
4ffeacd7
...
...
@@ -54,8 +54,8 @@
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.publicdate"
value-format=
'yyyy-MM-dd
HH:mm:ss
'
type=
"date
time
"
value-format=
'yyyy-MM-dd'
type=
"date"
placeholder=
"请选择发布"
>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
publicdate
}}
</p>
...
...
@@ -64,13 +64,13 @@
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.startdate"
value-format=
'yyyy-MM-dd
HH:mm:ss
'
type=
"date
time
"
value-format=
'yyyy-MM-dd'
type=
"date"
placeholder=
"请选择实施日期"
>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
startdate
}}
</p>
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"brief"
>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
...
...
@@ -204,8 +204,8 @@ export default {
this
.
loading
=
false
if
(
data
&&
data
.
code
===
0
)
{
this
.
dataForm
=
data
.
policy
this
.
dataForm
.
publicdate
=
data
.
policy
.
releasedate
this
.
dataForm
.
startdate
=
data
.
policy
.
updatedate
//
this.dataForm.publicdate = data.policy.releasedate
//
this.dataForm.startdate = data.policy.updatedate
this
.
ueditor
.
value
=
this
.
dataForm
.
content
}
else
{
this
.
$message
.
error
(
data
.
msg
)
...
...
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