Commit 577ad457 authored by 李苏's avatar 李苏 💬

aqgl/fxyk/fxpc/query 调整接口参数

parent 30dc20ae
...@@ -796,7 +796,7 @@ export const powerRoutes = [{ ...@@ -796,7 +796,7 @@ export const powerRoutes = [{
path: "securityDocumentManagement" path: "securityDocumentManagement"
}, },
/* 目录维护 */ /* 目录维护 */
/* { {
component: 'basicData/bzwdmlwh/index', component: 'basicData/bzwdmlwh/index',
hidden: false, hidden: false,
meta: { meta: {
...@@ -808,7 +808,7 @@ export const powerRoutes = [{ ...@@ -808,7 +808,7 @@ export const powerRoutes = [{
}, },
name: 'bzwdmlwh', name: 'bzwdmlwh',
path: "bzwdmlwh" path: "bzwdmlwh"
}, */ },
{ {
component: 'basicData/operationDcManagement/index', component: 'basicData/operationDcManagement/index',
hidden: false, hidden: false,
...@@ -2460,7 +2460,7 @@ export const powerRoutes = [{ ...@@ -2460,7 +2460,7 @@ export const powerRoutes = [{
"link": null, "link": null,
"mkid": '913000100', "mkid": '913000100',
}, },
path: 'http://localhost:80', path: 'http://localhost:81',
}, },
{ {
hidden: false, hidden: false,
...@@ -2471,7 +2471,7 @@ export const powerRoutes = [{ ...@@ -2471,7 +2471,7 @@ export const powerRoutes = [{
"link": null, "link": null,
"mkid": '913000200', "mkid": '913000200',
}, },
path: 'http://localhost:81', path: 'http://124.22.0.107:19000/qyTdo/login',
} }
] ]
......
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
DialogTitle:'新增',
showDialog:false,
</div>
<div slot="reFooter" class="refooter" >
<span slot="footer" class="dialog-footer" >
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
export default {
props: {
app: {
type: Object,
default: ()=>{
return {}
}
}
},
async mounted() {
},
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
</style>
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
editColItemList: [
{
"label": "公司",
"prop": "gsid",
"span": 8,
"type": "RelSelect",
required: true,
"typeConfig": {
"src": "jcsj/common/bm/queryGs",
"match": {
"value": "id",
"label": "bmmc"
}
}
},
{
label: '名称',
prop: 'name',
span: 12,
type: 'input',
required: true,
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
},
]
}
}
}
</script>
<template>
<div class="min_full flex" style="flex-direction: row;" >
<div class="full" style="width: 200px;border-right: 0px;">
<LazyTree :props="{
label: 'bmmc',
isLeaf: 'isLeaf'
}" treeTitle='文档目录' @selected='selectedTree' url='aqgl/jcsj/bzzywdml/query/tree' />
</div>
<BasePage ref="basePage" :autoQuery="false" class="min_full" style="width: calc(100% - 200px);border-top: 0px;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
</template>
</BasePage>
</div>
</template>
<script>
import Edit from './edit.vue'
export default{
data(){
return{
config:{
/* 基本配置*/
url:'aqgl/jcsj/bzzywdml',
tableTitle: [
{title: "名称", field: "name", width: 140},
{title: "公司", field: "gsName", width: 140},
{title: "备注", field: "bz"},
{title: "维护人", field: "whr"},
{title: "维护时间", field: "whsj", fieldType:"ftDateTime"},
],
queryParams:[[
{
label: '名称',
prop: 'name',
span: 6,
type: 'input',
value:''
}
]],
/* 默认启停用 */
showqt:false,
}
}
},
methods: {
selectedTree(e) {
this.$refs.basePage.queryParams.gsid=e.id||'root'
this.$refs.basePage.$refs['TablePager'].pageQuery()
},
/* 示例*/
// demo(basePage){
// }
},
components:{
Edit
}
}
</script>
<style>
</style>
...@@ -157,7 +157,7 @@ import Zdzrr from './zdzrr' ...@@ -157,7 +157,7 @@ import Zdzrr from './zdzrr'
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
rwlx:'', rwlx:'',
queryType:'history', queryType:'fxpc',
gsid:'', gsid:'',
bmid:'', bmid:'',
jcr:'', jcr:'',
......
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