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
df54ea3b
Commit
df54ea3b
authored
Nov 10, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三违
parent
922632ac
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
734 additions
and
0 deletions
+734
-0
enterTV.js
src/api/threeViolations/enterTV.js
+38
-0
maintainTV.js
src/api/threeViolations/maintainTV.js
+38
-0
edit.vue
src/views/threeViolations/enterTV/new/edit.vue
+288
-0
index.vue
src/views/threeViolations/enterTV/new/index.vue
+138
-0
edit.vue
src/views/threeViolations/maintainTV/new/edit.vue
+115
-0
index.vue
src/views/threeViolations/maintainTV/new/index.vue
+117
-0
No files found.
src/api/threeViolations/enterTV.js
0 → 100644
View file @
df54ea3b
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjl/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjl/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjl/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjl/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/threeViolations/maintainTV.js
0 → 100644
View file @
df54ea3b
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swcfbz/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swcfbz/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swcfbz/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swcfbz/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/threeViolations/enterTV/new/edit.vue
0 → 100644
View file @
df54ea3b
This diff is collapsed.
Click to expand it.
src/views/threeViolations/enterTV/new/index.vue
0 → 100644
View file @
df54ea3b
<
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/threeViolations/enterTV.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'enterTV'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/swgl/swjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"部门ID"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"班组ID"
,
prop
:
"bzid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"违规人ID"
,
prop
:
"userid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
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"
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"工作流状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"zt"
,
fieldType
:
"ftString"
,
width
:
6
},
{
label
:
"曝光内容"
,
prop
:
"bgcont"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"安全教育人"
,
prop
:
"aqjyrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"安全教育时间"
,
prop
:
"aqjysj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"安全教育内容"
,
prop
:
"aqcont"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"反思内容"
,
prop
:
"fscont"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"谈话层级"
,
prop
:
"ldglcj"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"教育人编码"
,
prop
:
"ldjyrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"被教育人编码"
,
prop
:
"ldbjyrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"领导教育时间"
,
prop
:
"ldjysj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"领导教育内容"
,
prop
:
"ldcont"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"家属教育人"
,
prop
:
"jsjyr"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"家属教育时间"
,
prop
:
"jsjysj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"家属教育内容"
,
prop
:
"jscont"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"纠正措施"
,
prop
:
"jzcs"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"纠正结果"
,
prop
:
"jzjg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"纠正验证人编码"
,
prop
:
"jzyzrid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"纠正验证时间"
,
prop
:
"jzyzsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"处罚标志"
,
prop
:
"cfbz"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"处罚金额"
,
prop
:
"cfje"
,
fieldType
:
"float"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/threeViolations/maintainTV/new/edit.vue
0 → 100644
View file @
df54ea3b
<
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=
"content"
prop=
"content"
>
<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=
"履职分类"
ref=
"wglx"
prop=
"wglx"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/swgl/swcgbz/init/wglx'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.wglx' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"考核分数"
ref=
"khfs"
prop=
"khfs"
>
<el-input
:readonly=
"readonly"
v-model=
"form.khfs"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"罚款金额下限"
ref=
"fkjexx"
prop=
"fkjexx"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fkjexx"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"罚款金额上限"
ref=
"fkjesx"
prop=
"fkjesx"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fkjesx"
></el-input>
</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
: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
()
{
},
/* 组件名称*/
name
:
"maintainTVEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//序号
xh
:
''
,
//三违内容
content
:
''
,
//类型
wglx
:
''
,
//考核分数
khfs
:
''
,
//罚款金额下限
fkjexx
:
''
,
//罚款金额上限
fkjesx
:
''
,
//备注
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/threeViolations/maintainTV/new/index.vue
0 → 100644
View file @
df54ea3b
<
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/threeViolations/maintainTV'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'maintainTV'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/swgl/swcfbz'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"三违内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"类型"
,
prop
:
"wglx"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"考核分数"
,
prop
:
"khfs"
,
fieldType
:
"int"
},
{
label
:
"罚款金额下限"
,
prop
:
"fkjexx"
,
fieldType
:
"float"
},
{
label
:
"罚款金额上限"
,
prop
:
"fkjesx"
,
fieldType
:
"float"
},
{
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
>
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