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
e8c20256
Commit
e8c20256
authored
Sep 14, 2022
by
chenjiuping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告相关
parent
5c1a3d9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
7 deletions
+32
-7
index.vue
src/views/index.vue
+2
-1
index.vue
src/views/system/notice/index.vue
+30
-6
No files found.
src/views/index.vue
View file @
e8c20256
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
<work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
<work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
<div>
选择的用户:
{{
selectedUsers
}}
</div>
<div>
选择的用户:
{{
selectedUsers
}}
</div>
</el-card>
</el-card>
<el-row>
<el-row>
<my-process-viewer
key=
"designer"
v-model=
"bpmnXML"
v-bind=
"bpmnControlForm"
/>
<my-process-viewer
key=
"designer"
v-model=
"bpmnXML"
v-bind=
"bpmnControlForm"
/>
</el-row>
</el-row>
...
@@ -109,7 +110,7 @@ export default {
...
@@ -109,7 +110,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
handlerBpm
();
this
.
handlerBpm
();
},
},
methods
:
{
methods
:
{
handleSetLineChartData
(
type
)
{
handleSetLineChartData
(
type
)
{
...
...
src/views/system/notice/index.vue
View file @
e8c20256
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"queryParams.type"
placeholder=
"公告类型"
clearable
>
<el-select
v-model=
"queryParams.type"
placeholder=
"公告类型"
clearable
>
<el-option
v-for=
"dict in noticeTypeDictDatas"
:key=
"parseInt(dict.value)"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
<el-option
v-for=
"dict in noticeTypeDictDatas"
:key=
"parseInt(dict.value)"
:label=
"
$l(dict, 'label')
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -39,14 +39,19 @@
...
@@ -39,14 +39,19 @@
<dict-tag
:type=
"DICT_TYPE.COMMON_STATUS"
:value=
"scope.row.status"
/>
<dict-tag
:type=
"DICT_TYPE.COMMON_STATUS"
:value=
"scope.row.status"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"创建者"
align=
"center"
prop=
"createBy"
width=
"100"
/>
<el-table-column
label=
"有效日期"
align=
"center"
prop=
"validateDate"
width=
"150"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTim
e
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
validateDat
e
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
>
<!--
<
el
-
table
-
column
label
=
"
创建者
"
align
=
"
center
"
prop
=
"
createBy
"
width
=
"
150
"
/>-->
<
el
-
table
-
column
label
=
"
创建时间
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
150
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
width
=
"
200
"
>
<
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)
"
v
-
hasPermi
=
"
['system:notice:update']
"
>
修改
<
/el-button
>
v
-
hasPermi
=
"
['system:notice:update']
"
>
修改
<
/el-button
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
...
@@ -67,6 +72,11 @@
...
@@ -67,6 +72,11 @@
<
el
-
input
v
-
model
=
"
form.title
"
placeholder
=
"
请输入公告标题
"
/>
<
el
-
input
v
-
model
=
"
form.title
"
placeholder
=
"
请输入公告标题
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
label
=
"
标题英文
"
prop
=
"
title
"
>
<
el
-
input
v
-
model
=
"
form.titleEn
"
placeholder
=
"
请输入标题英文
"
/>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
label
=
"
公告类型
"
prop
=
"
type
"
>
<
el
-
form
-
item
label
=
"
公告类型
"
prop
=
"
type
"
>
<
el
-
select
v
-
model
=
"
form.type
"
placeholder
=
"
请选择
"
>
<
el
-
select
v
-
model
=
"
form.type
"
placeholder
=
"
请选择
"
>
...
@@ -79,7 +89,7 @@
...
@@ -79,7 +89,7 @@
<
/el-select
>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
24
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
label
=
"
状态
"
>
<
el
-
form
-
item
label
=
"
状态
"
>
<
el
-
radio
-
group
v
-
model
=
"
form.status
"
>
<
el
-
radio
-
group
v
-
model
=
"
form.status
"
>
<
el
-
radio
<
el
-
radio
...
@@ -90,11 +100,23 @@
...
@@ -90,11 +100,23 @@
<
/el-radio-group
>
<
/el-radio-group
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
label
=
"
有效日期
"
>
<
el
-
date
-
picker
type
=
"
date
"
value
-
format
=
"
yyyy-MM-dd
"
format
=
"
yyyy-MM-dd
"
:
editable
=
"
false
"
v
-
model
=
"
form.validateDate
"
style
=
"
width: 100%;
"
><
/el-date-picker
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
24
"
>
<
el
-
col
:
span
=
"
24
"
>
<
el
-
form
-
item
label
=
"
内容
"
>
<
el
-
form
-
item
label
=
"
内容
"
>
<
editor
v
-
model
=
"
form.content
"
:
min
-
height
=
"
192
"
/>
<
editor
v
-
model
=
"
form.content
"
:
min
-
height
=
"
192
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
24
"
>
<
el
-
form
-
item
label
=
"
内容英文
"
>
<
editor
v
-
model
=
"
form.contentEn
"
:
min
-
height
=
"
192
"
/>
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
<
/el-form
>
<
/el-form
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
...
@@ -181,8 +203,10 @@ export default {
...
@@ -181,8 +203,10 @@ export default {
this
.
form
=
{
this
.
form
=
{
id
:
undefined
,
id
:
undefined
,
title
:
undefined
,
title
:
undefined
,
titleEn
:
undefined
,
type
:
undefined
,
type
:
undefined
,
content
:
undefined
,
content
:
undefined
,
contentEn
:
undefined
,
status
:
CommonStatusEnum
.
ENABLE
status
:
CommonStatusEnum
.
ENABLE
}
;
}
;
this
.
resetForm
(
"
form
"
);
this
.
resetForm
(
"
form
"
);
...
...
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