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
Show 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
...
...
@@ -8,11 +8,7 @@
<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
value-format=
'yyyy'
v-model=
"queryParams.year"
type=
"year"
placeholder=
"选择年"
>
</el-date-picker>
</div>
</el-col>
...
...
@@ -21,11 +17,7 @@
<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
v-for=
"item in 4"
:key=
"item"
:label=
"item+'季度'"
:value=
"item"
>
</el-option>
</el-select>
</div>
...
...
@@ -98,35 +90,131 @@
/* 查询参数*/
queryParams
:
{
year
:
''
,
quarter
:
''
,
quarter
:
''
,
yljhName
:
''
},
/* 表格标题对应参数*/
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
]
},
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"
},
},
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"
},
]
}
},
...
...
@@ -156,4 +244,3 @@
<
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>
...
...
@@ -40,16 +47,16 @@
</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"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"应急演练"
name=
"first"
>
<Report
ref=
"report"
/>
</el-tab-pane>
</el-tabs>
...
...
@@ -79,7 +86,9 @@
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
data
()
{
return
{
...
...
@@ -93,46 +102,126 @@
baseUrl
:
'/aqgl/yjgl/yjyljh'
,
/* 查询参数*/
queryParams
:
{
yldj
:
''
,
info
:
''
,
ksrq
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
jsrq
:
new
Date
().
getTime
()
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
,
...
...
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,6 +44,11 @@
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<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