Commit a069f3c2 authored by 李苏's avatar 李苏 💬

隐患管理部分接口

parent 905b2435
<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="任务ID" ref="mid" prop="mid">
<el-input :readonly="readonly" v-model="form.mid" ></el-input>
</el-form-item>
</el-col> -->
<el-col :span="24">
<el-form-item label="来源单据" ref="lydjid" prop="lydjid">
<!-- <el-input :readonly="readonly" v-model="form.lydjid" ></el-input> -->
<RelSelect :params='{fxbzid:app.vMain.rowItem.fxbzid}' style='width: 100%;' src='aqgl/fxyk/fxpc/queryFxjcnr' clearable :match="{value:'id',label:'nr'}" v-model='form.lydjid' ></RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="检查得分" ref="jcdf" prop="jcdf">
<el-input :readonly="readonly" v-model="form.jcdf" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="整改后得分" ref="zgdf" prop="zgdf">
<el-input :readonly="readonly" v-model="form.zgdf" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="检查结果" ref="jcjg" prop="jcjg">
<el-input :readonly="readonly" v-model="form.jcjg" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
this.form.mid=this.app.queryParams.mid
},
/* 组件名称*/
name: "aqgl/fxykFxpcmxEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
id:'',
mid:'',
lydjid:'',
jcdf:'',
zgdf:'',
jcjg:'',
zt:'',
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>
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