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
1e511164
Commit
1e511164
authored
Nov 04, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
c06fab82
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
642 additions
and
54 deletions
+642
-54
announcementManagement.js
src/api/basicData/announcementManagement.js
+2
-2
operationDcManagement.js
src/api/basicData/operationDcManagement.js
+4
-4
securityDocumentManagement.js
src/api/basicData/securityDocumentManagement.js
+3
-3
enterSafetyRecords.js
src/api/dangerManagement/enterSafetyRecords.js
+2
-2
maintenanceDg.js
src/api/dangerManagement/maintenanceDg.js
+2
-2
yhbzfl.js
src/api/dangerManagement/yhbzfl.js
+2
-2
yhfl.js
src/api/dangerManagement/yhfl.js
+2
-2
maintenanceRiskTask.js
src/api/riskPrecontrol/maintenanceRiskTask.js
+81
-0
screeningCriteria.js
src/api/riskPrecontrol/screeningCriteria.js
+4
-4
lessIndex.vue
src/views/basicData/operationDcManagement/lessIndex.vue
+1
-2
mainIndex.vue
src/views/basicData/operationDcManagement/mainIndex.vue
+1
-2
index.vue
...gerManagement/dangerRectificationRecord/autoGen/index.vue
+1
-2
index.vue
...iews/dangerManagement/dangerRectificationRecord/index.vue
+1
-2
index.vue
...ews/dangerManagement/dangerReviewRecord/autoGen/index.vue
+1
-2
index.vue
src/views/dangerManagement/dangerReviewRecord/index.vue
+1
-2
index.vue
...ews/dangerManagement/enterSafetyRecords/autoGen/index.vue
+1
-2
index.vue
src/views/dangerManagement/enterSafetyRecords/index.vue
+1
-2
index.vue
src/views/dangerManagement/maintenanceDg/autoGen/index.vue
+1
-2
index.vue
src/views/dangerManagement/maintenanceDg/index.vue
+1
-2
index.vue
...ews/dangerManagement/queryDangerRecords/autoGen/index.vue
+1
-2
index.vue
src/views/dangerManagement/queryDangerRecords/index.vue
+1
-2
index.vue
...s/dangerManagement/safetyDisposalRecord/autoGen/index.vue
+1
-2
index.vue
src/views/dangerManagement/safetyDisposalRecord/index.vue
+1
-2
edit.vue
src/views/riskPrecontrol/maintenanceRiskTask/dtl/edit.vue
+126
-0
index.vue
src/views/riskPrecontrol/maintenanceRiskTask/dtl/index.vue
+117
-0
edit.vue
src/views/riskPrecontrol/maintenanceRiskTask/main/edit.vue
+159
-0
index.vue
src/views/riskPrecontrol/maintenanceRiskTask/main/index.vue
+121
-0
index.vue
src/views/riskPrecontrol/screeningCriteria/jcnr/index.vue
+2
-3
index.vue
src/views/riskPrecontrol/screeningCriteria/main/index.vue
+1
-2
No files found.
src/api/basicData/announcementManagement.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqgg/update'
,
...
...
src/api/basicData/operationDcManagement.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/bzzywdml/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/bzzywdml/update'
,
...
...
@@ -32,7 +32,7 @@ export function doDelete(query) {
}
/*
角色管理
query */
/* query */
export
function
doQueryDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/bzzywd/query'
,
...
...
@@ -40,7 +40,7 @@ export function doQueryDtl(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdateDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/bzzywd/update'
,
...
...
src/api/basicData/securityDocumentManagement.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/update'
,
...
...
@@ -40,7 +40,7 @@ export function doQueryDtl(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdateDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwd/update'
,
...
...
src/api/dangerManagement/enterSafetyRecords.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhjl/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhjl/update'
,
...
...
src/api/dangerManagement/maintenanceDg.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhbz/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhbz/update'
,
...
...
src/api/dangerManagement/yhbzfl.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhbzfl/query'
,
...
...
@@ -8,7 +8,7 @@ method: 'post',
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhbzfl/update'
,
...
...
src/api/dangerManagement/yhfl.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhfl/query'
,
...
...
@@ -8,7 +8,7 @@ method: 'post',
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yhgl/yhfl/update'
,
...
...
src/api/riskPrecontrol/maintenanceRiskTask.js
0 → 100644
View file @
1e511164
import
request
from
'common/src/utils/request'
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxpc/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxpc/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxpc/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxpc/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/**
* 取主表ID作为MID
*/
/* query */
export
function
doQueryDtl
(
query
)
{
return
requestDtl
({
url
:
'/aqgl/fxyk/fxpcmx/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdateDtl
(
query
)
{
return
requestDtl
({
url
:
'/aqgl/fxyk/fxpcmx/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAddDtl
(
query
)
{
return
requestDtl
({
url
:
'/aqgl/fxyk/fxpcmx/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDeleteDtl
(
query
)
{
return
requestDtl
({
url
:
'/aqgl/fxyk/fxpcmx/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doQueryFxbz
(
query
)
{
return
requestDtl
({
url
:
'/aqgl/fxyk/fxpc/queryFxbz'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/riskPrecontrol/screeningCriteria.js
View file @
1e511164
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/* query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxbz/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxbz/update'
,
...
...
@@ -31,7 +31,7 @@ export function doDelete(query) {
})
}
/*
角色管理
query */
/* query */
export
function
doQueryJcnr
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxjcnr/query'
,
...
...
@@ -39,7 +39,7 @@ export function doQueryJcnr(query) {
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/* 更新 */
export
function
doUpdateJcnr
(
query
)
{
return
request
({
url
:
'/aqgl/fxyk/fxjcnr/update'
,
...
...
src/views/basicData/operationDcManagement/lessIndex.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQueryDtl
,
doAddDtl
,
doUpdateDtl
,
doDeleteDtl
,
doExport
doDeleteDtl
}
from
'@/api/basicData/operationDcManagement.js'
;
/* edit页面*/
import
Edit
from
'./lessEdit'
...
...
src/views/basicData/operationDcManagement/mainIndex.vue
View file @
1e511164
...
...
@@ -43,8 +43,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
'@/api/basicData/operationDcManagement.js'
;
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/dangerRectificationRecord/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/dangerRectificationRecord/index.vue
View file @
1e511164
...
...
@@ -96,8 +96,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/dangerReviewRecord/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/dangerReviewRecord/index.vue
View file @
1e511164
...
...
@@ -78,8 +78,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/enterSafetyRecords/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/enterSafetyRecords/index.vue
View file @
1e511164
...
...
@@ -68,8 +68,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
import
{
doQuerRoot
...
...
src/views/dangerManagement/maintenanceDg/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/maintenanceDg.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/maintenanceDg/index.vue
View file @
1e511164
...
...
@@ -52,8 +52,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/maintenanceDg.js"
import
{
doQuerRoot
...
...
src/views/dangerManagement/queryDangerRecords/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/queryDangerRecords/index.vue
View file @
1e511164
...
...
@@ -77,8 +77,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
import
{
QueryBm
,
...
...
src/views/dangerManagement/safetyDisposalRecord/autoGen/index.vue
View file @
1e511164
...
...
@@ -44,8 +44,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import
Edit
from
'./edit'
...
...
src/views/dangerManagement/safetyDisposalRecord/index.vue
View file @
1e511164
...
...
@@ -69,8 +69,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/dangerManagement/enterSafetyRecords.js"
import
{
QueryBm
,
...
...
src/views/riskPrecontrol/maintenanceRiskTask/dtl/edit.vue
0 → 100644
View file @
1e511164
<
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=
"12"
>
<el-form-item
label=
"任务ID"
ref=
"mid"
prop=
"mid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"来源单据ID"
ref=
"lydjid"
prop=
"lydjid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.lydjid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查得分"
ref=
"jcdf"
prop=
"jcdf"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcdf"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"整改后得分"
ref=
"zgdf"
prop=
"zgdf"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zgdf"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查结果"
ref=
"jcjg"
prop=
"jcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/fxykFxpcmxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
mid
:
''
,
lydjid
:
''
,
jcdf
:
''
,
zgdf
:
''
,
jcjg
:
''
,
zt
:
''
,
bz
:
''
,
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/riskPrecontrol/maintenanceRiskTask/dtl/index.vue
0 → 100644
View file @
1e511164
<
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
{
doQueryDtl
,
doAddDtl
,
doUpdateDtl
,
doDeleteDtl
}
from
"src/api/riskPrecontrol/maintenanceRiskTask.js"
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/fxykFxpcmx'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/fxyk/fxpcmx'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"任务ID"
,
prop
:
"mid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"来源单据ID"
,
prop
:
"lydjid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查得分"
,
prop
:
"jcdf"
,
fieldType
:
"float"
},
{
label
:
"整改后得分"
,
prop
:
"zgdf"
,
fieldType
:
"float"
},
{
label
:
"检查结果"
,
prop
:
"jcjg"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
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
:
doQueryDtl
,
/* 基础增*/
apiAdd
:
doAddDtl
,
/* 基础更新*/
apiUpdate
:
doUpdateDtl
,
/* 删除操作*/
apiDelete
:
doDeleteDtl
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/riskPrecontrol/maintenanceRiskTask/main/edit.vue
0 → 100644
View file @
1e511164
<
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=
"8"
>
<el-form-item
label=
"ID"
ref=
"id"
prop=
"id"
>
<el-input
:readonly=
"readonly"
v-model=
"form.id"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"单据来源"
ref=
"djly"
prop=
"djly"
>
<el-input
:readonly=
"readonly"
v-model=
"form.djly"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"风险排查标准编码"
ref=
"fxbzid"
prop=
"fxbzid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fxbzid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"下达日期"
ref=
"xdrq"
prop=
"xdrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.xdrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"截止日期"
ref=
"jzrq"
prop=
"jzrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.jzrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"实际检查时间"
ref=
"sjjcsj"
prop=
"sjjcsj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.sjjcsj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"检查岗位"
ref=
"gwid"
prop=
"gwid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.gwid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"检查人ID"
ref=
"jcrid"
prop=
"jcrid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcrid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"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-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"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-col
:span=
"8"
>
<el-form-item
label=
"班次"
ref=
"bcid"
prop=
"bcid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bcid"
></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/fxykFxpcEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
djly
:
''
,
fxbzid
:
''
,
zt
:
''
,
xdrq
:
new
Date
().
getTime
(),
jzrq
:
new
Date
().
getTime
(),
sjjcsj
:
new
Date
().
getTime
(),
gwid
:
''
,
jcrid
:
''
,
bz
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
bcid
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/riskPrecontrol/maintenanceRiskTask/main/index.vue
0 → 100644
View file @
1e511164
<
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
}
from
"src/api/riskPrecontrol/maintenanceRiskTask.js"
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/fxykFxpc'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/fxyk/fxpc'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"ID"
,
prop
:
"id"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"单据来源"
,
prop
:
"djly"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"风险排查标准编码"
,
prop
:
"fxbzid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"下达日期"
,
prop
:
"xdrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"实际检查时间"
,
prop
:
"sjjcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检查岗位"
,
prop
:
"gwid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查人ID"
,
prop
:
"jcrid"
,
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"
},
{
label
:
"班次"
,
prop
:
"bcid"
,
fieldType
:
"ftString"
,
width
:
192
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/riskPrecontrol/screeningCriteria/jcnr/index.vue
View file @
1e511164
...
...
@@ -86,9 +86,9 @@
}
},
methods
:
{
/* 基础查询*/
query
:
doQueryJcnr
,
/* 基础增*/
apiAdd
:
doAddJcnr
,
/* 基础更新*/
...
...
@@ -97,7 +97,6 @@
apiDelete
:
doDeleteJcnr
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
...
...
src/views/riskPrecontrol/screeningCriteria/main/index.vue
View file @
1e511164
...
...
@@ -43,8 +43,7 @@
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doExport
doDelete
}
from
"@/api/riskPrecontrol/screeningCriteria.js"
;
/* edit页面*/
import
Edit
from
'./edit'
...
...
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