40b69927 by 任超

style:其他及附记模板

1 parent 25df053f
<template>
<dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" loadingText="正在提交中..." @closeDialog="closeDialog"
:saveloding="saveloding" v-model="value">
:saveloding="saveloding" v-model="myValue">
<div class="qtjfjmb-edit-title">
<b>权利信息</b>
</div>
......@@ -28,14 +28,17 @@
</el-col>
<el-col :span="12">
<el-form-item label="打印模板" prop="dymbbs">
<el-input v-model="ruleForm.dymbbs"></el-input>
<el-select v-model="ruleForm.dymbbs" class="width100" 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-row>
<el-row>
<el-col :span="24">
<el-form-item label="权利其他状况模板" prop="qlqtztmb">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="ruleForm.qlqtztmb">
<el-form-item label="权利其他状况模板" prop="qlqtzk">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="ruleForm.qlqtzk">
</el-input>
</el-form-item>
</el-col>
......@@ -46,7 +49,7 @@
</div>
<ul>
<li v-for="(item, index) in titleList" @click="handleSelect(index)" :class="{ 'active': n == index }"
:key="index">{{ item.name }}</li>
:key="index">{{ item.name }}</li>
</ul>
<el-row v-if="n == 0">
<el-col :span="24">
......@@ -123,6 +126,9 @@ export default {
}
},
watch: {
value (val) {
this.myValue = val
},
details: {
handler (newValue, oldValue) {
this.ruleForm = newValue
......@@ -134,15 +140,15 @@ export default {
data () {
return {
saveloding: false,
myValue: this.value,
n: 0,
ruleForm: {
qllx: '',
qllxmc: '',
bdcqzlx: '',
dymbbs: '',
qlqtztmb: '',
qlqtzk: '',
firstreg: '',
fjmb2: ''
},
options: [],
rules: {
......