Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
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
耿迪迪
precision-effect
Commits
4d1e0015
Commit
4d1e0015
authored
Jun 27, 2023
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
借支申请修改
parent
7408da4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
57 deletions
+63
-57
index.vue
precision-effect-web/src/views/for/index.vue
+11
-10
index.vue
precision-effect-web/src/views/system/notice/index.vue
+52
-47
No files found.
precision-effect-web/src/views/for/index.vue
View file @
4d1e0015
...
@@ -592,10 +592,7 @@ export default {
...
@@ -592,10 +592,7 @@ export default {
fileList
:
[],
fileList
:
[],
};
};
},
},
listRemove
(
e
)
{
this
.
fileList
=
[];
this
.
form
.
attachmentUrl
=
""
;
},
created
()
{
created
()
{
this
.
getTreeselect
();
this
.
getTreeselect
();
this
.
getList
();
this
.
getList
();
...
@@ -610,6 +607,10 @@ export default {
...
@@ -610,6 +607,10 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
listRemove
(
e
)
{
this
.
fileList
=
[];
this
.
form
.
attachmentUrl
=
""
;
},
getFileInfo
(
res
)
{
getFileInfo
(
res
)
{
this
.
form
.
attachmentUrl
=
res
.
url
;
this
.
form
.
attachmentUrl
=
res
.
url
;
this
.
fileList
=
[
this
.
fileList
=
[
...
@@ -723,12 +724,12 @@ export default {
...
@@ -723,12 +724,12 @@ export default {
this
.
title
=
"详情信息"
;
this
.
title
=
"详情信息"
;
});
});
this
.
form
.
attachmentUrl
=
this
.
form
.
attachmentUrl
;
this
.
form
.
attachmentUrl
=
this
.
form
.
attachmentUrl
;
this
.
fileList
=
[
//
this.fileList = [
{
//
{
name
:
res
.
fileName
,
//
name: res.fileName,
url
:
uploadfile
,
//
url: uploadfile,
},
//
},
];
//
];
treeselect
().
then
((
response
)
=>
{
treeselect
().
then
((
response
)
=>
{
...
...
precision-effect-web/src/views/system/notice/index.vue
View file @
4d1e0015
...
@@ -35,41 +35,41 @@
...
@@ -35,41 +35,41 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<!--
<el-row
:gutter=
"10"
class=
"mb8"
>
--
>
<el-col
:span=
"1.5"
>
<!--
<el-col
:span=
"1.5"
>
--
>
<el-button
<!--
<el-button-->
type=
"primary"
<!-- type="primary"-->
plain
<!-- plain-->
icon=
"el-icon-plus"
<!-- icon="el-icon-plus"-->
size=
"mini"
<!-- size="mini"-->
@
click=
"handleAdd"
<!-- @click="handleAdd"-->
v-hasPermi=
"['system:notice:add']"
<!-- v-hasPermi="['system:notice:add']"-->
>
新增
</el-button
>
<!-- >新增
</el-button>
--
>
</el-col
>
<!--
</el-col>
--
>
<el-col
:span=
"1.5"
>
<!--
<el-col
:span=
"1.5"
>
--
>
<el-button
<!--
<el-button-->
type=
"success"
<!-- type="success"-->
plain
<!-- plain-->
icon=
"el-icon-edit"
<!-- icon="el-icon-edit"-->
size=
"mini"
<!-- size="mini"-->
:disabled=
"single"
<!-- :disabled="single"-->
@
click=
"handleUpdate"
<!-- @click="handleUpdate"-->
v-hasPermi=
"['system:notice:edit']"
<!-- v-hasPermi="['system:notice:edit']"-->
>
修改
</el-button
>
<!-- >修改
</el-button>
--
>
</el-col
>
<!--
</el-col>
--
>
<el-col
:span=
"1.5"
>
<!--
<el-col
:span=
"1.5"
>
--
>
<el-button
<!--
<el-button-->
type=
"danger"
<!-- type="danger"-->
plain
<!-- plain-->
icon=
"el-icon-delete"
<!-- icon="el-icon-delete"-->
size=
"mini"
<!-- size="mini"-->
:disabled=
"multiple"
<!-- :disabled="multiple"-->
@
click=
"handleDelete"
<!-- @click="handleDelete"-->
v-hasPermi=
"['system:notice:remove']"
<!-- v-hasPermi="['system:notice:remove']"-->
>
删除
</el-button
>
<!-- >删除
</el-button>
--
>
</el-col
>
<!--
</el-col>
--
>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
<!--
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
--
>
</el-row
>
<!--
</el-row>
--
>
<el-table
v-loading=
"loading"
:data=
"noticeList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"noticeList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
...
@@ -79,31 +79,36 @@
...
@@ -79,31 +79,36 @@
align=
"center"
align=
"center"
prop=
"noticeTitle"
prop=
"noticeTitle"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
/>
<el-table-column
<el-table-column
label=
"公告内容"
label=
"公告内容"
align=
"center"
align=
"center"
prop=
"noticeContent"
prop=
"noticeContent"
:show-overflow-tooltip=
"true"
>
/>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
noticeContent
}}
</span>
<span
v-if=
"scope.row.noticeContent == null"
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"公告类型"
label=
"公告类型"
align=
"center"
align=
"center"
prop=
"noticeType"
prop=
"noticeType"
:formatter=
"typeFormat"
:formatter=
"typeFormat"
width=
"100"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
:formatter=
"statusFormat"
width=
"100"
/>
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.status == 0"
>
未读
</span>
<span
v-if=
"scope.row.status == 1"
>
已读
</span>
<span
v-if=
"scope.row.status == null"
>
-
</span>
</
template
>
</el-table-column>
<!-- <el-table-column label="创建者" align="center" prop="createBy" width="100" />-->
<!-- <el-table-column label="创建者" align="center" prop="createBy" width="100" />-->
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"100"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<span>
{{
scope
.
row
.
createTime
}}
</span>
<span
v-if=
"scope.row.createTime == null"
>
-
</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" class-name="small-padding fixed-width">-->
...
...
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