Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
fc79ef4e
Commit
fc79ef4e
authored
Nov 17, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加公共庫
parent
a83db9e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
...ui/admin/src/pages/software/materials/MaterialsManage.vue
+10
-9
sample-form-manager/db/module.sql
sample-form-manager/db/module.sql
+3
-4
No files found.
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
View file @
fc79ef4e
...
...
@@ -12,7 +12,7 @@
}}
</el-button>
</div>
<div
slot=
"right"
class=
"flex"
>
<!--
<el-select
<el-select
v-model=
"departmentLeft"
size=
"small"
placeholder=
"选择部门"
...
...
@@ -28,7 +28,7 @@
:
value
=
"
item.id
"
>
<
/el-option
>
<
/el-select>
--
>
<
/el-select
>
<
el
-
input
size
=
"
small
"
v
-
model
=
"
leftSearch
"
...
...
@@ -130,7 +130,7 @@
>
<
/div
>
<
div
slot
=
"
right
"
class
=
"
flex
"
>
<!--
<
el
-
select
<
el
-
select
v
-
model
=
"
departmentRight
"
size
=
"
small
"
placeholder
=
"
选择部门
"
...
...
@@ -138,17 +138,17 @@
>
<
template
slot
=
"
prefix
"
>
{{
(
deptList
.
find
((
v
)
=>
v
.
id
===
departmentRight
)
||
{
}
).
name
(
deptList
.
find
((
v
)
=>
v
.
deptNumber
===
departmentRight
)
||
{
}
).
name
}}
<
/template
>
<
el
-
option
v
-
for
=
"
item in deptList
"
:
key
=
"
item.
id
"
:
key
=
"
item.
deptNumber
"
:
label
=
"
item.name
"
:
value
=
"
item.
id
"
:
value
=
"
item.
deptNumber
"
>
<
/el-option
>
<
/el-select>
--
>
<
/el-select
>
<
el
-
input
size
=
"
small
"
style
=
"
width: 200px
"
...
...
@@ -289,6 +289,7 @@ import {
recommendMaterials
,
}
from
"
@/api/materials
"
;
import
local
from
"
@/utils/local
"
;
import
{
mapGetters
}
from
"
vuex
"
;
export
default
{
components
:
{
TableHeader
,
...
...
@@ -333,7 +334,7 @@ export default {
this
.
getMaterialsList
();
}
,
computed
:
{
//
...mapGetters(["deptList"]),
...
mapGetters
([
"
deptList
"
]),
}
,
methods
:
{
// 系统事项列表
...
...
@@ -362,7 +363,7 @@ export default {
size
:
this
.
rightSize
,
materialName
:
this
.
rightSearch
,
matterId
:
this
.
activeDep
.
id
,
// deptId
: this.departmentRight,
deptCode
:
this
.
departmentRight
,
siteId
:
parseInt
(
this
.
siteId
),
}
);
let
{
data
,
total
,
recommendCount
}
=
res
.
data
.
data
;
...
...
sample-form-manager/db/module.sql
View file @
fc79ef4e
...
...
@@ -81,13 +81,12 @@ CREATE TABLE mortals_xhx_sheet_matter(
`createTime`
datetime
COMMENT
'创建时间'
,
`createUserId`
bigint
(
20
)
COMMENT
'创建用户'
,
`updateTime`
datetime
COMMENT
'修改时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`站点事项编码`
(
`matterNo`
,
`areaCode`
)
USING
BTREE
,
KEY
`区域`
(
`areaCode`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'基础事项'
;
-- ----------------------------
-- 事项申请材料业务表
-- ----------------------------
...
...
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