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
c6fb657f
Commit
c6fb657f
authored
Nov 02, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患
parent
eeb3bed1
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2165 additions
and
47 deletions
+2165
-47
enterSafetyRecords.js
src/api/dangerManagement/enterSafetyRecords.js
+38
-0
index.js
src/router/index.js
+1
-1
edit.vue
...ngerManagement/dangerRectificationRecord/autoGen/edit.vue
+263
-0
index.vue
...gerManagement/dangerRectificationRecord/autoGen/index.vue
+134
-0
edit.vue
...iews/dangerManagement/dangerReviewRecord/autoGen/edit.vue
+263
-0
index.vue
...ews/dangerManagement/dangerReviewRecord/autoGen/index.vue
+134
-0
edit.vue
...iews/dangerManagement/enterSafetyRecords/autoGen/edit.vue
+263
-0
index.vue
...ews/dangerManagement/enterSafetyRecords/autoGen/index.vue
+134
-0
edit.vue
src/views/dangerManagement/maintenanceDg/autoGen/edit.vue
+23
-46
index.vue
src/views/dangerManagement/maintenanceDg/autoGen/index.vue
+118
-0
edit.vue
...iews/dangerManagement/queryDangerRecords/autoGen/edit.vue
+263
-0
index.vue
...ews/dangerManagement/queryDangerRecords/autoGen/index.vue
+134
-0
edit.vue
...ws/dangerManagement/safetyDisposalRecord/autoGen/edit.vue
+263
-0
index.vue
...s/dangerManagement/safetyDisposalRecord/autoGen/index.vue
+134
-0
No files found.
src/api/
basicData/aqgg
.js
→
src/api/
dangerManagement/enterSafetyRecords
.js
View file @
c6fb657f
...
...
@@ -2,33 +2,33 @@ import request from 'common/src/utils/request'
/* 角色管理query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg
/query'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/yhgl/yhjl
/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 角色管理更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg
/update'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/yhgl/yhjl
/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg
/add'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/yhgl/yhjl
/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg
/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/yhgl/yhjl
/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
...
...
src/router/index.js
View file @
c6fb657f
...
...
@@ -1025,7 +1025,7 @@ export const dynamicRoutes = [
}
]
},
]
// 防止连续点击多次路由报错
...
...
src/views/dangerManagement/dangerRectificationRecord/autoGen/edit.vue
0 → 100644
View file @
c6fb657f
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"发现日期"
ref=
"fxrq"
prop=
"fxrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fxrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"风险点"
ref=
"fxd"
prop=
"fxd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患地点"
ref=
"yhdd"
prop=
"yhdd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yhdd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"上报级别"
ref=
"sbjb"
prop=
"sbjb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sbjb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"内容"
ref=
"nr"
prop=
"nr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任部门"
ref=
"bmid"
prop=
"bmid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"制定整改方案"
ref=
"zdzgfa"
prop=
"zdzgfa"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zdzgfa"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任人"
ref=
"zrr"
prop=
"zrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患等级"
ref=
"dj"
prop=
"dj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理人"
ref=
"clr"
prop=
"clr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理时间"
ref=
"clsj"
prop=
"clsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.clsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理方法"
ref=
"clff"
prop=
"clff"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clff"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查人"
ref=
"fcr"
prop=
"fcr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查时间"
ref=
"fcsj"
prop=
"fcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查结果"
ref=
"fcjg"
prop=
"fcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置人"
ref=
"czr"
prop=
"czr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置时间"
ref=
"czsj"
prop=
"czsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.czsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置意见"
ref=
"czyj"
prop=
"czyj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czyj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"工作流状态"
ref=
"wfpname"
prop=
"wfpname"
>
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/yhglYhjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
fxrq
:
new
Date
().
getTime
(),
fxd
:
''
,
yhdd
:
''
,
sbjb
:
''
,
nr
:
''
,
bmid
:
''
,
zdzgfa
:
''
,
zrr
:
''
,
dj
:
''
,
flid
:
''
,
clr
:
''
,
clsj
:
new
Date
().
getTime
(),
clff
:
''
,
fcr
:
''
,
fcsj
:
new
Date
().
getTime
(),
fcjg
:
''
,
czr
:
''
,
czsj
:
new
Date
().
getTime
(),
czyj
:
''
,
zt
:
''
,
attachcount
:
''
,
bz
:
''
,
wfid
:
''
,
wfinstid
:
''
,
wfpid
:
''
,
wfpname
:
''
,
wfwuserid
:
''
,
wfwusername
:
''
,
wfhuserid
:
''
,
wfhusername
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/dangerManagement/dangerRectificationRecord/autoGen/index.vue
0 → 100644
View file @
c6fb657f
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/yhglYhjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"发现日期"
,
prop
:
"fxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患地点"
,
prop
:
"yhdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上报级别"
,
prop
:
"sbjb"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"责任部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"制定整改方案"
,
prop
:
"zdzgfa"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"责任人"
,
prop
:
"zrr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患等级"
,
prop
:
"dj"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理人"
,
prop
:
"clr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理时间"
,
prop
:
"clsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处理方法"
,
prop
:
"clff"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"复查人"
,
prop
:
"fcr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"复查时间"
,
prop
:
"fcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复查结果"
,
prop
:
"fcjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"处置人"
,
prop
:
"czr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处置时间"
,
prop
:
"czsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处置意见"
,
prop
:
"czyj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/dangerManagement/dangerReviewRecord/autoGen/edit.vue
0 → 100644
View file @
c6fb657f
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"发现日期"
ref=
"fxrq"
prop=
"fxrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fxrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"风险点"
ref=
"fxd"
prop=
"fxd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患地点"
ref=
"yhdd"
prop=
"yhdd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yhdd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"上报级别"
ref=
"sbjb"
prop=
"sbjb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sbjb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"内容"
ref=
"nr"
prop=
"nr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任部门"
ref=
"bmid"
prop=
"bmid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"制定整改方案"
ref=
"zdzgfa"
prop=
"zdzgfa"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zdzgfa"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任人"
ref=
"zrr"
prop=
"zrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患等级"
ref=
"dj"
prop=
"dj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理人"
ref=
"clr"
prop=
"clr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理时间"
ref=
"clsj"
prop=
"clsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.clsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理方法"
ref=
"clff"
prop=
"clff"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clff"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查人"
ref=
"fcr"
prop=
"fcr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查时间"
ref=
"fcsj"
prop=
"fcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查结果"
ref=
"fcjg"
prop=
"fcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置人"
ref=
"czr"
prop=
"czr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置时间"
ref=
"czsj"
prop=
"czsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.czsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置意见"
ref=
"czyj"
prop=
"czyj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czyj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"工作流状态"
ref=
"wfpname"
prop=
"wfpname"
>
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/yhglYhjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
fxrq
:
new
Date
().
getTime
(),
fxd
:
''
,
yhdd
:
''
,
sbjb
:
''
,
nr
:
''
,
bmid
:
''
,
zdzgfa
:
''
,
zrr
:
''
,
dj
:
''
,
flid
:
''
,
clr
:
''
,
clsj
:
new
Date
().
getTime
(),
clff
:
''
,
fcr
:
''
,
fcsj
:
new
Date
().
getTime
(),
fcjg
:
''
,
czr
:
''
,
czsj
:
new
Date
().
getTime
(),
czyj
:
''
,
zt
:
''
,
attachcount
:
''
,
bz
:
''
,
wfid
:
''
,
wfinstid
:
''
,
wfpid
:
''
,
wfpname
:
''
,
wfwuserid
:
''
,
wfwusername
:
''
,
wfhuserid
:
''
,
wfhusername
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/dangerManagement/dangerReviewRecord/autoGen/index.vue
0 → 100644
View file @
c6fb657f
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/yhglYhjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"发现日期"
,
prop
:
"fxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患地点"
,
prop
:
"yhdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上报级别"
,
prop
:
"sbjb"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"责任部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"制定整改方案"
,
prop
:
"zdzgfa"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"责任人"
,
prop
:
"zrr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患等级"
,
prop
:
"dj"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理人"
,
prop
:
"clr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理时间"
,
prop
:
"clsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处理方法"
,
prop
:
"clff"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"复查人"
,
prop
:
"fcr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"复查时间"
,
prop
:
"fcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复查结果"
,
prop
:
"fcjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"处置人"
,
prop
:
"czr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处置时间"
,
prop
:
"czsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处置意见"
,
prop
:
"czyj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/dangerManagement/enterSafetyRecords/autoGen/edit.vue
0 → 100644
View file @
c6fb657f
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"发现日期"
ref=
"fxrq"
prop=
"fxrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fxrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"风险点"
ref=
"fxd"
prop=
"fxd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患地点"
ref=
"yhdd"
prop=
"yhdd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yhdd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"上报级别"
ref=
"sbjb"
prop=
"sbjb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sbjb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"内容"
ref=
"nr"
prop=
"nr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任部门"
ref=
"bmid"
prop=
"bmid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"制定整改方案"
ref=
"zdzgfa"
prop=
"zdzgfa"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zdzgfa"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任人"
ref=
"zrr"
prop=
"zrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患等级"
ref=
"dj"
prop=
"dj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理人"
ref=
"clr"
prop=
"clr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理时间"
ref=
"clsj"
prop=
"clsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.clsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理方法"
ref=
"clff"
prop=
"clff"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clff"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查人"
ref=
"fcr"
prop=
"fcr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查时间"
ref=
"fcsj"
prop=
"fcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查结果"
ref=
"fcjg"
prop=
"fcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置人"
ref=
"czr"
prop=
"czr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置时间"
ref=
"czsj"
prop=
"czsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.czsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置意见"
ref=
"czyj"
prop=
"czyj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czyj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"工作流状态"
ref=
"wfpname"
prop=
"wfpname"
>
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/yhglYhjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
fxrq
:
new
Date
().
getTime
(),
fxd
:
''
,
yhdd
:
''
,
sbjb
:
''
,
nr
:
''
,
bmid
:
''
,
zdzgfa
:
''
,
zrr
:
''
,
dj
:
''
,
flid
:
''
,
clr
:
''
,
clsj
:
new
Date
().
getTime
(),
clff
:
''
,
fcr
:
''
,
fcsj
:
new
Date
().
getTime
(),
fcjg
:
''
,
czr
:
''
,
czsj
:
new
Date
().
getTime
(),
czyj
:
''
,
zt
:
''
,
attachcount
:
''
,
bz
:
''
,
wfid
:
''
,
wfinstid
:
''
,
wfpid
:
''
,
wfpname
:
''
,
wfwuserid
:
''
,
wfwusername
:
''
,
wfhuserid
:
''
,
wfhusername
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/dangerManagement/enterSafetyRecords/autoGen/index.vue
0 → 100644
View file @
c6fb657f
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/yhglYhjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"发现日期"
,
prop
:
"fxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患地点"
,
prop
:
"yhdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上报级别"
,
prop
:
"sbjb"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"责任部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"制定整改方案"
,
prop
:
"zdzgfa"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"责任人"
,
prop
:
"zrr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患等级"
,
prop
:
"dj"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理人"
,
prop
:
"clr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理时间"
,
prop
:
"clsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处理方法"
,
prop
:
"clff"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"复查人"
,
prop
:
"fcr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"复查时间"
,
prop
:
"fcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复查结果"
,
prop
:
"fcjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"处置人"
,
prop
:
"czr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处置时间"
,
prop
:
"czsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处置意见"
,
prop
:
"czyj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/
basicData/aqgg
/edit.vue
→
src/views/
dangerManagement/maintenanceDg/autoGen
/edit.vue
View file @
c6fb657f
...
...
@@ -4,70 +4,49 @@
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
">标题"
ref=
"title"
prop=
"title"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.title"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
">内容"
ref=
"content"
prop=
"content"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.content"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"项目"
ref=
"xm"
prop=
"xm"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xm"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"
>公告日期"
ref=
"ggrq"
prop=
"ggrq
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
ggrq"
"
></el-input>
<el-form-item
label=
"
隐患等级"
ref=
"yhdj"
prop=
"yhdj
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
yhdj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
>有效期"
ref=
"yxrq"
prop=
"yxrq
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
yxrq"
"
></el-input>
<el-form-item
label=
"
考核分数"
ref=
"khfs"
prop=
"khfs
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
khfs"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
">发布部门"
ref=
"bmid"
prop=
"bmid"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.bmid"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"罚款金额"
ref=
"fkje"
prop=
"fkje"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fkje"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
">附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.attachcount"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"内容"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
">目录"
ref=
"mlid"
prop=
"mlid"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.mlid"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
">备注"
ref=
"bz"
prop=
"bz"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.bz"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
">系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.sysversion"
placeholder=
"选择日期"
>
</el-date-picker>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -83,7 +62,7 @@
},
/* 组件名称*/
name
:
"aqgl
Aqgg
Edit"
,
name
:
"aqgl
/yhglYhbz
Edit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
...
...
@@ -98,19 +77,17 @@
form
:
{
id
:
''
,
title
:
''
,
content
:
''
,
flid
:
''
,
ggrq
:
new
Date
().
getTime
()
,
xm
:
''
,
y
xrq
:
new
Date
().
getTime
()
,
y
hdj
:
''
,
bmid
:
''
,
khfs
:
''
,
attachcount
:
''
,
fkje
:
''
,
mlid
:
''
,
content
:
''
,
bz
:
''
,
...
...
src/views/
basicData/aqgg
/index.vue
→
src/views/
dangerManagement/maintenanceDg/autoGen
/index.vue
View file @
c6fb657f
...
...
@@ -46,7 +46,7 @@
doUpdate
,
doDelete
,
doExport
}
from
'@/api/basicData/aqgg.js'
;
}
from
"@/api/dangerManagement/maintenanceDg.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
...
...
@@ -54,60 +54,59 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl
Aqgg
'
,
name
:
'aqgl
/yhglYhbz
'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/aqgg'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"标题"
,
prop
:
"title"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"公告日期"
,
prop
:
"ggrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"发布部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"目录"
,
prop
:
"mlid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhbz'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"项目"
,
prop
:
"xm"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患等级"
,
prop
:
"yhdj"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"考核分数"
,
prop
:
"khfs"
,
fieldType
:
"int"
},
{
label
:
"罚款金额"
,
prop
:
"fkje"
,
fieldType
:
"int"
},
{
label
:
"内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
},
components
:
{
Edit
,
}
}
...
...
src/views/dangerManagement/queryDangerRecords/autoGen/edit.vue
0 → 100644
View file @
c6fb657f
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"发现日期"
ref=
"fxrq"
prop=
"fxrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fxrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"风险点"
ref=
"fxd"
prop=
"fxd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患地点"
ref=
"yhdd"
prop=
"yhdd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yhdd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"上报级别"
ref=
"sbjb"
prop=
"sbjb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sbjb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"内容"
ref=
"nr"
prop=
"nr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任部门"
ref=
"bmid"
prop=
"bmid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"制定整改方案"
ref=
"zdzgfa"
prop=
"zdzgfa"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zdzgfa"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任人"
ref=
"zrr"
prop=
"zrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患等级"
ref=
"dj"
prop=
"dj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理人"
ref=
"clr"
prop=
"clr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理时间"
ref=
"clsj"
prop=
"clsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.clsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理方法"
ref=
"clff"
prop=
"clff"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clff"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查人"
ref=
"fcr"
prop=
"fcr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查时间"
ref=
"fcsj"
prop=
"fcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查结果"
ref=
"fcjg"
prop=
"fcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置人"
ref=
"czr"
prop=
"czr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置时间"
ref=
"czsj"
prop=
"czsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.czsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置意见"
ref=
"czyj"
prop=
"czyj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czyj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"工作流状态"
ref=
"wfpname"
prop=
"wfpname"
>
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/yhglYhjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
fxrq
:
new
Date
().
getTime
(),
fxd
:
''
,
yhdd
:
''
,
sbjb
:
''
,
nr
:
''
,
bmid
:
''
,
zdzgfa
:
''
,
zrr
:
''
,
dj
:
''
,
flid
:
''
,
clr
:
''
,
clsj
:
new
Date
().
getTime
(),
clff
:
''
,
fcr
:
''
,
fcsj
:
new
Date
().
getTime
(),
fcjg
:
''
,
czr
:
''
,
czsj
:
new
Date
().
getTime
(),
czyj
:
''
,
zt
:
''
,
attachcount
:
''
,
bz
:
''
,
wfid
:
''
,
wfinstid
:
''
,
wfpid
:
''
,
wfpname
:
''
,
wfwuserid
:
''
,
wfwusername
:
''
,
wfhuserid
:
''
,
wfhusername
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/dangerManagement/queryDangerRecords/autoGen/index.vue
0 → 100644
View file @
c6fb657f
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/yhglYhjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"发现日期"
,
prop
:
"fxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患地点"
,
prop
:
"yhdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上报级别"
,
prop
:
"sbjb"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"责任部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"制定整改方案"
,
prop
:
"zdzgfa"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"责任人"
,
prop
:
"zrr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患等级"
,
prop
:
"dj"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理人"
,
prop
:
"clr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理时间"
,
prop
:
"clsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处理方法"
,
prop
:
"clff"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"复查人"
,
prop
:
"fcr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"复查时间"
,
prop
:
"fcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复查结果"
,
prop
:
"fcjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"处置人"
,
prop
:
"czr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处置时间"
,
prop
:
"czsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处置意见"
,
prop
:
"czyj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/dangerManagement/safetyDisposalRecord/autoGen/edit.vue
0 → 100644
View file @
c6fb657f
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"发现日期"
ref=
"fxrq"
prop=
"fxrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fxrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"风险点"
ref=
"fxd"
prop=
"fxd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患地点"
ref=
"yhdd"
prop=
"yhdd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yhdd"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"上报级别"
ref=
"sbjb"
prop=
"sbjb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sbjb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"内容"
ref=
"nr"
prop=
"nr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任部门"
ref=
"bmid"
prop=
"bmid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"制定整改方案"
ref=
"zdzgfa"
prop=
"zdzgfa"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zdzgfa"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"责任人"
ref=
"zrr"
prop=
"zrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患等级"
ref=
"dj"
prop=
"dj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"隐患分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理人"
ref=
"clr"
prop=
"clr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理时间"
ref=
"clsj"
prop=
"clsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.clsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处理方法"
ref=
"clff"
prop=
"clff"
>
<el-input
:readonly=
"readonly"
v-model=
"form.clff"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查人"
ref=
"fcr"
prop=
"fcr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查时间"
ref=
"fcsj"
prop=
"fcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.fcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"复查结果"
ref=
"fcjg"
prop=
"fcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置人"
ref=
"czr"
prop=
"czr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置时间"
ref=
"czsj"
prop=
"czsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.czsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"处置意见"
ref=
"czyj"
prop=
"czyj"
>
<el-input
:readonly=
"readonly"
v-model=
"form.czyj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"工作流状态"
ref=
"wfpname"
prop=
"wfpname"
>
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4.8"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/yhglYhjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
fxrq
:
new
Date
().
getTime
(),
fxd
:
''
,
yhdd
:
''
,
sbjb
:
''
,
nr
:
''
,
bmid
:
''
,
zdzgfa
:
''
,
zrr
:
''
,
dj
:
''
,
flid
:
''
,
clr
:
''
,
clsj
:
new
Date
().
getTime
(),
clff
:
''
,
fcr
:
''
,
fcsj
:
new
Date
().
getTime
(),
fcjg
:
''
,
czr
:
''
,
czsj
:
new
Date
().
getTime
(),
czyj
:
''
,
zt
:
''
,
attachcount
:
''
,
bz
:
''
,
wfid
:
''
,
wfinstid
:
''
,
wfpid
:
''
,
wfpname
:
''
,
wfwuserid
:
''
,
wfwusername
:
''
,
wfhuserid
:
''
,
wfhusername
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/dangerManagement/safetyDisposalRecord/autoGen/index.vue
0 → 100644
View file @
c6fb657f
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/yhglYhjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yhgl/yhjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"发现日期"
,
prop
:
"fxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"隐患地点"
,
prop
:
"yhdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上报级别"
,
prop
:
"sbjb"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"责任部门"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"制定整改方案"
,
prop
:
"zdzgfa"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"责任人"
,
prop
:
"zrr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患等级"
,
prop
:
"dj"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"隐患分类"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理人"
,
prop
:
"clr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处理时间"
,
prop
:
"clsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处理方法"
,
prop
:
"clff"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"复查人"
,
prop
:
"fcr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"复查时间"
,
prop
:
"fcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复查结果"
,
prop
:
"fcjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"处置人"
,
prop
:
"czr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"处置时间"
,
prop
:
"czsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处置意见"
,
prop
:
"czyj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
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