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
9d9e384c
Commit
9d9e384c
authored
Nov 08, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue
parents
747ea5b2
40424a4e
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
932 additions
and
210 deletions
+932
-210
duty.js
src/api/daily/duty.js
+8
-0
performanceReport.js
src/api/daily/performanceReport.js
+21
-0
planManage.js
src/api/daily/planManage.js
+1
-1
workInspection.js
src/api/daily/workInspection.js
+79
-0
maintenanceRiskTask.js
src/api/riskPrecontrol/maintenanceRiskTask.js
+1
-1
riskCommon.js
src/api/riskPrecontrol/riskCommon.js
+3
-3
edit.vue
src/views/daily/duty/edit.vue
+21
-7
index.vue
src/views/daily/duty/index.vue
+2
-2
edit.vue
src/views/daily/maintenanceDuty/edit.vue
+1
-3
edit.vue
src/views/daily/maintenanceStandards/edit.vue
+3
-3
index.vue
src/views/daily/nroa/index.vue
+3
-1
edit.vue
src/views/daily/performanceReport/edit.vue
+62
-42
index.vue
src/views/daily/performanceReport/index.vue
+39
-111
report.vue
src/views/daily/performanceReport/report.vue
+113
-36
reportEdit.vue
src/views/daily/performanceReport/reportEdit.vue
+92
-0
edit.vue
src/views/daily/workInspection/dtl/edit.vue
+118
-0
index.vue
src/views/daily/workInspection/dtl/index.vue
+116
-0
edit.vue
src/views/daily/workInspection/new/edit.vue
+129
-0
index.vue
src/views/daily/workInspection/new/index.vue
+118
-0
edit.vue
src/views/outsourcingDirector/declare/new/edit.vue
+1
-0
index.vue
src/views/outsourcingDirector/declare/new/index.vue
+1
-0
No files found.
src/api/daily/duty.js
View file @
9d9e384c
...
...
@@ -30,6 +30,14 @@ method: 'post',
data
:
query
||
{}
})
}
/* 查询分类内容 */
export
function
queryFlnr
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/lzbz/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
...
...
src/api/daily/performanceReport.js
View file @
9d9e384c
...
...
@@ -29,6 +29,27 @@ export function doQueryDtl(query) {
data
:
query
||
{}
})
}
export
function
doUpdateDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/lzrwdtl/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDeleteDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/lzrwdtl/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAddDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/lzrwdtl/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/daily/planManage.js
View file @
9d9e384c
...
...
@@ -38,7 +38,7 @@ data: query||{}
* @returns {*}
*/
export
function
doInitGlcj
(
query
)
{
return
request
Dtl
({
return
request
({
url
:
'/aqgl/rcgl/yjya/init/glcj'
,
method
:
'post'
,
data
:
query
||
{}
...
...
src/api/daily/workInspection.js
0 → 100644
View file @
9d9e384c
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzy/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzy/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzy/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzy/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/**
* 明细正常只使用查询和修改,修改得分和说明
*/
/**
* 查询
* in:mid
*/
export
function
doQueryDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzymx/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdateDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzymx/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAddDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzymx/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDeleteDtl
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/wxzymx/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/riskPrecontrol/maintenanceRiskTask.js
View file @
9d9e384c
...
...
@@ -100,7 +100,7 @@ export function doInitZt(query) {
* @returns {*}
*/
export
function
doQueryFxjcnr
(
query
)
{
return
request
Dtl
({
return
request
({
url
:
'/aqgl/fxyk/fxpc/queryFxjcnr'
,
method
:
'post'
,
data
:
query
||
{}
...
...
src/api/riskPrecontrol/riskCommon.js
View file @
9d9e384c
...
...
@@ -4,7 +4,7 @@
* @returns {*}
*/
export
function
doInitWxdj
(
query
)
{
return
request
Dtl
({
return
request
({
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
method
:
'post'
,
data
:
query
||
{}
...
...
@@ -17,7 +17,7 @@ export function doInitWxdj(query) {
* @returns {*}
*/
export
function
doInitGlcj
(
query
)
{
return
request
Dtl
({
return
request
({
url
:
'/aqgl/fxyk/fxpc/init/glcj'
,
method
:
'post'
,
data
:
query
||
{}
...
...
@@ -30,7 +30,7 @@ export function doInitGlcj(query) {
* @returns {*}
*/
export
function
doInitPzxx
(
query
)
{
return
request
Dtl
({
return
request
({
url
:
'/aqgl/fxyk/fxpc/init/pzxx'
,
method
:
'post'
,
data
:
query
||
{}
...
...
src/views/daily/duty/edit.vue
View file @
9d9e384c
...
...
@@ -5,7 +5,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职分类"
ref=
"flid"
prop=
"flid"
>
<RelSelect
src=
'/aqgl/rcgl/lzfl/query'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<RelSelect
s
tyle=
"width: 100%;"
s
rc=
'/aqgl/rcgl/lzfl/query'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -14,7 +14,8 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职内容"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
<RelSelect
hasValue
:optionsData=
'optionsData'
style=
"width: 100%;"
:params=
"
{flid:form.flid}" src='/aqgl/rcgl/lzbz/query' clearable :match="{value:'content',label:'content'}" v-model='form.content' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
-->
</el-form-item>
</el-col>
</el-row>
...
...
@@ -30,11 +31,27 @@
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
queryFlnr
}
from
'@/api/daily/duty.js'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
computed
:{
flid
:
function
(){
return
this
.
form
.
flid
}
},
watch
:{
flid
(
val
){
queryFlnr
({
flid
:
val
}).
then
(
res
=>
{
if
(
res
.
data
&&
res
.
data
.
record
){
this
.
content
=
''
this
.
optionsData
=
res
.
data
.
record
||
[]
}
})
}
},
/* 组件名称*/
name
:
"dutyEdit"
,
...
...
@@ -44,9 +61,8 @@
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
optionsData
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
...
...
@@ -96,5 +112,3 @@
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/daily/duty/index.vue
View file @
9d9e384c
...
...
@@ -89,8 +89,8 @@
{
label
:
"履职分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"履职人员"
,
prop
:
"ryName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"单据来源"
,
prop
:
"lyName"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
4
8
},
{
label
:
"单据来源"
,
prop
:
"lyName"
,
fieldType
:
"ftString"
,
width
:
1
48
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
8
8
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
...
...
src/views/daily/maintenanceDuty/edit.vue
View file @
9d9e384c
...
...
@@ -5,7 +5,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"分类"
ref=
"flid"
prop=
"flid"
>
<RelSelect
s
rc=
'/aqgl/rcgl/lzfl/query'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<RelSelect
s
tyle=
"width: 100%;"
src=
'/aqgl/rcgl/lzfl/query'
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -77,5 +77,3 @@
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/daily/maintenanceStandards/edit.vue
View file @
9d9e384c
...
...
@@ -4,14 +4,14 @@
<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=
"flid"
prop=
"flid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"true"
src=
'/aqgl/rcgl/wxzyfl/query'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<el-form-item
label=
"
分类
"
ref=
"flid"
prop=
"flid"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/rcgl/wxzyfl/query'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
-->
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"部门"
ref=
"bmid"
prop=
"bmid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"true"
src=
'/kzzx/bm/query'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'/kzzx/bm/query'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.bmid"
></el-input>
-->
</el-form-item>
</el-col>
...
...
src/views/daily/nroa/index.vue
View file @
9d9e384c
...
...
@@ -130,7 +130,9 @@
tableTitle
:
[
{
label
:
"申请单号"
,
prop
:
"djid"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"申请日期"
,
prop
:
"sqrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"作业类型"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"作业类型"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
300
,
transform
:{
url
:
'/aqgl/rcgl/fcgzy/init/zylx'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"开始时间"
,
prop
:
"kssj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"结束时间"
,
prop
:
"jssj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"作业时长"
,
prop
:
"zysc"
,
fieldType
:
"float"
},
...
...
src/views/daily/performanceReport/edit.vue
View file @
9d9e384c
...
...
@@ -4,87 +4,107 @@
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"
标题"
ref=
"roleid"
prop=
"role
id"
>
<el-input
:readonly=
"readonly"
v-model=
"form.roleid"
></el-inpu
t>
<el-form-item
label=
"
履职分类"
ref=
"flid"
prop=
"fl
id"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/rcgl/lzfl/query'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelec
t>
</el-form-item>
</el-col>
</el-row>
<!--根据分类筛选内容-->
<!--/aqgl/rcgl/lzbz/query; in:flid-->
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"内容"
ref=
"roleid"
prop=
"roleid"
>
<el-input
:readonly=
"readonly"
type=
"textarea"
v-model=
"form.roleid"
></el-input>
<el-form-item
label=
"履职内容"
ref=
"content"
prop=
"content"
>
<RelSelect
hasValue
:optionsData=
'optionsData'
style=
"width: 100%;"
:params=
"
{flid:form.flid}" src='/aqgl/rcgl/lzbz/query' clearable :match="{value:'content',label:'content'}" v-model='form.content' >
</RelSelect>
<!--
<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=
"有效期至"
>
<el-date-picker
style=
"width: 100%;"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"编制单位"
>
<el-select
placeholder=
"请选择"
style=
"width: 100%;"
>
<!--
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
-->
</el-select>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职人员"
ref=
"ryid"
prop=
"ryid"
>
<personSelector
:label=
"form.ryName||form.ryid||'暂无'"
@
selected=
'zrrSelected'
></personSelector>
</el-form-item>
</el-col>
</el-row>
</el-form>
<!-- 按钮重写, -->
<!--
<div
slot=
"reFooter"
>
<span
slot=
"footer"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div>
-->
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
queryFlnr
}
from
'@/api/daily/duty.js'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
computed
:{
flid
:
function
(){
return
this
.
form
.
flid
}
},
watch
:{
flid
(
val
){
queryFlnr
({
flid
:
val
}).
then
(
res
=>
{
if
(
res
.
data
&&
res
.
data
.
record
){
this
.
content
=
''
this
.
optionsData
=
res
.
data
.
record
||
[]
}
})
}
},
/* 组件名称*/
name
:
'roleManagementEdit'
,
name
:
"dutyEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
optionsData
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
roleid
:
''
,
rolename
:
''
,
bz
:
""
,
//ID
id
:
''
,
//履职分类
flid
:
''
,
//履职内容
content
:
''
,
//履职人员
ryid
:
''
,
//单据来源
djly
:
''
,
//状态
zt
:
''
,
//附件数
attachcount
:
''
,
//维护人编码
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
:
{
zrrSelected
(
row
){
this
.
form
.
ryid
=
row
.
id
}
}
}
</
script
>
...
...
src/views/daily/performanceReport/index.vue
View file @
9d9e384c
...
...
@@ -32,9 +32,9 @@
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<!--
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
-->
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
...
...
@@ -45,7 +45,7 @@
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<TablePager
:delButton=
'false'
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
...
...
@@ -55,7 +55,7 @@
<!-- tabs -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"履职报告"
name=
"first"
>
<Report
/>
<Report
ref=
"report"
/>
</el-tab-pane>
</el-tabs>
</div>
...
...
@@ -64,15 +64,14 @@
</
template
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
QueryKzzxRole
,
QueryApptype
,
AddKzzxRole
,
DeleteKzzxRole
,
UpdateKzzxRole
,
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/daily/duty.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
Report
from
'./report.vue'
...
...
@@ -85,8 +84,7 @@
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
console
.
log
(
_
)
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
data
()
{
return
{
...
...
@@ -97,113 +95,43 @@
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'kzzx/role
'
,
baseUrl
:
'/aqgl/rcgl/lzrw
'
,
/* 查询参数*/
queryParams
:
{
ksrq
:
''
,
jsrq
:
''
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
prop
:
'whsj'
,
label
:
'报送日期'
,
show
:
false
,
fieldType
:
'ftDateTime'
,
width
:
'100'
,
align
:
'left'
},
{
prop
:
'whsj'
,
label
:
'作业类型'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whr'
,
label
:
'计划开始作业时间'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'地点'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'计划完成作业时间'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'计划作业时长'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'作业项目'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'作业地点'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'风险级别'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'作业单位'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'作业申请'
,
width
:
'100'
}
{
label
:
"履职分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"履职人员"
,
prop
:
"ryName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"单据来源"
,
prop
:
"lyName"
,
fieldType
:
"ftString"
,
width
:
148
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
}
},
methods
:
{
getRow
:
function
(
e
)
{
this
.
rowItem
=
e
this
.
$refs
.
report
.
queryParams
.
mid
=
e
.
id
this
.
$refs
.
report
.
$refs
.
TablePager
.
pageQuery
()
},
handleClick
(
val
){
console
.
log
(
val
,
'val'
)
},
/* 基础查询*/
query
:
QueryKzzxRole
,
query
:
doQuery
,
/* 基础增*/
apiAdd
:
AddKzzxRole
,
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
UpdateKzzxRol
e
,
apiUpdate
:
doUpdat
e
,
/* 删除操作*/
apiDelete
:
DeleteKzzxRol
e
,
apiDelete
:
doDelet
e
,
/* 初始化赋值操作*/
init
()
{
},
/* 启用停用*/
setEnable
(
id
)
{
this
.
$confirm
(
'是否启用/停用该角色, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
let
params
=
{
id
:
id
}
QtKzzxRole
(
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
app
.
$refs
[
'TablePager'
].
reLoad
()
}
else
{
this
.
$error
(
res
.
message
||
'操作失败'
)
}
})
})
}
},
...
...
src/views/daily/performanceReport/report.vue
View file @
9d9e384c
<
template
>
<div
class=
"form-detail"
>
<el-form
ref=
"form"
label-width=
'80px'
:model=
"form"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职内容"
>
<el-input
type=
"textarea"
rows=
"22"
>
</el-input>
</el-form-item>
<div
class=
"min_full"
style=
"height: 72vh;overflow: auto;"
v-show=
'queryParams.mid'
>
<!-- 查询条件-->
<!--
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
分类:
</span>
<el-input></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
开始日期:
</span>
<el-date-picker></el-date-picker>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
结束日期:
</span>
<el-date-picker></el-date-picker>
</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>
</el-form>
</div>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQueryDtl
,
doUpdateDtl
,
doDeleteDtl
,
doAddDtl
}
from
'@/api/daily/performanceReport.js'
;
/* edit页面*/
import
Edit
from
'./reportEdit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/rcglLzrw'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/rcgl/lzrwdtl'
,
/* 查询参数*/
queryParams
:
{
mid
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"履职日期"
,
prop
:
"lzrq"
,
fieldType
:
"ftDateTime"
,
width
:
192
},
{
label
:
"履职信息"
,
prop
:
"lzxx"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
400
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
}
},
methods
:
{
handleRemove
(
file
,
fileList
)
{
console
.
log
(
file
,
fileList
);
},
handlePictureCardPreview
(
file
)
{
this
.
dialogImageUrl
=
file
.
url
;
this
.
dialogVisible
=
true
;
/* 基础查询*/
query
:
doQueryDtl
,
/* 基础增*/
apiAdd
:
doAddDtl
,
/* 基础更新*/
apiUpdate
:
doUpdateDtl
,
/* 删除操作*/
apiDelete
:
doDeleteDtl
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
.form-detail
{
height
:
500px
;
width
:
100%
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
</
style
>
src/views/daily/performanceReport/reportEdit.vue
0 → 100644
View file @
9d9e384c
<
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=
"24"
>
<el-form-item
label=
"履职信息"
ref=
"lzxx"
prop=
"lzxx"
>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.lzxx"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职日期"
ref=
"lzrq"
prop=
"lzrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.lzrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
this
.
mid
=
this
.
app
.
queryParams
.
mid
},
/* 组件名称*/
name
:
"rcglLzrwdtlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//主表ID
mid
:
''
,
//履职信息
lzxx
:
''
,
//履职日期
lzrq
:
new
Date
().
getTime
(),
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/daily/workInspection/dtl/edit.vue
0 → 100644
View file @
9d9e384c
<
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=
"MID"
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=
"序号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"管控项目"
ref=
"gkxm"
prop=
"gkxm"
>
<el-input
:readonly=
"readonly"
v-model=
"form.gkxm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"工作要求"
ref=
"gzyq"
prop=
"gzyq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.gzyq"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"扣分细则"
ref=
"kfxz"
prop=
"kfxz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.kfxz"
></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-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"workInspectionDtlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//MID
mid
:
''
,
//序号
xh
:
''
,
//管控项目
gkxm
:
''
,
//工作要求
gzyq
:
''
,
//扣分细则
kfxz
:
''
,
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/daily/workInspection/dtl/index.vue
0 → 100644
View file @
9d9e384c
<
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
'@/api/daily/workInspection'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'workInspectionDtl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/rcgl/wxzymx'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"MID"
,
prop
:
"mid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"管控项目"
,
prop
:
"gkxm"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"工作要求"
,
prop
:
"gzyq"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"扣分细则"
,
prop
:
"kfxz"
,
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
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/daily/workInspection/new/edit.vue
0 → 100644
View file @
9d9e384c
<
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=
"单据编号"
ref=
"djid"
prop=
"djid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.djid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"序号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<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-col
:span=
"12"
>
<el-form-item
label=
"业务日期"
ref=
"ywrq"
prop=
"ywrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ywrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<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=
"tbrid"
prop=
"tbrid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.tbrid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<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-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-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"workInspectionEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//单据编号
djid
:
''
,
//序号
xh
:
''
,
//备注
bz
:
''
,
//业务日期
ywrq
:
new
Date
().
getTime
(),
//分类编码
flid
:
''
,
//人员编码
tbrid
:
''
,
//备注
bz
:
''
,
//状态
zt
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/daily/workInspection/new/index.vue
0 → 100644
View file @
9d9e384c
<
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
'@/api/daily/workInspection'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'workInspection'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/rcgl/wxzy'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"单据编号"
,
prop
:
"djid"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"业务日期"
,
prop
:
"ywrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"分类编码"
,
prop
:
"flid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"人员编码"
,
prop
:
"tbrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
48
},
{
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/outsourcingDirector/declare/new/edit.vue
View file @
9d9e384c
...
...
@@ -83,6 +83,7 @@
<el-input
:readonly=
"readonly"
v-model=
"form.wfpname"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
...
...
src/views/outsourcingDirector/declare/new/index.vue
View file @
9d9e384c
...
...
@@ -46,6 +46,7 @@
doUpdate
,
doDelete
}
from
'@/api/outsourcingDirector/wxdwsb.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
...
...
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