Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
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
李苏
sgaqgl-vue
Commits
53fd758e
Commit
53fd758e
authored
Dec 15, 2022
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全活动增加公司
parent
554bc8f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
9 deletions
+25
-9
edit.vue
src/views/safetyactivity/activityRecord/edit.vue
+11
-2
index.vue
src/views/safetyactivity/activityRecord/index.vue
+14
-7
No files found.
src/views/safetyactivity/activityRecord/edit.vue
View file @
53fd758e
...
...
@@ -11,12 +11,20 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
组织单位"
ref=
"bmid"
prop=
"bm
id"
>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryBz'
:readonly=
"readonly"
:match=
"
{value:'id',label:'bmmc'}" v-model='form.bm
id' >
</RelSelect>
<el-form-item
label=
"
公司"
ref=
"gsid"
prop=
"gs
id"
>
<RelSelect
:readonly=
"readonly"
filterable
style=
"width: 100%;"
src=
'/jcsj/common/bm/queryGs'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gs
id' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
-->
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"所属部门"
ref=
"bmid"
prop=
"bmid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
-->
<RelSelect
:readonly=
"readonly"
filterable
linkage
:linkParams=
"
{pid:form.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' :match="{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"活动内容"
ref=
"content"
prop=
"content"
>
...
...
@@ -54,6 +62,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
//ID
id
:
''
,
//活动日期
...
...
src/views/safetyactivity/activityRecord/index.vue
View file @
53fd758e
...
...
@@ -17,12 +17,18 @@
<el-date-picker
value-format=
"timestamp"
v-model=
"queryParams.jsrq"
></el-date-picker>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
部门:
</span>
<RelSelect
src=
'jcsj/common/bm/queryBz'
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
班组:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
...
...
@@ -89,8 +95,9 @@
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"活动日期"
,
prop
:
"hdrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"
组织单位
"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"
部门
"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"活动内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"活动结论"
,
prop
:
"hdjl"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
...
...
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