Commit 419383fc authored by dingyoujian's avatar dingyoujian

调整

parent 8671bdc1
...@@ -35,4 +35,3 @@ export function doDelete(query) { ...@@ -35,4 +35,3 @@ export function doDelete(query) {
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||{}
})
}
import Vue from 'vue' import Vue from 'vue'
import Router from 'vue-router' import Router from 'vue-router'
// import views from 'common'
Vue.use(Router) Vue.use(Router)
/* Layout */ /* Layout */
...@@ -126,6 +126,20 @@ export const constantRoutes = [ ...@@ -126,6 +126,20 @@ export const constantRoutes = [
name:'scgw', name:'scgw',
path:"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', commonComponent:'announcementManagement',
component:() => import( "@/views/basicData/announcementManagement/index"), component:() => import( "@/views/basicData/announcementManagement/index"),
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<AttachFileButton :app='app' ></AttachFileButton> <AttachFileButton :app='app' ></AttachFileButton>
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<WorkFlowButton :app='app'></WorkFlowButton>
<!-- 额外按钮--> <!-- 额外按钮-->
<!-- 表头设置 --> <!-- 表头设置 -->
...@@ -85,6 +86,7 @@ ...@@ -85,6 +86,7 @@
{label: "手机", prop: "phone", fieldType: "ftString",width:192}, {label: "手机", prop: "phone", fieldType: "ftString",width:192},
{label: "违章日期", prop: "wzrq", fieldType: "ftDateTime"}, {label: "违章日期", prop: "wzrq", fieldType: "ftDateTime"},
{label: "违章行为", prop: "wzxw", fieldType: "ftString",width:300}, {label: "违章行为", prop: "wzxw", fieldType: "ftString",width:300},
{label: "状态", prop: "wfpname", fieldType: "ftString",width:100},
// {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"},
......
<template> <template>
<div class="min_full" style="height: 140vh;"> <div class="min_full" style="height: 140vh;">
<div class="min_full" style="height: 40%;"> <div class="min_full" style="height: 40%;">
<!-- 查询条件--> <!-- 查询条件-->
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<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 style="width:60% ;"></el-input> <el-input style="width:60% ;"></el-input>
</div> </div>
</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-input> <el-input></el-input>
</div> </div>
</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">
...@@ -30,143 +30,144 @@ ...@@ -30,143 +30,144 @@
<span class="search-span">结束时间:</span> <span class="search-span">结束时间:</span>
<el-input></el-input> <el-input></el-input>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<!-- 按钮操作--> <!-- 按钮操作-->
<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>
<!-- 额外按钮--> <!-- 额外按钮-->
<!-- 表头设置 --> <!-- 表头设置 -->
<!-- 权限--> <!-- 权限-->
</el-row> </el-row>
<!-- 表格--> <!-- 表格-->
<div class="tablePagers"> <div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' <TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
</TablePager> </TablePager>
</div> </div>
</div> </div>
<div class="min_full" style="height: 60%;padding: 10px;"> <div class="min_full" style="height: 60%;padding: 10px;">
<!-- tabs --> <!-- tabs -->
<el-tabs v-model="activeName" @tab-click="handleClick" v-show='rowItem.id' > <el-tabs v-model="activeName" @tab-click="handleClick" v-show='rowItem.id' >
<el-tab-pane label="曝光亮相关" name="first" > <el-tab-pane label="曝光亮相关" name="first" >
<Exposure :vMain='this' /> <Exposure :vMain='this' />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="安全补课关" name="second"> <el-tab-pane label="安全补课关" name="second">
<SafetyCourse :vMain='this' /> <SafetyCourse :vMain='this' />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="反思检查关" name="third"> <el-tab-pane label="反思检查关" name="third">
<Reflect :vMain='this' /> <Reflect :vMain='this' />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="领导谈话关" name="fourth"> <el-tab-pane label="领导谈话关" name="fourth">
<Leadership :vMain='this' /> <Leadership :vMain='this' />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="家属协管关" name="fifth"> <el-tab-pane label="家属协管关" name="fifth">
<Family :vMain='this' /> <Family :vMain='this' />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
/* 引入需要的接口*/ /* 引入需要的接口*/
import { import {
doQuery, doQuery,
doAdd, doAdd,
doUpdate, doUpdate,
doDelete doDelete
} from '@/api/threeViolations/enterTV.js'; } from '@/api/threeViolations/tFPasses.js';
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import Exposure from './exposure.vue' import Exposure from './exposure.vue'
import SafetyCourse from './safetyCourse.vue' import SafetyCourse from './safetyCourse.vue'
import Reflect from './reflect.vue' import Leadership from './leadership.vue' import Reflect from './reflect.vue'
import Family from './family.vue' import Leadership from './leadership.vue'
import { import Family from './family.vue'
tableMixin import {
} from 'common' tableMixin
export default { } from 'common'
mixins: [tableMixin], export default {
name: 'appVersion', mixins: [tableMixin],
name: 'appVersion',
/* 初始额外赋值*/
async mounted() { /* 初始额外赋值*/
this.$refs['TablePager'].pageQuery({setFirstCurrent:true}) async mounted() {
}, this.$refs['TablePager'].pageQuery({setFirstCurrent:true})
data() { },
data() {
return { return {
rowItem: { rowItem: {
id:'' id:''
}, },
activeName: 'first', activeName: 'first',
/*需要的额外参数 */ /*需要的额外参数 */
showDialog: false, showDialog: false,
DialogName: '', DialogName: '',
type: '', type: '',
DialogTitle: '', DialogTitle: '',
/* 基础url*/ /* 基础url*/
baseUrl: '/aqgl/swgl/swjl', baseUrl: '/aqgl/swgl/swjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: '',
jsrq: '' jsrq: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "部门", prop: "bmName", fieldType: "ftString",width:192}, {label: "部门", prop: "bmName", fieldType: "ftString",width:192},
{label: "班组", prop: "bzName", fieldType: "ftString",width:192}, {label: "班组", prop: "bzName", fieldType: "ftString",width:192},
// {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192}, // {label: "违规人ID", prop: "userid", fieldType: "ftString",width:192},
{label: "违章人", prop: "wzr", fieldType: "ftString",width:192}, {label: "违章人", prop: "wzr", fieldType: "ftString",width:192},
{label: "手机", prop: "phone", fieldType: "ftString",width:192}, {label: "手机", prop: "phone", fieldType: "ftString",width:192},
{label: "违章日期", prop: "wzrq", fieldType: "ftDateTime"}, {label: "违章日期", prop: "wzrq", fieldType: "ftDateTime"},
{label: "违章行为", prop: "wzxw", fieldType: "ftString",width:300}, {label: "违章行为", prop: "wzxw", fieldType: "ftString",width:300},
// {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: "cjr", fieldType: "ftString"},
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"}, // {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
// {label: "状态", prop: "zt", fieldType: "ftString",width:6}, // {label: "状态", prop: "zt", fieldType: "ftString",width:6},
// {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300}, // {label: "工作流状态", prop: "wfpname", fieldType: "ftString",width:300},
// {label: "状态", prop: "zt", fieldType: "ftString",width:6}, // {label: "状态", prop: "zt", fieldType: "ftString",width:6},
// {label: "曝光内容", prop: "bgcont", fieldType: "ftString",width:300}, // {label: "曝光内容", prop: "bgcont", fieldType: "ftString",width:300},
// {label: "安全教育人", prop: "aqjyrid", fieldType: "ftString",width:192}, // {label: "安全教育人", prop: "aqjyrid", fieldType: "ftString",width:192},
// {label: "安全教育时间", prop: "aqjysj", fieldType: "ftDateTime"}, // {label: "安全教育时间", prop: "aqjysj", fieldType: "ftDateTime"},
// {label: "安全教育内容", prop: "aqcont", fieldType: "ftString",width:300}, // {label: "安全教育内容", prop: "aqcont", fieldType: "ftString",width:300},
// {label: "反思内容", prop: "fscont", fieldType: "ftString",width:300}, // {label: "反思内容", prop: "fscont", fieldType: "ftString",width:300},
// {label: "谈话层级", prop: "ldglcj", fieldType: "ftString",width:60}, // {label: "谈话层级", prop: "ldglcj", fieldType: "ftString",width:60},
// {label: "教育人编码", prop: "ldjyrid", fieldType: "ftString",width:192}, // {label: "教育人编码", prop: "ldjyrid", fieldType: "ftString",width:192},
// {label: "被教育人编码", prop: "ldbjyrid", fieldType: "ftString",width:192}, // {label: "被教育人编码", prop: "ldbjyrid", fieldType: "ftString",width:192},
// {label: "领导教育时间", prop: "ldjysj", fieldType: "ftDateTime"}, // {label: "领导教育时间", prop: "ldjysj", fieldType: "ftDateTime"},
// {label: "领导教育内容", prop: "ldcont", fieldType: "ftString",width:300}, // {label: "领导教育内容", prop: "ldcont", fieldType: "ftString",width:300},
// {label: "家属教育人", prop: "jsjyr", fieldType: "ftString",width:180}, // {label: "家属教育人", prop: "jsjyr", fieldType: "ftString",width:180},
// {label: "家属教育时间", prop: "jsjysj", fieldType: "ftDateTime"}, // {label: "家属教育时间", prop: "jsjysj", fieldType: "ftDateTime"},
// {label: "家属教育内容", prop: "jscont", fieldType: "ftString",width:300}, // {label: "家属教育内容", prop: "jscont", fieldType: "ftString",width:300},
// {label: "纠正措施", prop: "jzcs", fieldType: "ftString",width:300}, // {label: "纠正措施", prop: "jzcs", fieldType: "ftString",width:300},
// {label: "纠正结果", prop: "jzjg", fieldType: "ftString",width:300}, // {label: "纠正结果", prop: "jzjg", fieldType: "ftString",width:300},
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192}, // {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"}, // {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60}, // {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
// {label: "处罚金额", prop: "cfje", fieldType: "float"}, // {label: "处罚金额", prop: "cfje", fieldType: "float"},
] ]
} }
}, },
methods: { methods: {
handleClick(val){ handleClick(val){
console.log(val,'val') console.log(val,'val')
}, },
/* 基础查询*/ /* 基础查询*/
/* 基础查询*/ /* 基础查询*/
query: doQuery, query: doQuery,
/* 基础增*/ /* 基础增*/
...@@ -178,26 +179,26 @@ ...@@ -178,26 +179,26 @@
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
} }
}, },
components: { components: {
Edit, Edit,
Exposure, Exposure,
SafetyCourse, SafetyCourse,
Leadership, Leadership,
Reflect, Reflect,
Family Family
} }
} }
</script> </script>
<style scoped> <style scoped>
/deep/.el-tabs__item { /deep/.el-tabs__item {
font-size: 13px; font-size: 13px;
color: #666; color: #666;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment