Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
fc1e9a79
Commit
fc1e9a79
authored
Apr 16, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6015e2ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
27 deletions
+14
-27
document.vue
src/pages/administration/document.vue
+14
-27
No files found.
src/pages/administration/document.vue
View file @
fc1e9a79
...
...
@@ -60,7 +60,6 @@
<span
v-if=
"props.row.Is_Top==2"
>
否
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-zhiding"
style=
"font-weight:400;color: #789CFF"
class=
"q-mr-xs"
...
...
@@ -136,8 +135,7 @@
<div
class=
"row wrap"
>
<q-input
clearable
filled
class=
"col-6 q-pb-lg q-pr-lg"
standout=
"bg-primary text-white"
v-model=
"addMsg.From"
ref=
"From"
label=
"公文来源(FR)"
:rules=
"[val => !!val || '公文来源(FR)']"
/>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-radio
v-model=
"addMsg.SendType"
:val=
"1"
label=
"全公司"
/>
<q-radio
v-model=
"addMsg.SendType"
:val=
"2"
label=
"指定部门"
/>
</div>
...
...
@@ -145,7 +143,6 @@
:defaultArray=
"returnString"
nodeKey=
"DeptId"
:multiple=
"true"
:defaultExpandAll=
"true"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"To"
@
getChild=
"getChild"
classStr=
"col-6 q-pr-lg q-pb-lg"
></selectTree>
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
multiple
clearable
filled
stack-label
use-input
use-chips
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"tempManager2"
ref=
"ManagerId"
:options=
"PersionList"
label=
"默认抄送"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
...
...
@@ -157,8 +154,6 @@
</q-item>
</
template
>
</q-select>
<q-input
clearable
class=
"col-6 q-pb-lg q-pr-lg"
standout=
"bg-primary text-white"
disable
v-model=
"nNumber"
label=
"编号"
v-if=
"nNumber!=null "
/>
<q-input
clearable
filled
class=
"col-12 q-pb-lg q-pr-lg"
standout=
"bg-primary text-white"
v-model=
"addMsg.Title"
ref=
"Title"
label=
"标题"
:rules=
"[val => !!val || '标题']"
/>
<div
class=
"text-caption q-my-md q-px-xs text-grey-6"
>
公告内容
</div>
...
...
@@ -181,41 +176,41 @@
</q-dialog>
<q-dialog
v-model=
"persistent2"
maximized
full-height
seamless
position=
"right"
>
<q-card
style=
"margin-top:21px;width:800px"
class=
"no-border-radius classinfo_Dialog"
>
<q-img
:src=
"N
oticeBaseInfo.Image"
v-if=
"NoticeBaseInfo.
Image"
spinner-color=
"white"
<q-img
:src=
"N
Info.BgImage"
v-if=
"NInfo.Bg
Image"
spinner-color=
"white"
style=
" width: 100%;height: 120px"
/>
<div
style=
"padding: 20px"
>
<div
class=
"col-12 g row"
style=
"margin-bottom:10px;"
>
<div
class=
"col-6"
>
Fr:{{
addMsg
.From}}
Fr:{{
NInfo
.From}}
</div>
<div
class=
"col-6 "
style=
"text-align: right"
>
编号:{{
n
Number}}
编号:{{
NInfo.
Number}}
</div>
</div>
<div
class=
"col-12 row"
style=
"margin-bottom:10px;"
>
To:
<span
v-for=
"(item,index) in NInfo.
Department
List"
:index=
"index"
>
{{item.DeptName}}{{NInfo.
Department
List.length==index+1?'':'、'}}
</span>
To:
<span
v-for=
"(item,index) in NInfo.
to
List"
:index=
"index"
>
{{item.DeptName}}{{NInfo.
to
List.length==index+1?'':'、'}}
</span>
</div>
<div
class=
"col-12 row"
style=
"margin-bottom:10px;"
>
Cc:
<span
v-for=
"(item,index) in NInfo.
CopyPeople
List"
:index=
"index"
>
{{item.EmName}}{{NInfo.
CopyPeople
List.length==index+1?'':'、'}}
</span>
Cc:
<span
v-for=
"(item,index) in NInfo.
cc
List"
:index=
"index"
>
{{item.EmName}}{{NInfo.
cc
List.length==index+1?'':'、'}}
</span>
</div>
<div
class=
"col-12 row"
style=
"margin-bottom:10px;"
>
Time:{{NInfo.UpdateTime}}
</div>
<div
class=
"col-12 row"
style=
"margin-top: 20px"
>
<span
v-html=
"
addMsg
.Content"
></span>
<span
v-html=
"
NInfo
.Content"
></span>
</div>
<div
class=
"col-12 row"
style=
"margin-top: 20px"
>
<div
class=
"col-12 row"
style=
"margin-top: 20px"
v-if=
"NInfo.fileList&&NInfo.fileList.length>0"
>
<div>
附件:
</div>
<
template
>
<div
class=
"q-pa-md"
style=
"max-width: 350px"
>
<q-list
dense
padding
class=
"rounded-borders"
>
<q-item
clickable
v-ripple
v-for=
"(file,fIndex) in fileList"
:key=
"fIndex"
>
<q-item
clickable
v-ripple
v-for=
"(file,fIndex) in
NInfo.
fileList"
:key=
"fIndex"
>
<q-item-section>
<div
class=
"row"
@
click=
"wopen(file)"
>
<i
class=
"iconfont icon-xiazai2"
style=
"margin-right: 10px"
></i>
{{
file
.
n
ame
}}
{{
file
.
FileN
ame
}}
</div>
</q-item-section>
</q-item>
...
...
@@ -358,7 +353,6 @@
fileList
:
[],
//上传列表
DeptList
:
[],
// 部门下拉
returnString
:
[],
//默认岗位
nNumber
:
null
,
drawer
:
false
,
//显示右侧抽屉
NInfo
:
{},
//详情内容
persistent2
:
false
...
...
@@ -556,12 +550,9 @@
NoticeId
:
id
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
NInfo
=
res
.
Data
;
console
.
log
(
this
.
NInfo
,
'数据来也'
);
this
.
NInfo
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
Data
));
this
.
addMsg
.
Id
=
res
.
Data
.
Id
;
this
.
addMsg
.
From
=
res
.
Data
.
From
;
this
.
nNumber
=
this
.
NInfo
.
Number
;
//数组处理
this
.
addMsg
.
To
=
res
.
Data
.
To
;
this
.
returnString
=
[]
...
...
@@ -590,7 +581,6 @@
}).
catch
(()
=>
{})
},
addDoc
(
id
)
{
this
.
nNumber
=
null
if
(
id
)
{
this
.
getNInfo
(
id
)
}
else
{
...
...
@@ -663,12 +653,9 @@
this
.
saveLoading
=
false
})
}
},
EditConfig
(
id
)
{
this
.
persistent2
=
true
;
// this.drawer = true;
this
.
getNInfo
(
id
)
},
setNoticeOtion
(
id
,
type
)
{
...
...
@@ -695,7 +682,7 @@
})
},
wopen
(
file
)
{
window
.
open
(
file
.
u
rl
);
window
.
open
(
file
.
FileU
rl
);
}
}
}
...
...
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