Commit f26a68f0 authored by dingyoujian's avatar dingyoujian

调整

parent c4f55c0c
<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="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-form-item>
</el-date-picker> </el-col>
</el-form-item> </el-row>
</el-col> <el-row :gutter="20">
</el-row> <el-col :span="24">
<el-row :gutter="20"> <el-form-item label=">序号" ref="xh" prop="xh">
<el-col :span="24"> <el-input :readonly="readonly" v-model="form.xh" ></el-input>
<el-form-item label=">序号" ref="xh" prop="xh"> </el-form-item>
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" </el-col>
v-model="form.xh" placeholder="选择日期"> </el-row>
</el-date-picker> <el-row :gutter="20">
</el-form-item> <el-col :span="24">
</el-col> <el-form-item label=">备注" ref="bz" prop="bz">
</el-row> <el-input :readonly="readonly" v-model="form.bz" ></el-input>
<el-row :gutter="20"> </el-form-item>
<el-col :span="24"> </el-col>
<el-form-item label=">备注" ref="bz" prop="bz"> </el-row>
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-row :gutter="20">
v-model="form.bz" placeholder="选择日期"> <el-col :span="24">
</el-date-picker> <el-form-item label=">系统版本" ref="sysversion" prop="sysversion">
</el-form-item> <el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row :gutter="20"> </el-row>
<el-col :span="24"> </el-form>
<el-form-item label=">系统版本" ref="sysversion" prop="sysversion"> </RelDialog>
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.sysversion" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template> </template>
<script> <script>
import {editMixin} from 'common' import {editMixin} from 'common'
export default { export default {
mixins: [editMixin], mixins: [editMixin],
/* 存放index页面传递的额外参数*/ /* 存放index页面传递的额外参数*/
mounted() { mounted() {
}, },
/* 组件名称*/ /* 组件名称*/
name: "aqgl/jcsjBzzywdmlEdit", name: "aqglBzzywdmlEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/ /* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() { data() {
return { return {
/* 额外初始化,根据需求*/ /* 额外初始化,根据需求*/
systemType: [], systemType: [],
bmList: [], bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
id:'', id:'',
name:'', name:'',
xh:'', xh:'',
bz:'', bz:'',
whrid:'', whrid:'',
whr:'', whr:'',
whsj:new Date().getTime(), whsj:new Date().getTime(),
cjrid:'', cjrid:'',
cjr:'', cjr:'',
cjsj:new Date().getTime(), cjsj:new Date().getTime(),
sysversion:'', sysversion:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
}, },
methods: { /* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
} }
}
},
methods: {
} }
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
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