Commit 747ea5b2 authored by zhoumaotao's avatar zhoumaotao

增加目录

parent f1690c9d
import request from 'common/src/utils/request'
/* 角色管理query */
/* 外协单位申报query */
export function doQuery(query) {
return request({
url: '/aqgl/wxgl/wxdwsb/query',
......@@ -8,7 +8,7 @@ method: 'post',
data: query||{}
})
}
/* 角色管理更新 */
/* 外协单位申报更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/wxgl/wxdwsb/update',
......@@ -16,6 +16,7 @@ method: 'post',
data: query||{}
})
}
/* 外协单位申报新增 */
export function doAdd(query) {
return request({
url: '/aqgl/wxgl/wxdwsb/add',
......@@ -23,6 +24,8 @@ method: 'post',
data: query||{}
})
}
/* 外协单位申报删除 */
export function doDelete(query) {
return request({
url: '/aqgl/wxgl/wxdwsb/delete',
......@@ -58,7 +61,44 @@ export function initSwlx(query) {
}
/* 外协单位审批查询 */
export function doQuerySp(query) {
return request({
url: '/aqgl/wxgl/wxdwsp/query',
method: 'post',
data: query||{}
})
}
/* 隐患记录查询 */
export function yhjl(query) {
return request({
url: '/aqgl/wxgl/wxdwsp/yhjl/query',
method: 'post',
data: query||{"zrdwid":"","fzrid":""}
})
}
/* 教育培训记录查询 */
export function pxjl(query) {
return request({
url: '/aqgl/wxgl/wxdwsp/pxjl/query',
method: 'post',
data: query||{"zrdwid":"","fzrid":""}
})
}
/* 三违记录查询 */
export function swjl(query) {
return request({
url: '/aqgl/wxgl/wxdwsp/swjl/query',
method: 'post',
data: query||{"zrdwid":"","fzrid":""}
})
}
......@@ -978,20 +978,6 @@ export const constantRoutes = [
redirect: 'outsourcingDirector',
meta: {title: "外协管理", icon: "fa-cog", noCache: false, link: null,mkid:105000000},
children: [
{
commonComponent:'archives',
component:() => import( "@/views/outsourcingDirector/archives/index"),
hidden:false,
meta:{
"title": "外协单位档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":101001300,
},
name:'archives',
path:"archives"
},
{
commonComponent:'declare',
component:() => import( "@/views/outsourcingDirector/declare/index"),
......@@ -1001,11 +987,25 @@ export const constantRoutes = [
"icon": "",
"noCache": false,
"link": null,
"mkid":101001300,
"mkid":909000200,
},
name:'declare',
path:"declare"
},
{
commonComponent:'process',
component:() => import( "@/views/outsourcingDirector/approve/index"),
hidden:false,
meta:{
"title": "外协单位准入审批",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000400,
},
name:'approve',
path:"approve"
},
{
commonComponent:'process',
component:() => import( "@/views/outsourcingDirector/process/index"),
......@@ -1015,10 +1015,24 @@ export const constantRoutes = [
"icon": "",
"noCache": false,
"link": null,
"mkid":101001300,
"mkid":909000600,
},
name:'process',
path:"process"
},
{
commonComponent:'archives',
component:() => import( "@/views/outsourcingDirector/archives/index"),
hidden:false,
meta:{
"title": "外协单位档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000900,
},
name:'archives',
path:"archives"
}
]
},
......
<template>
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp' class="table-form-border">
<!-- 填写表单内容,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="xh" prop="xh">
<el-input :readonly="readonly" v-toUpperCase v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="名称" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单位类型" prop="type">
<el-input :readonly="readonly" v-toUpperCase v-model="form.type"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="管理责任单位" prop="glzrdw">
<el-input :readonly="readonly" v-model="form.glzrdw"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="负责人" prop="fzr">
<el-input :readonly="readonly" v-model="form.fzr"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="单位地址" prop="dwdz">
<el-input :readonly="readonly" v-model="form.dwdz"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="电子信箱" prop="mail">
<el-input :readonly="readonly" v-model="form.mail"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="联系电话" prop="phone">
<el-input :readonly="readonly" v-model="form.phone"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="联系人" prop="lxr">
<el-input :readonly="readonly" v-model="form.lxr"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="备注">
<el-input :readonly="readonly" v-model="form.bz"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<!-- 按钮重写, -->
<!-- <div slot="reFooter">
<span slot="footer">
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div> -->
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
},
/* 组件名称*/
name: 'roleManagementEdit',
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
roleid: '',
rolename: '',
bz: "",
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
$color-border-grey:#c0c4cc;
.table-form-border {
.el-form{
border-top: 1px solid $color-border-grey;
border-right: 1px solid $color-border-grey;
}
.el-row .el-form-item{
border-bottom: 1px solid $color-border-grey;
margin-bottom:0;
::v-deep .el-form-item__label {
border-right: 1px solid $color-border-grey;
border-left: 1px solid $color-border-grey;
padding: 0;
text-align: center;
background: #eee;
}
::v-deep .el-input__inner{
border:none
}
}
.el-row .el-col:nth-child(2n+1){
padding-right: 0!important
}
.el-row .el-col:nth-child(2n){
padding-left: 0!important
}
.el-row:last-child .el-col,.el-row:first-child .el-col{
padding-right: 10px!important;
padding-left: 10px!important
}
}
</style>
This diff is collapsed.
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