Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
bd5d5f73
Commit
bd5d5f73
authored
Sep 12, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
78a94195
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
405 additions
and
202 deletions
+405
-202
edit.vue
src/views/contingency/contingencyplan/edit.vue
+8
-2
index.vue
src/views/contingency/contingencyplan/index.vue
+227
-140
index.vue
src/views/contingency/contingencystudy/index.vue
+142
-53
index.vue
src/views/daily/fcgzysqd/index.vue
+21
-5
index.vue
src/views/equipment/archives/index.vue
+7
-2
No files found.
src/views/contingency/contingencyplan/edit.vue
View file @
bd5d5f73
...
...
@@ -67,7 +67,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"24"
>
<!--
<el-row
:gutter=
"24"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"演练负责人"
ref=
"ylfzr"
prop=
"ylfzr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylfzr"
></el-input>
...
...
@@ -78,8 +78,13 @@
<el-input
:readonly=
"readonly"
v-model=
"form.zlfzr"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
-->
<el-row
:gutter=
"24"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"演练等级"
ref=
"yldj"
prop=
"yldj"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/yjgl/yjyljh/init/yldj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.yldj' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"估计费用(元)"
ref=
"gjfy"
prop=
"gjfy"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.gjfy"
></el-input>
...
...
@@ -112,6 +117,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
yldj
:
''
,
//ID
id
:
''
,
//演练名称
...
...
src/views/contingency/contingencyplan/index.vue
View file @
bd5d5f73
<
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=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
年度:
</span>
<!--
<el-date-picker
v-model=
"queryParams.year"
></el-date-picker>
-->
<el-date-picker
value-format=
'yyyy'
v-model=
"queryParams.year"
type=
"year"
placeholder=
"选择年"
>
</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
v-model=
"queryParams.month"
></el-date-picker>
-->
<el-select
clearable
v-model=
"queryParams.quarter"
placeholder=
"请选择"
>
<el-option
v-for=
"item in 4"
:key=
"item"
:label=
"item+'季度'"
:value=
"item"
>
</el-option>
</el-select>
</div>
</el-col>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.yljhName"
></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>
-->
<div
class=
"min_full"
>
<!-- 查询条件-->
<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-date-picker
v-model=
"queryParams.year"
></el-date-picker>
-->
<el-date-picker
value-format=
'yyyy'
v-model=
"queryParams.year"
type=
"year"
placeholder=
"选择年"
>
</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
v-model=
"queryParams.month"
></el-date-picker>
-->
<el-select
clearable
v-model=
"queryParams.quarter"
placeholder=
"请选择"
>
<el-option
v-for=
"item in 4"
:key=
"item"
:label=
"item+'季度'"
:value=
"item"
>
</el-option>
</el-select>
</div>
</el-col>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.yljhName"
></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>
-->
<AttachFileShow
:delButton=
'true'
:addButton=
'true'
:app=
'app'
></AttachFileShow>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<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'
>
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/contingency/yjyljh.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqglYjyljh'
,
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/contingency/yjyljh.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqglYjyljh'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yjgl/yjyljh'
,
/* 查询参数*/
queryParams
:
{
year
:
''
,
quarter
:
''
,
yljhName
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
//{label: "季度", prop: "quarter", fieldType: "ftString",width:80},
{
label
:
"季度"
,
prop
:
"quarter"
,
formatter
:
function
(
row
,
column
,
value
,
index
)
{
let
jdobj
=
[
''
,
'第一季度'
,
'第二季度'
,
'第三季度'
,
'第四季度'
]
return
jdobj
[
value
]
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yjgl/yjyljh'
,
/* 查询参数*/
queryParams
:
{
year
:
''
,
quarter
:
''
,
yljhName
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
//{label: "季度", prop: "quarter", fieldType: "ftString",width:80},
{
label
:
"季度"
,
prop
:
"quarter"
,
formatter
:
function
(
row
,
column
,
value
,
index
)
{
let
jdobj
=
[
''
,
'第一季度'
,
'第二季度'
,
'第三季度'
,
'第四季度'
]
return
jdobj
[
value
]
},
width
:
80
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位"
,
prop
:
"zzdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"演练责任人"
,
prop
:
"ylzrr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"int"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"目标完成标准"
,
prop
:
"mbwcbz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练负责人"
,
prop
:
"ylfzr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"质量负责人"
,
prop
:
"zlfzr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"money"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
}
},
methods
:
{
},
width
:
80
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位"
,
prop
:
"zzdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
{
label
:
"演练等级"
,
prop
:
"yldj"
,
width
:
180
,
transform
:
{
url
:
'aqgl/yjgl/yjyljh/init/yldj'
,
label
:
'name'
,
value
:
'id'
}
},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"演练责任人"
,
prop
:
"ylzrr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"int"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"目标完成标准"
,
prop
:
"mbwcbz"
,
fieldType
:
"ftString"
,
width
:
180
},
// {
// label: "演练负责人",
// prop: "ylfzr",
// fieldType: "ftString",
// width: 180
// },
// {
// label: "质量负责人",
// prop: "zlfzr",
// fieldType: "ftString",
// width: 180
// },
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"money"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
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
,
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/contingency/contingencystudy/index.vue
View file @
bd5d5f73
...
...
@@ -10,13 +10,20 @@
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
开始日期:
</span>
<el-date-picker
value-format=
"timestamp"
v-model=
'queryParams.ksrq'
></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
'queryParams.ksrq'
></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
value-format=
"timestamp"
v-model=
'queryParams.jsrq'
></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
'queryParams.jsrq'
></el-date-picker>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
演练等级:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/yjgl/yjyljh/init/yldj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.yldj'>
</RelSelect>
</div>
</el-col>
...
...
@@ -25,14 +32,14 @@
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<!--
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<!--
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
-->
<AttachFileShow
:delButton=
'false'
:addButton=
'false'
:app=
'app'
></AttachFileShow>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!--
<WorkFlowButton
:app=
'this'
></WorkFlowButton>
-->
<!--
<WorkFlowButton
:app=
'this'
></WorkFlowButton>
-->
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -40,33 +47,33 @@
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
:delButton=
'false'
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
<TablePager
:delButton=
'false'
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
<div
class=
"min_full"
style=
"height: 60%;padding: 10px;"
>
<!-- tabs -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"应急演练"
name=
"first"
>
<Report
ref=
"report"
/>
</el-tab-pane>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"应急演练"
name=
"first"
>
<Report
ref=
"report"
/>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/contingency/yjyljh.js'
;
}
from
'@/api/contingency/yjyljh.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
Report
from
'./report.vue'
...
...
@@ -79,7 +86,9 @@
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
data
()
{
return
{
...
...
@@ -90,59 +99,139 @@
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/yjgl/yjyljh'
,
baseUrl
:
'/aqgl/yjgl/yjyljh'
,
/* 查询参数*/
queryParams
:
{
info
:
''
,
ksrq
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
jsrq
:
new
Date
().
getTime
()
},
queryParams
:
{
yldj
:
''
,
info
:
''
,
ksrq
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
jsrq
:
new
Date
().
getTime
()
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
tableTitle
:
[{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
//{label: "季度", prop: "quarter", fieldType: "ftString",width:80},
{
label
:
"季度"
,
prop
:
"quarter"
,
formatter
:
function
(
row
,
column
,
value
,
index
)
{
let
jdobj
=
[
''
,
'第一季度'
,
'第二季度'
,
'第三季度'
,
'第四季度'
]
{
label
:
"季度"
,
prop
:
"quarter"
,
formatter
:
function
(
row
,
column
,
value
,
index
)
{
let
jdobj
=
[
''
,
'第一季度'
,
'第二季度'
,
'第三季度'
,
'第四季度'
]
return
jdobj
[
value
]
},
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位"
,
prop
:
"zzdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"演练责任人"
,
prop
:
"ylzrr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"int"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"目标完成标准"
,
prop
:
"mbwcbz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练负责人"
,
prop
:
"ylfzr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"质量负责人"
,
prop
:
"zlfzr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"money"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
},
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位"
,
prop
:
"zzdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
{
label
:
"演练等级"
,
prop
:
"yldj"
,
width
:
180
,
transform
:
{
url
:
'aqgl/yjgl/yjyljh/init/yldj'
,
label
:
'name'
,
value
:
'id'
}
},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"演练责任人"
,
prop
:
"ylzrr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"int"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdw"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"目标完成标准"
,
prop
:
"mbwcbz"
,
fieldType
:
"ftString"
,
width
:
180
},
// {label: "演练负责人", prop: "ylfzr", fieldType: "ftString",width:180},
// {label: "质量负责人", prop: "zlfzr", fieldType: "ftString",width:180},
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"money"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
}
},
methods
:
{
getRow
:
function
(
e
)
{
this
.
rowItem
=
e
this
.
$refs
.
report
.
queryParams
.
yljhid
=
e
.
id
this
.
$refs
.
report
.
queryParams
.
yljhid
=
e
.
id
this
.
$refs
.
report
.
$refs
.
TablePager
.
pageQuery
()
},
handleClick
(
val
){
console
.
log
(
val
,
'val'
)
handleClick
(
val
)
{
console
.
log
(
val
,
'val'
)
},
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
/* 启用停用*/
...
...
src/views/daily/fcgzysqd/index.vue
View file @
bd5d5f73
...
...
@@ -6,7 +6,7 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<AttachFileShow
:app=
'ctx.basePage'
></AttachFileShow>
<AttachFileShow
:app=
'ctx.basePage'
></AttachFileShow>
</
template
>
</BasePage>
...
...
@@ -117,14 +117,14 @@
[{
label
:
'单号'
,
prop
:
'djid'
,
span
:
6
,
span
:
4
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"作业类型"
,
"prop"
:
"ufcgzylxid"
,
"span"
:
6
,
"span"
:
4
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
...
...
@@ -138,7 +138,7 @@
{
"label"
:
"部门"
,
"prop"
:
"bmid"
,
"span"
:
8
,
"span"
:
4
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
...
...
@@ -149,8 +149,24 @@
}
}
},
{
label
:
'开始时间'
,
prop
:
'kssj'
,
span
:
6
,
type
:
'datetime'
,
value
:
''
},
{
label
:
'结束时间'
,
prop
:
'jssj'
,
span
:
6
,
type
:
'datetime'
,
value
:
''
}
]
],
// [
// ]
],
/* 默认启停用 */
showqt
:
false
,
...
...
src/views/equipment/archives/index.vue
View file @
bd5d5f73
...
...
@@ -44,7 +44,12 @@
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<el-button
@
click
.
native
.
prevent=
"jcwc"
size=
'mini'
type=
"primary"
>
<ImportButton
style=
"margin-right: 10px;"
@
success=
"()=>
{
$refs['TablePager'].pageQuery()
}" :url="'wms/ckgl/jhtz/import'" />
<el-button
@
click
.
native
.
prevent=
"jcwc"
size=
'mini'
type=
"primary"
>
检测完成
</el-button>
<!-- 额外按钮-->
...
...
@@ -233,7 +238,7 @@
let
params
=
{
id
:
this
.
app
.
singleItem
.
id
}
this
.
$post
(
'aqgl/sbgl/sbxx/check/complete'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/sbgl/sbxx/check/complete'
,
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
app
.
$refs
[
'TablePager'
].
reLoad
()
...
...
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