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
33370ba4
Commit
33370ba4
authored
Nov 11, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue
parents
a14cb3b7
6e135c84
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1048 additions
and
556 deletions
+1048
-556
index.js
src/router/index.js
+1
-1
edit.vue
src/views/threeViolations/correctTV/edit.vue
+278
-101
exposure.vue
src/views/threeViolations/correctTV/exposure.vue
+48
-18
index.vue
src/views/threeViolations/correctTV/index.vue
+53
-123
index.vue
src/views/threeViolations/enterTV/index.vue
+1
-1
edit.vue
src/views/threeViolations/punishmentRecord/edit.vue
+281
-90
index.vue
src/views/threeViolations/punishmentRecord/index.vue
+55
-59
edit.vue
src/views/threeViolations/queryRecords/edit.vue
+278
-85
index.vue
src/views/threeViolations/queryRecords/index.vue
+53
-78
No files found.
src/router/index.js
View file @
33370ba4
...
@@ -808,7 +808,7 @@ export const constantRoutes = [
...
@@ -808,7 +808,7 @@ export const constantRoutes = [
component
:()
=>
import
(
"@/views/train/onlinExamination/index"
),
component
:()
=>
import
(
"@/views/train/onlinExamination/index"
),
hidden
:
false
,
hidden
:
false
,
meta
:{
meta
:{
"title"
:
"
onlinExamination
"
,
"title"
:
"
在线考试管理
"
,
"icon"
:
""
,
"icon"
:
""
,
"noCache"
:
false
,
"noCache"
:
false
,
"link"
:
null
,
"link"
:
null
,
...
...
src/views/threeViolations/correctTV/edit.vue
View file @
33370ba4
This diff is collapsed.
Click to expand it.
src/views/threeViolations/correctTV/exposure.vue
View file @
33370ba4
<
template
>
<
template
>
<div
class=
"form-detail"
>
<div
class=
"form-detail"
>
<el-form
ref=
"form"
label-width=
'80px'
:model=
"form"
>
<el-row
class=
"tool-bar"
>
<!--
<AttachFileButton
:params=
"
{childPath:'BGLX'}" :app='vMain'>
</AttachFileButton>
-->
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<br>
<el-form
ref=
"form"
label-width=
'80px'
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"
通报内容
"
>
<el-form-item
label=
"
纠正措施
"
>
<el-input
type=
"textarea"
rows=
"5"
>
<el-input
v-model=
'vMain.rowItem.jzcs'
:readonly=
"readonly"
type=
"textarea"
rows=
"5"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"纠正结果"
>
<el-form-item
label=
"纠正结果"
>
<el-input
type=
"textarea"
rows=
"5"
>
<el-input
v-model=
'vMain.rowItem.jzjg'
:readonly=
"readonly"
type=
"textarea"
rows=
"5"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"验证人"
>
<el-form-item
label=
"验证人"
>
<el-input
>
<personSelector
:readonly=
"readonly"
:label=
"vMain.rowItem.jzyzrName||vMain.rowItem.jzyzrid||'暂无'"
@
selected=
'yzrSelected'
></personSelector>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"验证时间"
>
<el-form-item
label=
"验证时间"
>
<el-date-picker></el-date-picker>
<el-date-picker
style=
'width:100%'
v-model=
'vMain.rowItem.jzyzsj'
:readonly=
"readonly"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -36,25 +46,45 @@
...
@@ -36,25 +46,45 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
readonly
:
true
,
}
}
},
},
props
:[
'vMain'
],
methods
:
{
methods
:
{
handleRemove
(
file
,
fileList
)
{
yzrSelected
(
row
){
console
.
log
(
file
,
fileList
);
this
.
vMain
.
rowItem
.
id
=
row
.
id
},
},
handlePictureCardPreview
(
file
)
{
save
(){
this
.
dialogImageUrl
=
file
.
url
;
let
params
=
this
.
vMain
.
rowItem
this
.
dialogVisible
=
true
;
this
.
vMain
.
apiUpdate
(
params
).
then
(
res
=>
{
}
if
(
res
.
success
)
{
this
.
$success
(
'更新成功'
)
this
.
readonly
=
true
this
.
vMain
.
$refs
[
'TablePager'
].
reLoad
()
let
tableData
=
this
.
vMain
.
$refs
[
'TablePager'
].
tableData
let
nowIndex
=
false
tableData
.
forEach
((
data
,
index
)
=>
{
if
(
data
.
id
==
params
.
master
.
id
){
nowIndex
=
index
}
})
if
(
nowIndex
!==
false
){
this
.
vMain
.
$refs
[
'TablePager'
].
tableData
.
splice
(
nowIndex
,
1
,
params
.
master
)
this
.
vMain
.
$refs
[
'TablePager'
].
setCurrent
(
params
.
master
)
}
}
else
{
this
.
$error
(
res
.
message
||
'更新失败'
)
}
})
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.form-detail
{
.form-detail
{
height
:
3
00px
;
height
:
5
00px
;
width
:
100%
;
width
:
100%
;
overflow-y
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
...
...
src/views/threeViolations/correctTV/index.vue
View file @
33370ba4
...
@@ -26,10 +26,9 @@
...
@@ -26,10 +26,9 @@
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<!--
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<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>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -47,7 +46,7 @@
...
@@ -47,7 +46,7 @@
</div>
</div>
<div
class=
"min_full"
style=
"height: 60%;padding: 10px;"
>
<div
class=
"min_full"
style=
"height: 60%;padding: 10px;"
>
<!-- tabs -->
<!-- tabs -->
<Exposure
/>
<Exposure
:vMain=
'this'
/>
</div>
</div>
</div>
</div>
...
@@ -55,14 +54,12 @@
...
@@ -55,14 +54,12 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryKzzxRole
,
doQuery
,
QueryApptype
,
doAdd
,
AddKzzxRole
,
doUpdate
,
DeleteKzzxRole
,
doDelete
UpdateKzzxRole
,
}
from
'@/api/threeViolations/enterTV.js'
;
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
Exposure
from
'./exposure.vue'
import
Exposure
from
'./exposure.vue'
...
@@ -76,8 +73,7 @@
...
@@ -76,8 +73,7 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
console
.
log
(
_
)
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -88,7 +84,7 @@
...
@@ -88,7 +84,7 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/role
'
,
baseUrl
:
'
/aqgl/swgl/swjl
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
ksrq
:
''
,
ksrq
:
''
,
...
@@ -96,87 +92,41 @@
...
@@ -96,87 +92,41 @@
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
// {label: "班组", prop: "bzName", fieldType: "ftString",width:192},
label
:
'时间'
,
// {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192},
show
:
false
,
{
label
:
"违章人"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
192
},
fieldType
:
'ftDateTime'
,
{
label
:
"手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
192
},
width
:
'100'
,
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDateTime"
},
align
:
'left'
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
300
},
},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{
// {label: "维护人", prop: "whr", fieldType: "ftString"},
prop
:
'whsj'
,
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
label
:
'车间'
,
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
...
this
.
$common
(
'ftDateTime'
)
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
},
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
{
// {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
label
:
'岗位'
,
// {label: "曝光内容", prop: "bgcont", fieldType: "ftString",width:300},
width
:
'100'
// {label: "安全教育人", prop: "aqjyrid", fieldType: "ftString",width:192},
},
// {label: "安全教育时间", prop: "aqjysj", fieldType: "ftDateTime"},
{
// {label: "安全教育内容", prop: "aqcont", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "反思内容", prop: "fscont", fieldType: "ftString",width:300},
label
:
'地点'
,
// {label: "谈话层级", prop: "ldglcj", fieldType: "ftString",width:60},
width
:
'100'
// {label: "教育人编码", prop: "ldjyrid", fieldType: "ftString",width:192},
},
// {label: "被教育人编码", prop: "ldbjyrid", fieldType: "ftString",width:192},
{
// {label: "领导教育时间", prop: "ldjysj", fieldType: "ftDateTime"},
prop
:
'whr'
,
// {label: "领导教育内容", prop: "ldcont", fieldType: "ftString",width:300},
label
:
'作业活动设施风险点'
,
// {label: "家属教育人", prop: "jsjyr", fieldType: "ftString",width:180},
width
:
'100'
// {label: "家属教育时间", prop: "jsjysj", fieldType: "ftDateTime"},
},
// {label: "家属教育内容", prop: "jscont", fieldType: "ftString",width:300},
{
// {label: "纠正措施", prop: "jzcs", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "纠正结果", prop: "jzjg", fieldType: "ftString",width:300},
label
:
'事故类型'
,
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
width
:
'100'
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
},
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
{
// {label: "处罚金额", prop: "cfje", fieldType: "float"},
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'
}
]
}
}
},
},
methods
:
{
methods
:
{
...
@@ -184,38 +134,18 @@
...
@@ -184,38 +134,18 @@
console
.
log
(
val
,
'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
()
{
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/threeViolations/enterTV/index.vue
View file @
33370ba4
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
(
{
setFirstCurrent
:
true
}
)
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/threeViolations/punishmentRecord/edit.vue
View file @
33370ba4
This diff is collapsed.
Click to expand it.
src/views/threeViolations/punishmentRecord/index.vue
View file @
33370ba4
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
所在
支部
:
</span>
<span
class=
"search-span"
>
所在
部门
:
</span>
<el-input></el-inpu
t>
<RelSelect
hasValue
style=
"width: 100%;"
src=
'/kzzx/bm/query'
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelec
t>
</div>
</div>
</el-col>
</el-col>
...
@@ -45,10 +45,10 @@
...
@@ -45,10 +45,10 @@
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<
!--
<
AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
-->
<
AttachFileButton
:app=
'app'
></AttachFileButton
>
<
!--
<AttachFileButton
:app=
'app'
></AttachFileButton>
--
>
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -69,13 +69,11 @@
...
@@ -69,13 +69,11 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryKzzxRole
,
doQuery
,
QueryApptype
,
doAdd
,
AddKzzxRole
,
doUpdate
,
DeleteKzzxRole
,
doDelete
UpdateKzzxRole
,
}
from
'@/api/threeViolations/enterTV.js'
;
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
...
@@ -83,7 +81,6 @@
...
@@ -83,7 +81,6 @@
}
from
'common'
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
...
@@ -98,62 +95,61 @@
...
@@ -98,62 +95,61 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/role
'
,
baseUrl
:
'
/aqgl/swgl/swjl
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
ksrq
:
''
,
ksrq
:
''
,
jsrq
:
''
jsrq
:
''
,
bmid
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
// {label: "班组", prop: "bzName", fieldType: "ftString",width:192},
label
:
'人员工号'
,
// {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192},
...
this
.
$common
(
'ftDateTime'
)
{
label
:
"违章人"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
192
},
},
{
label
:
"手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
192
},
{
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDateTime"
},
prop
:
'whsj'
,
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
300
},
label
:
'姓名'
,
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
...
this
.
$common
(
'ftDateTime'
)
// {label: "维护人", prop: "whr", fieldType: "ftString"},
},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
prop
:
'whr'
,
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
label
:
'所在支部'
,
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
width
:
'100'
// {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
},
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
{
// {label: "曝光内容", prop: "bgcont", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "安全教育人", prop: "aqjyrid", fieldType: "ftString",width:192},
label
:
'所在班组'
,
// {label: "安全教育时间", prop: "aqjysj", fieldType: "ftDateTime"},
width
:
'100'
// {label: "安全教育内容", prop: "aqcont", fieldType: "ftString",width:300},
},
// {label: "反思内容", prop: "fscont", fieldType: "ftString",width:300},
{
// {label: "谈话层级", prop: "ldglcj", fieldType: "ftString",width:60},
prop
:
'whr'
,
// {label: "教育人编码", prop: "ldjyrid", fieldType: "ftString",width:192},
label
:
'联系手机'
,
// {label: "被教育人编码", prop: "ldbjyrid", fieldType: "ftString",width:192},
width
:
'100'
// {label: "领导教育时间", prop: "ldjysj", fieldType: "ftDateTime"},
},
// {label: "领导教育内容", prop: "ldcont", fieldType: "ftString",width:300},
{
// {label: "家属教育人", prop: "jsjyr", fieldType: "ftString",width:180},
prop
:
'whr'
,
// {label: "家属教育时间", prop: "jsjysj", fieldType: "ftDateTime"},
label
:
'违章日期'
,
// {label: "家属教育内容", prop: "jscont", fieldType: "ftString",width:300},
width
:
'100'
// {label: "纠正措施", prop: "jzcs", fieldType: "ftString",width:300},
},
// {label: "纠正结果", prop: "jzjg", fieldType: "ftString",width:300},
{
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
prop
:
'whr'
,
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
label
:
'违章行为'
,
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
width
:
'100'
// {label: "处罚金额", prop: "cfje", fieldType: "float"},
}
]
]
}
}
},
},
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
query
:
QueryKzzxRole
,
/* 基础增*/
/* 基础增*/
apiAdd
:
doAdd
,
apiAdd
:
AddKzzxRole
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
doUpdate
,
apiUpdate
:
UpdateKzzxRole
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
doDelete
,
apiDelete
:
DeleteKzzxRole
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
init
()
{
init
()
{
...
...
src/views/threeViolations/queryRecords/edit.vue
View file @
33370ba4
This diff is collapsed.
Click to expand it.
src/views/threeViolations/queryRecords/index.vue
View file @
33370ba4
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
所在
支部
:
</span>
<span
class=
"search-span"
>
所在
部门
:
</span>
<el-input></el-inpu
t>
<RelSelect
hasValue
:optionsData=
'optionsData'
style=
"width: 100%;"
src=
'/kzzx/bm/query'
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelec
t>
</div>
</div>
</el-col>
</el-col>
...
@@ -67,15 +67,14 @@
...
@@ -67,15 +67,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryKzzxRole
,
doQuery
,
QueryApptype
,
doAdd
,
AddKzzxRole
,
doUpdate
,
DeleteKzzxRole
,
doDelete
UpdateKzzxRole
,
}
from
'@/api/threeViolations/enterTV.js'
;
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
...
@@ -98,92 +97,68 @@
...
@@ -98,92 +97,68 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/role
'
,
baseUrl
:
'
/aqgl/swgl/swjl
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
ksrq
:
''
,
ksrq
:
''
,
jsrq
:
''
jsrq
:
''
,
bmid
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
// {label: "班组", prop: "bzName", fieldType: "ftString",width:192},
label
:
'人员工号'
,
// {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192},
...
this
.
$common
(
'ftDateTime'
)
{
label
:
"违章人"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
192
},
},
{
label
:
"手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
192
},
{
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDateTime"
},
prop
:
'whsj'
,
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
300
},
label
:
'姓名'
,
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
...
this
.
$common
(
'ftDateTime'
)
// {label: "维护人", prop: "whr", fieldType: "ftString"},
},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
prop
:
'whr'
,
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
label
:
'所在支部'
,
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
width
:
'100'
// {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
},
// {label: "状态", prop: "zt", fieldType: "ftString",width:6},
{
// {label: "曝光内容", prop: "bgcont", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "安全教育人", prop: "aqjyrid", fieldType: "ftString",width:192},
label
:
'所在班组'
,
// {label: "安全教育时间", prop: "aqjysj", fieldType: "ftDateTime"},
width
:
'100'
// {label: "安全教育内容", prop: "aqcont", fieldType: "ftString",width:300},
},
// {label: "反思内容", prop: "fscont", fieldType: "ftString",width:300},
{
// {label: "谈话层级", prop: "ldglcj", fieldType: "ftString",width:60},
prop
:
'whr'
,
// {label: "教育人编码", prop: "ldjyrid", fieldType: "ftString",width:192},
label
:
'联系手机'
,
// {label: "被教育人编码", prop: "ldbjyrid", fieldType: "ftString",width:192},
width
:
'100'
// {label: "领导教育时间", prop: "ldjysj", fieldType: "ftDateTime"},
},
// {label: "领导教育内容", prop: "ldcont", fieldType: "ftString",width:300},
{
// {label: "家属教育人", prop: "jsjyr", fieldType: "ftString",width:180},
prop
:
'whr'
,
// {label: "家属教育时间", prop: "jsjysj", fieldType: "ftDateTime"},
label
:
'违章日期'
,
// {label: "家属教育内容", prop: "jscont", fieldType: "ftString",width:300},
width
:
'100'
// {label: "纠正措施", prop: "jzcs", fieldType: "ftString",width:300},
},
// {label: "纠正结果", prop: "jzjg", fieldType: "ftString",width:300},
{
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
prop
:
'whr'
,
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
label
:
'违章行为'
,
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
width
:
'100'
// {label: "处罚金额", prop: "cfje", fieldType: "float"},
},
]
{
prop
:
'whr'
,
label
:
'处罚金额'
,
width
:
'100'
}
]
}
}
},
},
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
QueryKzzxRole
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddKzzxRole
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateKzzxRol
e
,
apiUpdate
:
doUpdat
e
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DeleteKzzxRol
e
,
apiDelete
:
doDelet
e
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
init
()
{
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
||
'操作失败'
)
}
})
})
}
},
},
...
...
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