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 {
fileList
:
[],
};
},
listRemove
(
e
)
{
this
.
fileList
=
[];
this
.
form
.
attachmentUrl
=
""
;
},
created
()
{
this
.
getTreeselect
();
this
.
getList
();
...
...
@@ -610,6 +607,10 @@ export default {
},
},
methods
:
{
listRemove
(
e
)
{
this
.
fileList
=
[];
this
.
form
.
attachmentUrl
=
""
;
},
getFileInfo
(
res
)
{
this
.
form
.
attachmentUrl
=
res
.
url
;
this
.
fileList
=
[
...
...
@@ -723,12 +724,12 @@ export default {
this
.
title
=
"详情信息"
;
});
this
.
form
.
attachmentUrl
=
this
.
form
.
attachmentUrl
;
this
.
fileList
=
[
{
name
:
res
.
fileName
,
url
:
uploadfile
,
},
];
//
this.fileList = [
//
{
//
name: res.fileName,
//
url: uploadfile,
//
},
//
];
treeselect
().
then
((
response
)
=>
{
...
...
precision-effect-web/src/views/system/notice/index.vue
View file @
4d1e0015
...
...
@@ -35,41 +35,41 @@
</el-form-item>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:notice:add']"
>
新增
</el-button
>
</el-col
>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:notice:edit']"
>
修改
</el-button
>
</el-col
>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:notice:remove']"
>
删除
</el-button
>
</el-col
>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row
>
<!--
<el-row
:gutter=
"10"
class=
"mb8"
>
--
>
<!--
<el-col
:span=
"1.5"
>
--
>
<!--
<el-button-->
<!-- type="primary"-->
<!-- plain-->
<!-- icon="el-icon-plus"-->
<!-- size="mini"-->
<!-- @click="handleAdd"-->
<!-- v-hasPermi="['system:notice:add']"-->
<!-- >新增
</el-button>
--
>
<!--
</el-col>
--
>
<!--
<el-col
:span=
"1.5"
>
--
>
<!--
<el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- :disabled="single"-->
<!-- @click="handleUpdate"-->
<!-- v-hasPermi="['system:notice:edit']"-->
<!-- >修改
</el-button>
--
>
<!--
</el-col>
--
>
<!--
<el-col
:span=
"1.5"
>
--
>
<!--
<el-button-->
<!-- type="danger"-->
<!-- plain-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- :disabled="multiple"-->
<!-- @click="handleDelete"-->
<!-- v-hasPermi="['system:notice:remove']"-->
<!-- >删除
</el-button>
--
>
<!--
</el-col>
--
>
<!--
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
--
>
<!--
</el-row>
--
>
<el-table
v-loading=
"loading"
:data=
"noticeList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
...
...
@@ -79,31 +79,36 @@
align=
"center"
prop=
"noticeTitle"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"公告内容"
align=
"center"
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
label=
"公告类型"
align=
"center"
prop=
"noticeType"
: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=
"createTime"
width=
"100"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<
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
>
</el-table-column>
<!-- <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