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
7268d226
Commit
7268d226
authored
Dec 08, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应急演练计划+ 应急演练 + v1
parent
98cc22cf
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
333 additions
and
97 deletions
+333
-97
yjyl.js
src/api/contingency/yjyl.js
+38
-0
yjyljh.js
src/api/contingency/yjyljh.js
+38
-0
edit.vue
src/views/contingency/contingencyManager/edit.vue
+1
-1
edit.vue
src/views/contingency/contingencyplan/edit.vue
+109
-34
index.vue
src/views/contingency/contingencyplan/index.vue
+24
-14
edit.vue
src/views/contingency/contingencystudy/edit.vue
+100
-34
index.vue
src/views/contingency/contingencystudy/index.vue
+23
-14
No files found.
src/api/contingency/yjyl.js
0 → 100644
View file @
7268d226
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyl/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyl/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyl/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyl/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/contingency/yjyljh.js
0 → 100644
View file @
7268d226
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyljh/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyljh/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyljh/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/yjgl/yjyljh/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/contingency/contingencyManager/edit.vue
View file @
7268d226
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"分级"
ref=
"fjid"
prop=
"fjid"
>
<el-form-item
label=
"分级"
ref=
"fjid"
prop=
"fjid"
>
<RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'/aqgl/
rc
gl/yjya/init/glcj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.fjid' >
</RelSelect>
<RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'/aqgl/
yj
gl/yjya/init/glcj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.fjid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
...
src/views/contingency/contingencyplan/edit.vue
View file @
7268d226
...
@@ -3,40 +3,102 @@
...
@@ -3,40 +3,102 @@
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
"
演练
名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"分级"
ref=
"fjid"
prop=
"fjid
"
>
<el-form-item
label=
"演练组织单位"
ref=
"zzdw"
prop=
"zzdw
"
>
<
RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'/aqgl/rcgl/yjya/init/glcj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.fjid' >
</RelSelec
t>
<
el-input
:readonly=
"readonly"
v-model=
"form.zzdw"
></el-inpu
t>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"6"
>
<el-row
:gutter=
"20"
>
<el-form-item
label=
"培训人数"
ref=
"pxrs"
prop=
"pxrs"
>
<el-col
:span=
"24"
>
<el-input
:readonly=
"readonly"
v-model=
"form.pxrs"
></el-input>
<el-form-item
label=
"内容"
ref=
"content"
prop=
"content"
>
</el-form-item>
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练目标"
ref=
"ylmb"
prop=
"ylmb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylmb"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"部门"
ref=
"bmid"
prop=
"bmid"
>
<el-form-item
label=
"演练方式"
ref=
"ylfs"
prop=
"ylfs"
>
<RelSelect
:readonly=
"readonly"
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.ylfs"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练时间"
ref=
"lysj"
prop=
"lysj"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.lysj"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"年度"
ref=
"year"
prop=
"year"
>
<el-input
:readonly=
"readonly"
v-model=
"form.year"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"季度"
ref=
"quarter"
prop=
"quarter"
>
<el-input
:readonly=
"readonly"
v-model=
"form.quarter"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练责任人"
ref=
"ylzrr"
prop=
"ylzrr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylzrr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练时长"
ref=
"ylsc"
prop=
"ylsc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylsc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"主(协)办单位"
ref=
"zbdw"
prop=
"zbdw"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zbdw"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"目标完成标准"
ref=
"mbwcbz"
prop=
"mbwcbz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mbwcbz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练负责人"
ref=
"ylfzr"
prop=
"ylfzr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylfzr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"质量负责人"
ref=
"zlfzr"
prop=
"zlfzr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zlfzr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"估计费用"
ref=
"gjfy"
prop=
"gjfy"
>
<el-input
:readonly=
"readonly"
v-model=
"form.gjfy"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<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>
</el-form>
</RelDialog>
</RelDialog>
</
template
>
</
template
>
...
@@ -49,7 +111,7 @@
...
@@ -49,7 +111,7 @@
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"aqgl
RcglYjya
Edit"
,
name
:
"aqgl
Yjyljh
Edit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
data
()
{
...
@@ -64,16 +126,36 @@
...
@@ -64,16 +126,36 @@
form
:
{
form
:
{
//ID
//ID
id
:
''
,
id
:
''
,
//名称
//
演练
名称
name
:
''
,
name
:
''
,
//内容
//演练组织单位
content
:
''
,
zzdw
:
''
,
//部门ID
//培训人数
bmid
:
''
,
pxrs
:
''
,
//分级ID
//演练目标
fjid
:
''
,
ylmb
:
''
,
//序号
//演练方式
xh
:
''
,
ylfs
:
''
,
//演练时间
lysj
:
new
Date
().
getTime
(),
//年度
year
:
''
,
//季度
quarter
:
''
,
//演练责任人
ylzrr
:
''
,
//演练时长
ylsc
:
''
,
//主(协)办单位
zbdw
:
''
,
//目标完成标准
mbwcbz
:
''
,
//演练负责人
ylfzr
:
''
,
//质量负责人
zlfzr
:
''
,
//估计费用
gjfy
:
''
,
//备注
//备注
bz
:
''
,
bz
:
''
,
//维护人编码
//维护人编码
...
@@ -93,14 +175,7 @@
...
@@ -93,14 +175,7 @@
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
}
}
},
},
...
...
src/views/contingency/contingencyplan/index.vue
View file @
7268d226
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-col
:span=
"12"
class=
"search-col"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.
name
"
></el-input>
<el-input
v-model=
"queryParams.
info
"
></el-input>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -44,9 +44,8 @@
...
@@ -44,9 +44,8 @@
doQuery
,
doQuery
,
doAdd
,
doAdd
,
doUpdate
,
doUpdate
,
doDelete
,
doDelete
doInitGlcj
}
from
'@/api/contingency/yjyljh.js'
;
}
from
'@/api/contingency/planManage.js'
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
...
@@ -54,7 +53,7 @@
...
@@ -54,7 +53,7 @@
}
from
'common'
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'aqgl
RcglYjya
'
,
name
:
'aqgl
Yjyljh
'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
...
@@ -68,22 +67,33 @@
...
@@ -68,22 +67,33 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'/aqgl/yjgl/yjy
a
'
,
baseUrl
:
'/aqgl/yjgl/yjy
ljh
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
name
:
''
info
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位"
,
prop
:
"zzdw"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
// {label: "分级ID", prop: "fjid", fieldType: "ftString",width:192},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"分级"
,
prop
:
"fjName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"演练时间"
,
prop
:
"lysj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
{
label
:
"季度"
,
prop
:
"quarter"
,
fieldType
:
"int"
},
{
label
:
"演练责任人"
,
prop
:
"ylzrr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"float"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdw"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"目标完成标准"
,
prop
:
"mbwcbz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"演练负责人"
,
prop
:
"ylfzr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"质量负责人"
,
prop
:
"zlfzr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"float"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
]
}
}
},
},
...
...
src/views/contingency/contingencystudy/edit.vue
View file @
7268d226
...
@@ -3,40 +3,95 @@
...
@@ -3,40 +3,95 @@
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
"
演练
名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"分级"
ref=
"fjid"
prop=
"fj
id"
>
<el-form-item
label=
"分公司ID"
ref=
"gsid"
prop=
"gs
id"
>
<
RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'/aqgl/rcgl/yjya/init/glcj'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.fjid' >
</RelSelec
t>
<
el-input
:readonly=
"readonly"
v-model=
"form.gsid"
></el-inpu
t>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"6"
>
<el-row
:gutter=
"20"
>
<el-form-item
label=
"演练组织单位ID"
ref=
"yldwid"
prop=
"yldwid"
>
<el-col
:span=
"24"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yldwid"
></el-input>
<el-form-item
label=
"内容"
ref=
"content"
prop=
"content"
>
</el-form-item>
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练计划ID"
ref=
"yljhid"
prop=
"yljhid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yljhid"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"部门"
ref=
"bmid"
prop=
"bmid"
>
<el-form-item
label=
"培训人数"
ref=
"pxrs"
prop=
"pxrs"
>
<RelSelect
:readonly=
"readonly"
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.pxrs"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练目标"
ref=
"ylmb"
prop=
"ylmb"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylmb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练方式"
ref=
"ylfs"
prop=
"ylfs"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylfs"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练时间"
ref=
"ylrq"
prop=
"ylrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ylrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练责任人"
ref=
"ylzrrid"
prop=
"ylzrrid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylzrrid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练时长"
ref=
"ylsc"
prop=
"ylsc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylsc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"主(协)办单位"
ref=
"zbdwid"
prop=
"zbdwid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zbdwid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"演练负责人ID"
ref=
"ylfzrid"
prop=
"ylfzrid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ylfzrid"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"质量负责人ID"
ref=
"zlfzrid"
prop=
"zlfzrid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zlfzrid"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"估计费用"
ref=
"gjfy"
prop=
"gjfy"
>
<el-input
:readonly=
"readonly"
v-model=
"form.gjfy"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<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-row>
</el-form>
</el-form>
</RelDialog>
</RelDialog>
</
template
>
</
template
>
...
@@ -49,7 +104,7 @@
...
@@ -49,7 +104,7 @@
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"aqgl
RcglYjya
Edit"
,
name
:
"aqgl
Yjyl
Edit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
data
()
{
...
@@ -64,16 +119,34 @@
...
@@ -64,16 +119,34 @@
form
:
{
form
:
{
//ID
//ID
id
:
''
,
id
:
''
,
//名称
//
演练
名称
name
:
''
,
name
:
''
,
//内容
//分公司ID
content
:
''
,
gsid
:
''
,
//部门ID
//演练组织单位ID
bmid
:
''
,
yldwid
:
''
,
//分级ID
//演练计划ID
fjid
:
''
,
yljhid
:
''
,
//序号
//培训人数
xh
:
''
,
pxrs
:
''
,
//演练目标
ylmb
:
''
,
//演练方式
ylfs
:
''
,
//演练时间
ylrq
:
new
Date
().
getTime
(),
//演练责任人
ylzrrid
:
''
,
//演练时长
ylsc
:
''
,
//主(协)办单位
zbdwid
:
''
,
//演练负责人ID
ylfzrid
:
''
,
//质量负责人ID
zlfzrid
:
''
,
//估计费用
gjfy
:
''
,
//备注
//备注
bz
:
''
,
bz
:
''
,
//维护人编码
//维护人编码
...
@@ -93,14 +166,7 @@
...
@@ -93,14 +166,7 @@
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
}
}
},
},
...
...
src/views/contingency/contingencystudy/index.vue
View file @
7268d226
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-col
:span=
"12"
class=
"search-col"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.
name
"
></el-input>
<el-input
v-model=
"queryParams.
info
"
></el-input>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -44,9 +44,8 @@
...
@@ -44,9 +44,8 @@
doQuery
,
doQuery
,
doAdd
,
doAdd
,
doUpdate
,
doUpdate
,
doDelete
,
doDelete
doInitGlcj
}
from
'@/api/contingency/yjyl.js'
;
}
from
'@/api/contingency/planManage.js'
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
...
@@ -54,7 +53,7 @@
...
@@ -54,7 +53,7 @@
}
from
'common'
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'aqgl
RcglYjya
'
,
name
:
'aqgl
Yjyl
'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
...
@@ -68,22 +67,32 @@
...
@@ -68,22 +67,32 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'/aqgl/yjgl/yjy
a
'
,
baseUrl
:
'/aqgl/yjgl/yjy
l
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
name
:
''
info
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"演练名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"分公司ID"
,
prop
:
"gsid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"演练组织单位ID"
,
prop
:
"yldwid"
,
fieldType
:
"ftString"
,
width
:
192
},
// {label: "分级ID", prop: "fjid", fieldType: "ftString",width:192},
{
label
:
"演练计划ID"
,
prop
:
"yljhid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"分级"
,
prop
:
"fjName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"培训人数"
,
prop
:
"pxrs"
,
fieldType
:
"int"
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"演练目标"
,
prop
:
"ylmb"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"演练方式"
,
prop
:
"ylfs"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"演练时间"
,
prop
:
"ylrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"演练责任人"
,
prop
:
"ylzrrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"演练时长"
,
prop
:
"ylsc"
,
fieldType
:
"float"
},
{
label
:
"主(协)办单位"
,
prop
:
"zbdwid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"演练负责人ID"
,
prop
:
"ylfzrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"质量负责人ID"
,
prop
:
"zlfzrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"估计费用"
,
prop
:
"gjfy"
,
fieldType
:
"float"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
]
}
}
},
},
...
...
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