Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
09eb6ce6
Commit
09eb6ce6
authored
Jan 31, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改新增窗口
parent
8d29c2d1
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
466 additions
and
692 deletions
+466
-692
base-manager-ui/admin/src/pages/basicset/addmatter/components/acceptMaterial.vue
...rc/pages/basicset/addmatter/components/acceptMaterial.vue
+66
-75
base-manager-ui/admin/src/pages/basicset/addmatter/components/applyMaterial.vue
...src/pages/basicset/addmatter/components/applyMaterial.vue
+29
-21
base-manager-ui/admin/src/pages/basicset/addmatter/components/flow.vue
...ui/admin/src/pages/basicset/addmatter/components/flow.vue
+153
-372
base-manager-ui/admin/src/pages/basicset/addmatter/group/addFlow.vue
...r-ui/admin/src/pages/basicset/addmatter/group/addFlow.vue
+129
-0
base-manager-ui/admin/src/pages/basicset/addmatter/group/addPursuant.vue
.../admin/src/pages/basicset/addmatter/group/addPursuant.vue
+0
-15
base-manager-ui/admin/src/pages/basicset/addmatter/group/addmaterials.vue
...admin/src/pages/basicset/addmatter/group/addmaterials.vue
+4
-3
base-manager-ui/admin/src/pages/basicset/addmatter/group/downloadTable.vue
...dmin/src/pages/basicset/addmatter/group/downloadTable.vue
+0
-48
base-manager-ui/admin/src/pages/basicset/addmatter/group/materialDetails.vue
...in/src/pages/basicset/addmatter/group/materialDetails.vue
+76
-157
base-manager-ui/admin/src/pages/basicset/dept/components/addwindow.vue
...ui/admin/src/pages/basicset/dept/components/addwindow.vue
+1
-1
base-manager-ui/admin/src/services/matter.js
base-manager-ui/admin/src/services/matter.js
+8
-0
No files found.
base-manager-ui/admin/src/pages/basicset/addmatter/components/acceptMaterial.vue
View file @
09eb6ce6
...
@@ -7,60 +7,57 @@
...
@@ -7,60 +7,57 @@
<!-- 表格 -->
<!-- 表格 -->
<a-table
<a-table
bordered
bordered
:pagination=
"false"
:loading=
"loading"
:pagination=
"
{
showTotal: (total) => `共 ${total} 条`,
current: current,
total: total,
pageSize: size,
showSizeChanger: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
onChange: handlechange,
onShowSizeChange: showSizeChange,
}"
:scroll="{ y: 550 }"
:columns="columns"
:columns="columns"
:data-source="tableData"
:data-source="tableData"
:rowKey="(record) => record.id"
>
>
<template
slot=
"num"
slot-scope=
"text, record, index"
>
<template
slot=
"num"
slot-scope=
"text, record, index"
>
{{
index
+
1
}}
<span>
{{
(
current
-
1
)
*
size
+
index
+
1
}}
</span>
</
template
>
</
template
>
<
template
slot=
"active"
slot-scope=
"text"
>
<
template
slot=
"active"
slot-scope=
"text"
>
<a
class=
"look-more"
@
click=
"lookMore(text.content)"
>
查看详情
</a>
<a
class=
"look-more"
@
click=
"lookMore(text.content)"
>
查看详情
</a>
<a
class=
"edit"
@
click=
"editAccept(text)"
>
编辑
</a>
<a
class=
"edit"
@
click=
"editAccept(text)"
>
编辑
</a>
<a-popconfirm
<a
class=
"delete"
@
click=
"handleDel(text.id)"
>
删除
</a>
title=
"删除不可恢复,确定要删除吗?"
@
confirm=
"handleDel(text.id)"
>
<a-icon
slot=
"icon"
type=
"question-circle-o"
style=
"color: red"
/>
<a
class=
"delete"
>
删除
</a>
</a-popconfirm>
</
template
>
</
template
>
</a-table>
</a-table>
</div>
</div>
<!-- 分页 -->
<a-pagination
@
change=
"handleChange"
v-model=
"current"
:total=
"total"
show-less-items
/>
<!-- 新增受理条件 -->
<!-- 新增受理条件 -->
<a-modal
v-model=
"visible"
:title=
"title"
>
<a-modal
v-model=
"visible"
:title=
"title"
>
<
template
slot=
"footer"
>
<
template
slot=
"footer"
>
<a-button
@
click=
"handleClose"
>
关闭
</a-button>
<a-button
@
click=
"handleClose"
>
关闭
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
确定
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
确定
</a-button>
</
template
>
</
template
>
<a-form-model
:model=
"form"
ref=
"formData"
:rules=
"rules"
>
<a-form-model
<!-- <a-form-model-item label="所属事项" prop="matterId">
:model=
"form"
<a-select
layout=
"vertical"
allowClear
ref=
"formData"
@select="handleSelect"
:rules=
"rules"
v-model="form.matterId"
width=
"40%"
placeholder="请选择所属事项"
>
>
<a-select-option
v-for="v in matterList"
:key="v.id"
:value="v.matterId"
>{{ v.matterName }}</a-select-option
>
</a-select>
</a-form-model-item> -->
<a-form-model-item
label=
"受理标准"
prop=
"content"
>
<a-form-model-item
label=
"受理标准"
prop=
"content"
>
<a-textarea
<a-textarea
v-model=
"form.content"
v-model=
"form.content"
placeholder=
"请输入受理条件"
placeholder=
"请输入受理条件"
allow-clear
allow-clear
:auto-size=
"{
minRows: 6,
maxRows: 10,
}"
/>
/>
</a-form-model-item>
</a-form-model-item>
</a-form-model>
</a-form-model>
...
@@ -98,7 +95,7 @@ const columns = [
...
@@ -98,7 +95,7 @@ const columns = [
},
},
{
{
title
:
"
操作
"
,
title
:
"
操作
"
,
width
:
"
20
%
"
,
width
:
"
15
%
"
,
scopedSlots
:
{
customRender
:
"
active
"
},
scopedSlots
:
{
customRender
:
"
active
"
},
},
},
];
];
...
@@ -118,13 +115,12 @@ export default {
...
@@ -118,13 +115,12 @@ export default {
content
:
""
,
content
:
""
,
source
:
1
,
source
:
1
,
},
},
loading
:
false
,
pageSizeOptions
:
[
"
10
"
,
"
30
"
,
"
50
"
,
"
100
"
],
rules
:
{
rules
:
{
content
:
[
content
:
[
{
required
:
true
,
message
:
"
受理条件不能为空
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
受理条件不能为空
"
,
trigger
:
"
blur
"
},
],
],
matterId
:
[
{
required
:
true
,
message
:
"
所属事项不能为空
"
,
trigger
:
"
change
"
},
],
},
},
visible
:
false
,
visible
:
false
,
detailsVisible
:
false
,
detailsVisible
:
false
,
...
@@ -134,40 +130,25 @@ export default {
...
@@ -134,40 +130,25 @@ export default {
},
},
created
()
{
created
()
{
this
.
getMatteracceptData
();
this
.
getMatteracceptData
();
// this.getSiteMatterList();
},
},
methods
:
{
methods
:
{
// 获取站点事项列表
// async getSiteMatterList() {
// this.siteId = this.$route.query.siteId;
// let res = await getSiteMatterList({ siteId: this.siteId });
// this.matterList = res.data.data.data;
// },
// // 事项下拉选择
// handleSelect(val, node) {
// let { text } = node.componentOptions.children[0];
// this.form.matterName = text;
// },
// 获取受理条件列表
// 获取受理条件列表
async
getMatteracceptData
()
{
async
getMatteracceptData
()
{
if
(
local
.
getLocal
(
"
matter
"
))
{
if
(
local
.
getLocal
(
"
matter
"
))
{
this
.
loading
=
true
;
let
res
=
await
getMatteracceptList
({
let
res
=
await
getMatteracceptList
({
page
:
this
.
current
,
page
:
this
.
current
,
size
:
this
.
size
,
size
:
this
.
size
,
matterId
:
local
.
getLocal
(
"
matter
"
).
id
,
matterId
:
local
.
getLocal
(
"
matter
"
).
id
,
matterName
:
local
.
getLocal
(
"
matter
"
).
matterName
,
matterName
:
local
.
getLocal
(
"
matter
"
).
matterName
,
});
});
this
.
loading
=
false
;
let
{
total
,
data
}
=
res
.
data
.
data
;
let
{
total
,
data
}
=
res
.
data
.
data
;
if
(
!
data
.
length
&&
this
.
current
>
1
)
{
if
(
!
data
.
length
&&
this
.
current
>
1
)
{
this
.
current
-=
1
;
this
.
current
-=
1
;
this
.
getMatteracceptData
();
this
.
getMatteracceptData
();
}
}
this
.
total
=
total
;
this
.
total
=
total
;
data
.
forEach
((
v
)
=>
{
v
.
key
=
v
.
id
;
});
this
.
tableData
=
data
;
this
.
tableData
=
data
;
}
}
},
},
...
@@ -184,10 +165,16 @@ export default {
...
@@ -184,10 +165,16 @@ export default {
this
.
form
.
id
&&
this
.
$delete
(
this
.
form
,
"
id
"
);
this
.
form
.
id
&&
this
.
$delete
(
this
.
form
,
"
id
"
);
},
},
// 分页
// 分页
handle
C
hange
(
num
)
{
handle
c
hange
(
num
)
{
this
.
current
=
num
;
this
.
current
=
num
;
this
.
getMatteracceptData
();
this
.
getMatteracceptData
();
},
},
// 改变每页显示数量
showSizeChange
(
cur
,
size
)
{
this
.
current
=
cur
;
this
.
size
=
size
;
this
.
getMatteracceptData
();
},
// 保存新增
// 保存新增
handleOk
()
{
handleOk
()
{
if
(
local
.
getLocal
(
"
matter
"
))
{
if
(
local
.
getLocal
(
"
matter
"
))
{
...
@@ -203,23 +190,35 @@ export default {
...
@@ -203,23 +190,35 @@ export default {
this
.
visible
=
false
;
this
.
visible
=
false
;
this
.
$message
.
success
(
msg
);
this
.
$message
.
success
(
msg
);
this
.
getMatteracceptData
();
this
.
getMatteracceptData
();
}
else
{
this
.
$message
.
error
(
msg
);
}
}
}
}
});
});
}
}
},
},
// 删除
// 删除
async
handleDel
(
val
)
{
async
handleDel
(
id
)
{
let
res
=
await
delMatteraccept
({
id
:
val
});
let
_this
=
this
;
let
{
code
,
msg
}
=
res
.
data
;
this
.
$confirm
({
if
(
code
===
1
)
{
title
:
"
系统提示
"
,
this
.
$message
.
success
(
msg
);
content
:
"
删除不可恢复,确定要删除吗?
"
,
this
.
getMatteracceptData
();
okText
:
"
确定
"
,
}
else
{
okType
:
"
danger
"
,
this
.
$message
.
error
(
msg
);
cancelText
:
"
取消
"
,
}
centered
:
true
,
icon
:
"
exclamation-circle
"
,
maskClosable
:
true
,
async
onOk
()
{
let
res
=
await
delMatteraccept
({
id
});
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
===
1
)
{
_this
.
$message
.
success
(
msg
);
_this
.
getMatteracceptData
();
}
},
onCancel
()
{
console
.
log
(
"
Cancel
"
);
},
});
},
},
// 查看详情
// 查看详情
lookMore
(
data
)
{
lookMore
(
data
)
{
...
@@ -254,16 +253,8 @@ export default {
...
@@ -254,16 +253,8 @@ export default {
.delete {
.delete {
color: #fa6464;
color: #fa6464;
}
}
.ant-pagination {
margin: 10px 0;
}
}
/deep/.ant-modal-body {
.ant-input {
height: 300px;
}
}
}
.table-content
{
/deep/.ant-form-item
{
height: 620px
;
display: block !important
;
}
}
</
style
>
</
style
>
\ No newline at end of file
base-manager-ui/admin/src/pages/basicset/addmatter/components/applyMaterial.vue
View file @
09eb6ce6
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<
template
slot=
"operate"
slot-scope=
"text"
>
<
template
slot=
"operate"
slot-scope=
"text"
>
<span
class=
"look_more mr"
@
click=
"readMore(text)"
>
查看更多
</span>
<span
class=
"look_more mr"
@
click=
"readMore(text)"
>
查看更多
</span>
<span
class=
"edit mr"
@
click=
"editMaterial(text)"
>
编辑
</span>
<span
class=
"edit mr"
@
click=
"editMaterial(text)"
>
编辑
</span>
<span
class=
"del"
>
删除
</span>
<span
class=
"del"
@
click=
"delMaterial(text.id)"
>
删除
</span>
</
template
>
</
template
>
</a-table>
</a-table>
</div>
</div>
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
></addmaterials>
></addmaterials>
<!-- 查看更多 -->
<!-- 查看更多 -->
<material-details
<material-details
:dict=
"dict"
:detailsData=
"detailsData"
:detailsData=
"detailsData"
:detailsVisible.sync=
"detailsVisible"
:detailsVisible.sync=
"detailsVisible"
></material-details>
></material-details>
...
@@ -156,7 +157,6 @@ export default {
...
@@ -156,7 +157,6 @@ export default {
this
.
total
=
data
.
total
;
this
.
total
=
data
.
total
;
this
.
dataSource
=
data
.
data
;
this
.
dataSource
=
data
.
data
;
this
.
dict
=
dict
;
this
.
dict
=
dict
;
console
.
log
(
dict
);
}
}
},
},
// 选中数据
// 选中数据
...
@@ -178,21 +178,35 @@ export default {
...
@@ -178,21 +178,35 @@ export default {
this
.
getMatterDatumData
();
this
.
getMatterDatumData
();
},
},
// 改变每页显示数量
// 改变每页显示数量
showSizeChange
(
size
)
{
showSizeChange
(
cur
,
size
)
{
this
.
current
=
cur
;
this
.
size
=
size
;
this
.
size
=
size
;
this
.
getMatterDatumData
();
this
.
getMatterDatumData
();
},
},
// 删除
// 删除
async
delMaterial
(
val
)
{
delMaterial
(
id
)
{
let
res
=
await
delMatterDatum
({
id
:
val
});
let
_this
=
this
;
let
{
code
,
msg
}
=
res
.
data
;
this
.
$confirm
({
if
(
code
===
1
)
{
title
:
"
系统提示
"
,
// this.dataSource.splice(i, 1);
content
:
"
删除不可恢复,确定要删除吗?
"
,
this
.
$message
.
success
(
msg
);
okText
:
"
确定
"
,
this
.
getMatterDatumData
();
okType
:
"
danger
"
,
}
else
{
cancelText
:
"
取消
"
,
this
.
$message
.
error
(
msg
);
centered
:
true
,
}
icon
:
"
exclamation-circle
"
,
maskClosable
:
true
,
async
onOk
()
{
let
res
=
await
delMatterDatum
({
id
});
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
===
1
)
{
_this
.
$message
.
success
(
msg
);
_this
.
getMatterDatumData
();
}
},
onCancel
()
{
console
.
log
(
"
Cancel
"
);
},
});
},
},
// 查看更多
// 查看更多
readMore
(
data
)
{
readMore
(
data
)
{
...
@@ -210,7 +224,7 @@ export default {
...
@@ -210,7 +224,7 @@ export default {
data
.
forEach
((
v
)
=>
{
data
.
forEach
((
v
)
=>
{
v
.
key
=
v
.
id
;
v
.
key
=
v
.
id
;
});
});
this
.
tableData
=
data
.
filter
((
v
)
=>
v
.
filetype
==
=
2
);
this
.
tableData
=
data
.
filter
((
v
)
=>
v
.
filetype
==
2
);
this
.
downloadVisible
=
true
;
this
.
downloadVisible
=
true
;
},
},
// 下载示例表格
// 下载示例表格
...
@@ -219,7 +233,7 @@ export default {
...
@@ -219,7 +233,7 @@ export default {
data
.
forEach
((
v
)
=>
{
data
.
forEach
((
v
)
=>
{
v
.
key
=
v
.
id
;
v
.
key
=
v
.
id
;
});
});
this
.
tableData
=
data
.
filter
((
v
)
=>
v
.
filetype
==
=
1
);
this
.
tableData
=
data
.
filter
((
v
)
=>
v
.
filetype
==
1
);
this
.
downloadVisible
=
true
;
this
.
downloadVisible
=
true
;
},
},
},
},
...
@@ -252,10 +266,4 @@ export default {
...
@@ -252,10 +266,4 @@ export default {
cursor: pointer;
cursor: pointer;
}
}
}
}
.ant-pagination {
margin: 10px 10px;
}
.table-content {
height: 620px;
}
</
style
>
</
style
>
base-manager-ui/admin/src/pages/basicset/addmatter/components/flow.vue
View file @
09eb6ce6
This diff is collapsed.
Click to expand it.
base-manager-ui/admin/src/pages/basicset/addmatter/group/addFlow.vue
0 → 100644
View file @
09eb6ce6
<
template
>
<div>
<a-modal
:maskClosable=
"false"
v-model=
"Visible"
:title=
"title"
@
cancel=
"handleClose"
>
<a-form-model
:model=
"form"
:label-col=
"
{ span: 4 }"
:wrapper-col="{ span: 20 }"
ref="form"
:rules="rules"
>
<a-form-model-item
label=
"流程名称"
prop=
"flowName"
>
<a-input
placeholder=
"请输入流程名称"
v-model=
"form.flowName"
/>
</a-form-model-item>
<a-form-model-item
label=
"办理时长"
prop=
"flowTime"
>
<a-input
suffix=
"个工作日"
placeholder=
"请输入办理时长"
v-model=
"form.flowTime"
/>
</a-form-model-item>
<a-form-model-item
label=
"转外时限"
prop=
"flowLimit"
>
<a-input
suffix=
"个工作日"
placeholder=
"请输入转外时限"
v-model=
"form.flowLimit"
/>
</a-form-model-item>
<a-form-model-item
label=
"流程说明"
prop=
"flowDesc"
>
<a-textarea
placeholder=
"请输入流程说明"
v-model=
"form.flowDesc"
allow-clear
:auto-size=
"
{ minRows: 4, maxRows: 6 }"
/>
</a-form-model-item>
</a-form-model>
<div
slot=
"footer"
>
<a-button
@
click=
"handleReset"
>
重置
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
确定
</a-button>
</div>
</a-modal>
</div>
</
template
>
<
script
>
import
{
addMatterflowlimit
}
from
"
@/services/matter
"
;
import
local
from
"
@/utils/local
"
;
export
default
{
props
:
{
title
:
{
required
:
true
,
type
:
String
,
default
:
"
新增流程
"
,
},
visible
:
{
required
:
true
,
type
:
Boolean
,
default
:
false
,
},
},
data
()
{
return
{
form
:
{
flowName
:
""
,
//名称
flowTime
:
""
,
//办理时长
flowLimit
:
""
,
//转外时限
flowDesc
:
""
,
//说明
source
:
1
,
//来源
},
rules
:
{
flowName
:
[
{
message
:
"
请输入流程名称
"
,
required
:
true
,
trigger
:
"
blur
"
},
],
},
};
},
computed
:
{
Visible
:
{
get
()
{
return
this
.
visible
;
},
set
(
val
)
{
this
.
$emit
(
"
update:visible
"
,
val
);
},
},
},
methods
:
{
handleOk
()
{
this
.
$refs
.
form
.
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
let
res
=
await
addMatterflowlimit
({
...
this
.
form
,
matterId
:
local
.
getLocal
(
"
matter
"
).
id
,
matterName
:
local
.
getLocal
(
"
matter
"
).
matterName
,
});
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
===
1
)
{
this
.
$message
.
success
(
msg
);
this
.
$emit
(
"
addSuccess
"
);
this
.
handleClose
();
}
}
});
},
onAdd
()
{
Object
.
assign
(
this
.
form
,
this
.
$options
.
data
().
form
);
this
.
form
.
id
&&
this
.
$delete
(
this
.
form
,
"
id
"
);
},
onEdit
(
data
)
{
this
.
form
=
{
...
data
};
},
handleReset
()
{
this
.
$refs
.
form
.
resetFields
();
},
handleClose
()
{
this
.
$refs
.
form
.
resetFields
();
this
.
Visible
=
false
;
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
\ No newline at end of file
base-manager-ui/admin/src/pages/basicset/addmatter/group/addPursuant.vue
View file @
09eb6ce6
...
@@ -17,21 +17,6 @@
...
@@ -17,21 +17,6 @@
:rules=
"rules"
:rules=
"rules"
:model=
"form"
:model=
"form"
>
>
<!-- <a-form-model-item label="所属事项" prop="matterId">
<a-select
allowClear
@select="handleSelect"
v-model="form.matterId"
placeholder="请选择所属事项"
>
<a-select-option
v-for="v in matterList"
:key="v.id"
:value="v.matterId"
>{{ v.matterName }}</a-select-option
>
</a-select>
</a-form-model-item> -->
<a-form-model-item
label=
"法规名称"
prop=
"policyName"
>
<a-form-model-item
label=
"法规名称"
prop=
"policyName"
>
<a-input
placeholder=
"请输入法规名称"
v-model=
"form.policyName"
/>
<a-input
placeholder=
"请输入法规名称"
v-model=
"form.policyName"
/>
</a-form-model-item>
</a-form-model-item>
...
...
base-manager-ui/admin/src/pages/basicset/addmatter/group/addmaterials.vue
View file @
09eb6ce6
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
width=
"820px"
width=
"820px"
:visible=
"Visible"
:visible=
"Visible"
@
cancel=
"handleOff"
@
cancel=
"handleOff"
:maskClosable=
"false"
>
>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<a-button
@
click=
"handleInit"
>
重置
</a-button>
<a-button
@
click=
"handleInit"
>
重置
</a-button>
...
@@ -23,7 +24,7 @@
...
@@ -23,7 +24,7 @@
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
prop=
"materialProperty"
label=
"材料形式
:
"
>
<a-form-model-item
prop=
"materialProperty"
label=
"材料形式"
>
<a-select
<a-select
v-model=
"form.materialProperty"
v-model=
"form.materialProperty"
placeholder=
"请选择材料形式"
placeholder=
"请选择材料形式"
...
@@ -436,8 +437,8 @@ export default {
...
@@ -436,8 +437,8 @@ export default {
onEdit
(
data
)
{
onEdit
(
data
)
{
this
.
addTitle
=
"
编辑材料
"
;
this
.
addTitle
=
"
编辑材料
"
;
let
{
matterDatumFileList
}
=
data
;
let
{
matterDatumFileList
}
=
data
;
let
emptyFile
=
matterDatumFileList
.
filter
((
v
)
=>
v
.
filetype
==
=
2
);
let
emptyFile
=
matterDatumFileList
.
filter
((
v
)
=>
v
.
filetype
==
2
);
let
exampleFile
=
matterDatumFileList
.
filter
((
v
)
=>
v
.
filetype
==
=
1
);
let
exampleFile
=
matterDatumFileList
.
filter
((
v
)
=>
v
.
filetype
==
1
);
if
(
emptyFile
.
length
>
0
)
{
if
(
emptyFile
.
length
>
0
)
{
this
.
fileList2
=
emptyFile
.
map
((
v
)
=>
{
this
.
fileList2
=
emptyFile
.
map
((
v
)
=>
{
return
{
return
{
...
...
base-manager-ui/admin/src/pages/basicset/addmatter/group/downloadTable.vue
View file @
09eb6ce6
...
@@ -104,11 +104,9 @@ export default {
...
@@ -104,11 +104,9 @@ export default {
{
responseType
:
"
blob
"
}
{
responseType
:
"
blob
"
}
);
);
let
data
=
res
.
data
;
let
data
=
res
.
data
;
console
.
log
(
res
);
const
blob
=
new
Blob
([
data
],
{
const
blob
=
new
Blob
([
data
],
{
type
:
type
,
type
:
type
,
});
});
console
.
log
(
blob
);
const
link
=
document
.
createElement
(
"
a
"
);
const
link
=
document
.
createElement
(
"
a
"
);
link
.
href
=
URL
.
createObjectURL
(
blob
);
link
.
href
=
URL
.
createObjectURL
(
blob
);
link
.
setAttribute
(
"
download
"
,
row
.
fileName
);
// 设置下载文件名称
link
.
setAttribute
(
"
download
"
,
row
.
fileName
);
// 设置下载文件名称
...
@@ -118,54 +116,8 @@ export default {
...
@@ -118,54 +116,8 @@ export default {
},
},
handleClick
(
row
)
{
handleClick
(
row
)
{
// let res = await download(
// { datumId: row.datumId },
// { responseType: "blob" }
// );
// let data = res.data;
// console.log(res);
// const blob = new Blob([data], {
// type: "application/octet-stream",
// });
// const link = document.createElement("a");
// link.href = URL.createObjectURL(blob);
// link.setAttribute("download", row.fileName); // 设置下载文件名称
// document.body.appendChild(link);
// link.click();
// document.body.appendChild(link);
let
index
=
row
.
fileUrl
.
lastIndexOf
(
"
.
"
);
let
index
=
row
.
fileUrl
.
lastIndexOf
(
"
.
"
);
let
str
=
row
.
fileUrl
.
slice
(
index
+
1
);
let
str
=
row
.
fileUrl
.
slice
(
index
+
1
);
console
.
log
(
str
);
// switch (str) {
// case "jpg" || "jpeg":
// this.downloadFile(row, "image/jpeg");
// break;
// case "png":
// this.downloadFile(row, "image/png");
// break;
// case "xls":
// this.downloadFile(row, "application/vnd.ms-excel");
// break;
// case "xlsx":
// this.downloadFile(
// row,
// "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
// );
// break;
// case "doc":
// this.downloadFile(row, "application/msword");
// break;
// case "docx":
// this.downloadFile(
// row,
// "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
// );
// break;
// case "pdf":
// this.downloadFile(row, "application/pdf");
// break;
// }
if
(
str
===
"
png
"
||
str
===
"
jpg
"
||
str
===
"
jpeg
"
)
{
if
(
str
===
"
png
"
||
str
===
"
jpg
"
||
str
===
"
jpeg
"
)
{
this
.
downloadByBlob
(
row
.
fileUrl
,
row
.
fileName
);
this
.
downloadByBlob
(
row
.
fileUrl
,
row
.
fileName
);
}
else
{
}
else
{
...
...
base-manager-ui/admin/src/pages/basicset/addmatter/group/materialDetails.vue
View file @
09eb6ce6
...
@@ -5,163 +5,61 @@
...
@@ -5,163 +5,61 @@
@
cancel=
"Visible = false"
@
cancel=
"Visible = false"
:footer=
"null"
:footer=
"null"
title=
"查看更多"
title=
"查看更多"
width=
"50%"
>
>
<a-form-model
<a-descriptions
bordered
:column=
"2"
>
:model=
"detailsData"
<a-descriptions-item
label=
"材料名称"
:span=
"2"
>
:label-col=
"
{ span: 10 }"
{{
detailsData
.
materialName
}}
:wrapper-col="{ span: 14 }"
</a-descriptions-item>
>
<a-descriptions-item
label=
"材料形式"
>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
{{
filterData
(
detailsData
.
materialProperty
,
dict
.
materialProperty
)
}}
<a-col
:span=
"24"
>
</a-descriptions-item>
<a-form-model-item
<a-descriptions-item
label=
"材料必要性"
>
label=
"材料名称"
{{
filterData
(
detailsData
.
isMust
,
dict
.
isMust
)
}}
:label-col=
"
{ span: 5 }"
</a-descriptions-item>
:wrapper-col="{ span: 19 }"
<a-descriptions-item
label=
"材料类型"
>
>
{{
filterData
(
detailsData
.
materialType
,
dict
.
materialType
)
}}
<span>
{{
detailsData
.
materialName
}}
</span>
</a-descriptions-item>
</a-form-model-item>
<a-descriptions-item
label=
"电子材料格式"
>
</a-col>
{{
filterData
(
detailsData
.
electronicgs
,
dict
.
electronicgs
)
}}
</a-row>
</a-descriptions-item>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-descriptions-item
label=
"来源渠道"
>
<a-col
:span=
"24"
>
{{
filterData
(
detailsData
.
materialSource
,
dict
.
materialSource
)
}}
<a-form-model-item
</a-descriptions-item>
label=
"所属事项"
<a-descriptions-item
label=
"来源渠道说明"
>
:label-col=
"
{ span: 5 }"
{{
detailsData
.
materialSourceSm
||
"
--
"
}}
:wrapper-col="{ span: 19 }"
</a-descriptions-item>
>
<a-descriptions-item
label=
"纸质材料份数"
>
<span>
{{
detailsData
.
matterName
}}
</span>
{{
detailsData
.
paperNum
||
"
--
"
}}
</a-form-model-item>
</a-descriptions-item>
</a-col>
<a-descriptions-item
label=
"纸质材料规格"
>
</a-row>
{{
filterData
(
detailsData
.
paperGg
,
dict
.
paperGg
)
}}
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
</a-descriptions-item>
<a-col
:span=
"12"
>
<a-descriptions-item
label=
"盖章或盖手印方式"
>
<a-form-model-item
label=
"材料形式:"
>
{{
filterData
(
detailsData
.
sealWay
,
dict
.
sealWay
)
}}
<span>
{{
detailsData
.
materialProperty
}}
</span>
</a-descriptions-item>
</a-form-model-item>
<a-descriptions-item
label=
"是否容缺"
>
</a-col>
{{
filterData
(
detailsData
.
isLack
,
dict
.
isLack
)
}}
<a-col
:span=
"12"
>
</a-descriptions-item>
<a-form-model-item
label=
"材料必要性:"
>
<a-descriptions-item
label=
"是否减免"
>
<span>
{{
detailsData
.
isMust
}}
</span>
{{
filterData
(
detailsData
.
isjianm
,
dict
.
isjianm
)
}}
</a-form-model-item>
</a-descriptions-item>
</a-col>
<a-descriptions-item
label=
"减免模式"
>
</a-row>
{{
filterData
(
detailsData
.
jianmMs
,
dict
.
jianmMs
)
}}
</a-descriptions-item>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-descriptions-item
label=
"填报须知"
:span=
"2"
>
<a-col
:span=
"12"
>
{{
detailsData
.
remarkSub
||
"
--
"
}}
<a-form-model-item
label=
"材料类型:"
>
</a-descriptions-item>
<span>
{{
detailsData
.
materialType
}}
</span>
<a-descriptions-item
label=
"受理标准"
:span=
"2"
>
</a-form-model-item>
{{
detailsData
.
summary
||
"
--
"
}}
</a-col>
</a-descriptions-item>
<a-col
:span=
"12"
>
<a-descriptions-item
label=
"要求提供材料的依据"
:span=
"2"
>
<a-form-model-item
label=
"电子材料格式:"
>
{{
detailsData
.
clauseContent
||
"
--
"
}}
<span>
{{
detailsData
.
electronicgs
}}
</span>
</a-descriptions-item>
</a-form-model-item>
<a-descriptions-item
label=
"备注"
:span=
"2"
>
</a-col>
{{
detailsData
.
remark
||
"
--
"
}}
</a-row>
</a-descriptions-item>
</a-descriptions>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"来源渠道:"
>
<span>
{{
detailsData
.
materialSource
}}
</span>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"纸质材料份数:"
>
<span>
{{
detailsData
.
paperNum
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"纸质材料规格:"
>
<span>
{{
detailsData
.
paperGg
}}
</span>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"减免模式:"
>
<span>
{{
detailsData
.
jianmMs
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"盖印方式:"
>
<span>
{{
detailsData
.
sealWay
}}
</span>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"是否减免:"
>
<span>
{{
detailsData
.
isjianm
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"是否容缺:"
>
<span>
{{
detailsData
.
isLack
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"来源渠道说明:"
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
>
<span>
{{
detailsData
.
materialSourceSm
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"填报须知"
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
>
<span>
{{
detailsData
.
remarkSub
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"受理标准"
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
>
<span>
{{
detailsData
.
summary
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"提供材料依据"
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
>
<span>
{{
detailsData
.
clauseContent
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"[8, 20]"
type=
"flex"
justify=
"start"
>
<a-col
:span=
"24"
>
<a-form-model-item
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
label="备注:"
>
<span>
{{
detailsData
.
remark
}}
</span>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</a-modal>
</div>
</div>
</
template
>
</
template
>
...
@@ -170,10 +68,19 @@
...
@@ -170,10 +68,19 @@
export
default
{
export
default
{
props
:
{
props
:
{
detailsVisible
:
{
detailsVisible
:
{
required
:
true
,
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
detailsData
:
{
detailsData
:
{
required
:
true
,
type
:
Object
,
default
()
{
return
{};
},
},
dict
:
{
required
:
true
,
type
:
Object
,
type
:
Object
,
default
()
{
default
()
{
return
{};
return
{};
...
@@ -190,12 +97,24 @@ export default {
...
@@ -190,12 +97,24 @@ export default {
},
},
},
},
},
},
methods
:
{
// 过滤数据
filterData
(
val
,
dict
=
{})
{
let
str
=
""
;
Object
.
keys
(
dict
).
forEach
((
keys
)
=>
{
if
(
val
==
keys
)
{
str
=
dict
[
keys
];
}
});
return
str
||
"
--
"
;
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
/deep/.ant-modal-body {
/deep/.ant-modal-body {
height:
5
00px;
height:
6
00px;
overflow-y: scroll;
overflow-y: scroll;
}
}
</
style
>
</
style
>
\ No newline at end of file
base-manager-ui/admin/src/pages/basicset/dept/components/addwindow.vue
View file @
09eb6ce6
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
deptId
:
undefined
,
// 部门id
deptId
:
undefined
,
// 部门id
deptName
:
undefined
,
// 部门名称
deptName
:
undefined
,
// 部门名称
deptNumber
:
""
,
// 部门编号
deptNumber
:
""
,
// 部门编号
name
:
""
,
// 窗口名称
name
:
"
综合窗口
"
,
// 窗口名称
englishName
:
""
,
// 英语窗口名称
englishName
:
""
,
// 英语窗口名称
region
:
""
,
// 区域
region
:
""
,
// 区域
englishRegion
:
""
,
// 英语区域
englishRegion
:
""
,
// 英语区域
...
...
base-manager-ui/admin/src/services/matter.js
View file @
09eb6ce6
...
@@ -145,6 +145,14 @@ export async function addMatterintermediary(data) {
...
@@ -145,6 +145,14 @@ export async function addMatterintermediary(data) {
export
async
function
addMatterflowlimit
(
data
)
{
export
async
function
addMatterflowlimit
(
data
)
{
return
request
(
matterflowlimit
.
save
,
METHOD
.
POST
,
data
);
return
request
(
matterflowlimit
.
save
,
METHOD
.
POST
,
data
);
}
}
// 获取办理流程列表
export
async
function
getMatterflowlimitList
(
data
)
{
return
request
(
matterflowlimit
.
list
,
METHOD
.
POST
,
data
);
}
// 删除流程
export
async
function
delMatterflowlimit
(
data
)
{
return
request
(
matterflowlimit
.
delete
,
METHOD
.
GET
,
data
);
}
/**
/**
* 收费标准
* 收费标准
...
...
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