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"},
......
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,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> <AttachFileButton :app='app'></AttachFileButton>
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
...@@ -87,12 +87,13 @@ ...@@ -87,12 +87,13 @@
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 Leadership from './leadership.vue'
import Family from './family.vue' import Family from './family.vue'
import { import {
tableMixin tableMixin
......
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