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>
<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="6" class="search-col">
<div class="search-item">
<span class="search-span">档案编号:</span>
<el-input v-model="queryParams.xh"></el-input>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">单位名称:</span>
<el-input v-model="queryParams.dwmc"></el-input>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">单位类型:</span>
<el-select v-model="queryParams.type" placeholder="请选择">
<el-option
v-for="(item,index) in options"
:key="index"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</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>
<workFlowButton :app='app'></workFlowButton>
<!-- 额外按钮-->
</el-row>
<!-- 表格-->
<el-row class="full">
<el-col :span="12" class="full-h">
<div class="tablePagers full" style="border-right:1px solid #eee">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' :delButton="false" :isFontPage="true" :allData="allData"
@getRow='getRow'>
<template slot="tabCustom">
</template>
</TablePager>
</div>
</el-col>
<el-col :span="12" class="full-h">
<div class="tablePagers full table-form-border">
<h5 style="text-align:center">外协单位准入申报</h5>
<el-form slot="form" ref="form" :model="form" label-width="120px">
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="档案编号" ref="xh" prop="xh">
<el-input :readonly="readonly" 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" class="padding-right-sm padding-left-sm">
<el-form-item label="备注">
<el-input :readonly="readonly" v-model="form.bz"></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="sbrq">
<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" class="padding-right-sm padding-left-sm">
<div class="" style="line-height:36px;font-size:14px;text-align:center">审批</div>
</el-col>
</el-row>
</el-form>
<el-form slot="form" ref="form" :model="form" label-width="120px" class="declare-table-right">
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" class="">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="物业所在单位" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24" class="padding-right-sm padding-left-sm">
<el-form-item label="申报人" prop="mc">
<el-input :readonly="readonly" v-model="form.mc"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</el-col>
</el-row>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
QueryKzzxRole,
QueryApptype,
AddKzzxRole,
DeleteKzzxRole,
UpdateKzzxRole,
QtKzzxRole
} from "common/src/api/system/dmgSystem.js";
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'appVersion',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
allData:[{xh:"1"}],
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
readonly:true,
powerList: [{
name: '分配'
}, {
name: '复制'
}, {
name: '查看'
}],
/* 基础url*/
baseUrl: 'kzzx/role',
/* 查询参数*/
queryParams: {
xh: '',
dwmc:'',
type:''
},
options: [{
value: 'all',
label: '(空)'
}, {
value: 'A',
label: 'A类'
}, {
value: 'B',
label: 'B类'
}, {
value: 'C',
label: 'C类'
}, {
value: 'D',
label: 'D类'
}],
/* 表格标题对应参数*/
tableTitle: [{
prop: 'xh',
label: '档案编号',
width: '120'
},
{
prop: 'mc',
label: '名称',
width: '160'
},
{
prop: 'dwlx',
label: '单位类型',
width: '160'
},
{
prop: 'rolename',
label: '管理责任单位',
width: '160'
},
{
prop: 'rolename',
label: '负责人',
width: '160'
},
{
prop: 'rolename',
label: '单位地址',
width: '160'
},
{
prop: 'rolename',
label: '电子邮箱',
width: '160'
},
{
prop: 'telephone',
label: '联系电话',
width: '120',
},
{
prop: 'bz',
label: '备注',
}
],
form:{
}
}
},
methods: {
/* 基础查询*/
query: QueryKzzxRole,
/* 基础增*/
/* 初始化赋值操作*/
init() {
},
},
components: {
Edit,
}
}
</script>
<style scoped lang="scss">
.full{
width: 100%;
height: 100%;
}
.full-h{
height: 100%;
}
.marin-top-10{
margin-top: 10px
}
.padding-left-sm{
padding-left: 10px!important
}
.padding-right-sm{
padding-right: 10px!important;
}
.declare-table-right{
height: calc(100% - 420px);
overflow-y: auto;
overflow-x: hidden
}
$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+1).padding-right-sm{
padding-right: 10px!important
}
.el-row .el-col:nth-child(2n){
padding-left: 0!important
}
}
</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