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

隐患整改

parent b4f26974
<template>
<DefaultDialog :app='app'>
<el-form slot="form" ref="form" label-width="100px" >
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="整改说明" ref="clff" prop="clff">
<el-input type="textarea" v-model="rowItem.clff" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<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: {}
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
},
data() {
return {
rowItem:{
clff:''
},
}},
methods: {
save(){
},
}
}
</script>
<style scoped>
</style>
<template>
<DefaultDialog :app='app'>
<el-form slot="form" ref="form" label-width="100px" >
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="复查结果" ref="clff" prop="clff">
<el-select v-model="fcjg" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="复查说明" ref="fcsm" prop="fcsm">
<el-input type="textarea" v-model="rowItem.fcsm" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<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: {}
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
console.log(this.rowItem)
},
data() {
return {
options: [{
value: 'Y',
label: '通过'
}, {
value: 'N',
label: '不通过'
}],
fcjg:'Y',
rowItem:{
fcsm:''
},
}},
methods: {
save(){
},
}
}
</script>
<style scoped>
</style>
<template>
<DefaultDialog :app='app'>
<el-form slot="form" ref="form" label-width="100px" >
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="责任人" ref="zrr" prop="zrr">
<personSelector :label="rowItem.zrrName||'暂无'" @selected='zrrSelected' ></personSelector>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="复查人" ref="fcr" prop="fcr">
<!-- <el-input :readonly="readonly" v-model="form.zrr" ></el-input> -->
<personSelector :label="rowItem.fcrName||'暂无'" @selected='fcrSelected' ></personSelector>
</el-form-item>
</el-col>
</el-row>
</el-form>
<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: {}
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
},
name: 'role',
data() {
return {
rowItem:{
zrr:'',
zrrName:'',
fcr:'',
fcrName:''
},
}},
methods: {
save(){
},
zrrSelected(row){
this.rowItem.zrr=row.id
},
fcrSelected(row){
this.rowItem.fcr=row.id
}
}
}
</script>
<style scoped>
</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