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
419383fc
Commit
419383fc
authored
Nov 11, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
8671bdc1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
206 additions
and
153 deletions
+206
-153
enterTV.js
src/api/threeViolations/enterTV.js
+0
-1
tFPasses.js
src/api/threeViolations/tFPasses.js
+37
-0
index.js
src/router/index.js
+15
-1
index.vue
src/views/threeViolations/enterTV/index.vue
+2
-0
index.vue
src/views/threeViolations/tFPasses/index.vue
+152
-151
No files found.
src/api/threeViolations/enterTV.js
View file @
419383fc
...
...
@@ -35,4 +35,3 @@ export function doDelete(query) {
src/api/threeViolations/tFPasses.js
0 → 100644
View file @
419383fc
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjlsp/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjlsp/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjlsp/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjlsp/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/router/index.js
View file @
419383fc
import
Vue
from
'vue'
import
Router
from
'vue-router'
// import views from 'common'
Vue
.
use
(
Router
)
/* Layout */
...
...
@@ -126,6 +126,20 @@ export const constantRoutes = [
name
:
'scgw'
,
path
:
"scgw"
},
// {
// commonComponent:'test',
// component:() => import( "common/src/views/development/taskLog/index"),
// hidden:false,
// meta:{
// "title": "TEST",
// "icon": "",
// "noCache": false,
// "link": null,
// "mkid":101001300,
// },
// name:'test',
// path:"test"
// },
{
commonComponent
:
'announcementManagement'
,
component
:()
=>
import
(
"@/views/basicData/announcementManagement/index"
),
...
...
src/views/threeViolations/enterTV/index.vue
View file @
419383fc
...
...
@@ -24,6 +24,7 @@
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<WorkFlowButton
:app=
'app'
></WorkFlowButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -85,6 +86,7 @@
{
label
:
"手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"wfpname"
,
fieldType
:
"ftString"
,
width
:
100
},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
...
...
src/views/threeViolations/tFPasses/index.vue
View file @
419383fc
<
template
>
<div
class=
"min_full"
style=
"height: 140vh;"
>
<div
class=
"min_full"
style=
"height: 40%;"
>
<!-- 查询条件-->
<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-input
style=
"width:60% ;"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
人员工号:
</span>
<el-input></el-input>
</div>
<
template
>
<div
class=
"min_full"
style=
"height: 140vh;"
>
<div
class=
"min_full"
style=
"height: 40%;"
>
<!-- 查询条件-->
<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-input
style=
"width:60% ;"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
人员工号:
</span>
<el-input></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
...
...
@@ -30,143 +30,144 @@
<span
class=
"search-span"
>
结束时间:
</span>
<el-input></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>
<div
class=
"min_full"
style=
"height: 60%;padding: 10px;"
>
<!-- tabs -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
v-show=
'rowItem.id'
>
</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>
<div
class=
"min_full"
style=
"height: 60%;padding: 10px;"
>
<!-- tabs -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
v-show=
'rowItem.id'
>
<el-tab-pane
label=
"曝光亮相关"
name=
"first"
>
<Exposure
:vMain=
'this'
/>
</el-tab-pane>
<Exposure
:vMain=
'this'
/>
</el-tab-pane>
<el-tab-pane
label=
"安全补课关"
name=
"second"
>
<SafetyCourse
:vMain=
'this'
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"反思检查关"
name=
"third"
>
<Reflect
:vMain=
'this'
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"领导谈话关"
name=
"fourth"
>
<Leadership
:vMain=
'this'
/>
</el-tab-pane>
<el-tab-pane
label=
"家属协管关"
name=
"fifth"
>
<Family
:vMain=
'this'
/>
</el-tab-pane>
</el-tabs>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
</el-tab-pane>
</el-tabs>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/threeViolations/
enterTV.js'
;
/* edit页面*/
import
Edit
from
'./edit'
}
from
'@/api/threeViolations/
tFPasses.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
Exposure
from
'./exposure.vue'
import
SafetyCourse
from
'./safetyCourse.vue'
import
Reflect
from
'./reflect.vue'
import
Leadership
from
'./leadership.vue'
import
Family
from
'./family.vue'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
data
()
{
import
Reflect
from
'./reflect.vue'
import
Leadership
from
'./leadership.vue'
import
Family
from
'./family.vue'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
data
()
{
return
{
rowItem
:
{
id
:
''
},
activeName
:
'first'
,
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/swgl/swjl'
,
/* 查询参数*/
queryParams
:
{
ksrq
:
''
,
jsrq
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"班组"
,
prop
:
"bzName"
,
fieldType
:
"ftString"
,
width
:
192
},
},
activeName
:
'first'
,
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/swgl/swjl'
,
/* 查询参数*/
queryParams
:
{
ksrq
:
''
,
jsrq
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"班组"
,
prop
:
"bzName"
,
fieldType
:
"ftString"
,
width
:
192
},
// {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192},
{
label
:
"违章人"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"手机"
,
prop
:
"phone"
,
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
:
{
{
label
:
"手机"
,
prop
:
"phone"
,
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
:
{
handleClick
(
val
){
console
.
log
(
val
,
'val'
)
},
/* 基础查询*/
},
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
...
...
@@ -178,26 +179,26 @@
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
},
components
:
{
Edit
,
Exposure
,
SafetyCourse
,
Leadership
,
Reflect
,
Family
}
}
</
script
>
<
style
scoped
>
/
deep
/
.el-tabs__item
{
font-size
:
13px
;
color
:
#666
;
}
Family
}
}
</
script
>
<
style
scoped
>
/
deep
/
.el-tabs__item
{
font-size
:
13px
;
color
:
#666
;
}
</
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