Commit 7c2eec35 authored by 李苏's avatar 李苏 💬

初始

parent 74023e51
...@@ -126,20 +126,6 @@ export const constantRoutes = [ ...@@ -126,20 +126,6 @@ export const constantRoutes = [
name:'announcementManagement', name:'announcementManagement',
path:"announcementManagement" path:"announcementManagement"
}, },
{
commonComponent:'aqgg',
component:() => import( "@/views/basicData/aqgg/index"),
hidden:false,
meta:{
"title": "公告管理(生成)",
"icon": "",
"noCache": false,
"link": null,
"mkid":101001300,
},
name:'aqgg',
path:"aqgg"
},
{ {
commonComponent:'securityDocumentManagement', commonComponent:'securityDocumentManagement',
component:() => import( "@/views/basicData/securityDocumentManagement/index"), component:() => import( "@/views/basicData/securityDocumentManagement/index"),
......
...@@ -4,37 +4,22 @@ ...@@ -4,37 +4,22 @@
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label=">名称" ref="name" prop="name"> <el-form-item label="名称" ref="name" prop="name">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.name" ></el-input>
v-model="form.name" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label=">序号" ref="xh" prop="xh"> <el-form-item label="序号" ref="xh" prop="xh">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.xh" ></el-input>
v-model="form.xh" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label=">备注" ref="bz" prop="bz"> <el-form-item label="备注" ref="bz" prop="bz">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-input :readonly="readonly" v-model="form.bz" ></el-input>
v-model="form.bz" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label=">系统版本" ref="sysversion" prop="sysversion">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.sysversion" placeholder="选择日期">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -50,7 +35,7 @@ ...@@ -50,7 +35,7 @@
}, },
/* 组件名称*/ /* 组件名称*/
name: "aqgl/jcsjBzzywdmlEdit", name: "aqglBzzywdmlEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/ /* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() { data() {
...@@ -88,14 +73,7 @@ ...@@ -88,14 +73,7 @@
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
} }
} }
}, },
......
<template> <template>
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'> <RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,slot=form必写--> <!-- 填写表单内容,slot=form必写-->
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="项目管理" ref="appid" prop="appid"> <el-form-item label="管理项目" ref="glxm" prop="glxm">
<el-input :readonly="readonly" v-model="form.appid"></el-input> <el-input :readonly="readonly" v-model="form.glxm" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="标准" ref="name" prop="name"> <el-form-item label="管理标准" ref="glbz" prop="glbz">
<el-input :readonly="readonly" v-model="form.name"></el-input> <el-input :readonly="readonly" v-model="form.glbz" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布日期" ref="appid" prop="appid"> <el-form-item label="发布日期" ref="fbrq" prop="fbrq">
<el-date-picker <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
style="width: 100%;" v-model="form.fbrq" placeholder="选择日期">
type="date"
placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实施日期" ref="name" prop="name"> <el-form-item label="实施日期" ref="ssrq" prop="ssrq">
<el-date-picker <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
style="width: 100%;" v-model="form.ssrq" placeholder="选择日期">
type="date"
placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="处理方法"> <el-form-item label="异常处理方法" ref="yccl" prop="yccl">
<el-input type="textarea" :readonly="readonly" v-model="form.bz"></el-input> <el-input :readonly="readonly" v-model="form.yccl" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="12">
<el-form-item label="备注"> <el-form-item label="备注" ref="bz" prop="bz">
<el-input type="textarea" :readonly="readonly" v-model="form.bz"></el-input> <el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<!-- 按钮重写, -->
<!-- <div slot="reFooter">
<span slot="footer">
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div> -->
</RelDialog> </RelDialog>
</template> </template>
<script> <script>
...@@ -63,11 +53,10 @@ ...@@ -63,11 +53,10 @@
mixins: [editMixin], mixins: [editMixin],
/* 存放index页面传递的额外参数*/ /* 存放index页面传递的额外参数*/
mounted() { mounted() {
console.log(this.$router) this.form.mlid=this.app.queryParams.mlid
this.systemType = JSON.parse(JSON.stringify(this.app.systemType))
}, },
/* 组件名称*/ /* 组件名称*/
name: 'appVersionEdit', name: "aqglBzzywdEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/ /* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() { data() {
...@@ -76,41 +65,52 @@ ...@@ -76,41 +65,52 @@
/* 额外初始化,根据需求*/ /* 额外初始化,根据需求*/
systemType: [], systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
appid: '', id:'',
name: '',
version: "", glxm:'',
url: "",
bz: '' glbz:'',
fbrq:new Date().getTime(),
ssrq:new Date().getTime(),
bmid:'',
yccl:'',
mlid:'',
attachcount:'',
bz:'',
whrid:'',
whr:'',
whsj:new Date().getTime(),
cjrid:'',
cjr:'',
cjsj:new Date().getTime(),
sysversion:'',
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
appid: [{
required: true,
trigger: 'blur'
}, ],
name: [{
required: true,
trigger: 'blur'
}, ],
type: [{
required: true,
trigger: 'change'
}, ],
version: [{
required: true,
trigger: 'blur'
}, ],
url: [{
required: true,
trigger: 'blur'
}, ],
} }
} }
}, },
methods: { methods: {
/* 重写方法,this.app来调用index页面定义的api*/
} }
} }
......
<template> <template>
<div class="min_full"> <div class="min_full">
<!-- 查询条件--> <!-- 查询条件-->
<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="12" class="search-col"> <el-col :span="12" class="search-col">
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div> -->
<!-- 按钮操作--> <!-- 按钮操作-->
<el-row class="tool-bar"> <el-row class="tool-bar" v-show="queryParams.mlid" >
<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>
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
<script> <script>
/* 引入需要的接口*/ /* 引入需要的接口*/
import { import {
doQuery, doQueryDtl,
doAdd, doAddDtl,
doUpdate, doUpdateDtl,
doDelete, doDeleteDtl,
doExport doExport
} from '@/api/basicData/operationDcManagement.js'; } from '@/api/basicData/operationDcManagement.js';
/* edit页面*/ /* edit页面*/
...@@ -71,7 +71,8 @@ ...@@ -71,7 +71,8 @@
baseUrl: '/aqgl/jcsj/bzzywd', baseUrl: '/aqgl/jcsj/bzzywd',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
info: '' info: '',
mlid:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
...@@ -94,13 +95,13 @@ ...@@ -94,13 +95,13 @@
methods: { methods: {
/* 基础查询*/ /* 基础查询*/
query: doQuery, query: doQueryDtl,
/* 基础增*/ /* 基础增*/
apiAdd: doAdd, apiAdd: doAddDtl,
/* 基础更新*/ /* 基础更新*/
apiUpdate: doUpdate, apiUpdate: doUpdateDtl,
/* 删除操作*/ /* 删除操作*/
apiDelete: doDelete, apiDelete: doDeleteDtl,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
......
<template>
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,slot=form必写-->
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">管理项目" ref="glxm" prop="glxm">
<el-input :readonly="readonly" v-model="form.glxm" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label=">管理标准" ref="glbz" prop="glbz">
<el-input :readonly="readonly" v-model="form.glbz" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">发布日期" ref="fbrq" prop="fbrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fbrq" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label=">实施日期" ref="ssrq" prop="ssrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ssrq" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">发布部门" ref="bmid" prop="bmid">
<el-input :readonly="readonly" v-model="form.bmid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label=">异常处理方法" ref="yccl" prop="yccl">
<el-input :readonly="readonly" v-model="form.yccl" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">目录" ref="mlid" prop="mlid">
<el-input :readonly="readonly" v-model="form.mlid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label=">附件数" ref="attachcount" prop="attachcount">
<el-input :readonly="readonly" v-model="form.attachcount" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label=">备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label=">系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
},
/* 组件名称*/
name: "aqglBzzywdEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
id:'',
glxm:'',
glbz:'',
fbrq:new Date().getTime(),
ssrq:new Date().getTime(),
bmid:'',
yccl:'',
mlid:'',
attachcount:'',
bz:'',
whrid:'',
whr:'',
whsj:new Date().getTime(),
cjrid:'',
cjr:'',
cjsj:new Date().getTime(),
sysversion:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
</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="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</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>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from '@/api/basicData/operationDcManagement.js';
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/jcsjBzzywd',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/jcsj/bzzywd',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "管理项目", prop: "glxm", fieldType: "ftString",width:300},
{label: "管理标准", prop: "glbz", fieldType: "ftString",width:300},
{label: "发布日期", prop: "fbrq", fieldType: "ftDateTime"},
{label: "实施日期", prop: "ssrq", fieldType: "ftDateTime"},
{label: "发布部门", prop: "bmid", fieldType: "ftString",width:192},
{label: "异常处理方法", prop: "yccl", fieldType: "ftString",width:300},
{label: "目录", prop: "mlid", fieldType: "ftString",width:192},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
<template>
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,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="name" prop="name">
<el-input :readonly="readonly" v-model="form.name" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<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">
<el-form-item label=">备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label=">系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
},
/* 组件名称*/
name: "aqglBzzywdmlEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
id:'',
name:'',
xh:'',
bz:'',
whrid:'',
whr:'',
whsj:new Date().getTime(),
cjrid:'',
cjr:'',
cjsj:new Date().getTime(),
sysversion:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
</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="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</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>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
} from '@/api/basicData/operationDcManagement.js';
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/jcsjBzzywdml',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/jcsj/bzzywdml',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "序号", prop: "xh", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
mixins: [editMixin], mixins: [editMixin],
/* 存放index页面传递的额外参数*/ /* 存放index页面传递的额外参数*/
mounted() { mounted() {
this.systemType = JSON.parse(JSON.stringify(this.app.systemType)) this.form.mlid=this.app.queryParams.mlid
}, },
/* 组件名称*/ /* 组件名称*/
name: 'appVersionEdit', name: 'appVersionEdit',
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
bz: "", bz: "",
fbrq:new Date().getTime(), fbrq:new Date().getTime(),
ssrq:new Date().getTime(), ssrq:new Date().getTime(),
mlid:this.app.app.singleItem.id mlid:''
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
......
<template> <template>
<div class="min_full" style="calc(60vh - 42px)"> <div class="min_full" style="calc(60vh - 42px)">
<!-- 按钮操作--> <!-- 按钮操作-->
<el-row class="tool-bar"> <el-row class="tool-bar" v-show="queryParams.mlid">
<PrintButton :app='this'></PrintButton> <PrintButton :app='this'></PrintButton>
<ViewButton ref="view" :app='this'></ViewButton> <ViewButton ref="view" :app='this'></ViewButton>
<AddButton ref="add" :app='this'></AddButton> <AddButton ref="add" :app='this'></AddButton>
...@@ -47,7 +47,9 @@ ...@@ -47,7 +47,9 @@
systemType: [], systemType: [],
baseUrl: 'aqgl/jcsj/aqwd', baseUrl: 'aqgl/jcsj/aqwd',
/* 查询参数*/ /* 查询参数*/
queryParams: {}, queryParams: {
mlid:''
},
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{ {
......
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