Blame view

src/views/ywbl/fqsq/components/slxx.vue 8.83 KB
任超 committed
1 2
<template>
  <div class='slxx'>
任超 committed
3 4
    <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
      label-width="140px">
任超 committed
5
      <div class="slxx_title">受理信息</div>
任超 committed
6
      <el-row :gutter="10">
任超 committed
7
        <el-col :span="8">
liangyifan committed
8
          <el-form-item label="业务号:" prop="ywh">
liangyifan committed
9
            <el-input disabled v-model="ruleForm.ywh"></el-input>
任超 committed
10 11
          </el-form-item>
        </el-col>
liangyifan committed
12 13
        <el-col :span="8">
          <el-form-item label="受理人员:" prop="slry">
liangyifan committed
14
            <el-input disabled v-model="ruleForm.slry"></el-input>
liangyifan committed
15 16 17
          </el-form-item>
        </el-col>
        <el-col :span="8">
1  
liangyifan committed
18
          <el-form-item label="使用权结束时间:" prop="slsj">
liangyifan committed
19
            <el-date-picker disabled v-model="ruleForm.slsj" type="datetime" placeholder="选择结束时间" value-format="yyyy-MM-dd">
任超 committed
20
            </el-date-picker>
liangyifan committed
21 22 23
          </el-form-item>
        </el-col>
      </el-row>
任超 committed
24
      <el-row :gutter="10">
liangyifan committed
25 26
        <el-col :span="8">
          <el-form-item label="权利类型:" prop="qllx">
liangyifan committed
27
            <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型">
liangyifan committed
28
              <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
liangyifan committed
29 30 31 32 33 34
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="登记类型:" prop="djlx">
liangyifan committed
35
            <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型">
liangyifan committed
36
              <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
liangyifan committed
37 38 39 40 41 42
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="登记情形:" prop="djqx">
liangyifan committed
43
            <el-select disabled v-model="ruleForm.djqx" filterable clearable placeholder="请选择登记情形">
liangyifan committed
44 45 46 47 48 49 50
              <el-option v-for="item in djqxOption" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
      <div class="slxx_title">不动产单元情况</div>
任超 committed
51
      <el-row :gutter="10">
liangyifan committed
52 53
        <el-col :span="8">
          <el-form-item label="宗地代码:" prop="zddm">
liangyifan committed
54
            <el-input disabled v-model="ruleForm.zddm"></el-input>
liangyifan committed
55 56 57 58
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="不动产单元号:" prop="bdcdyh">
liangyifan committed
59
            <el-input disabled v-model="ruleForm.bdcdyh"></el-input>
liangyifan committed
60 61 62 63
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="权利性质:" prop="qlxz">
liangyifan committed
64
            <el-select disabled v-model="ruleForm.qlxz" filterable clearable placeholder="请选择权利性质">
liangyifan committed
65 66 67 68 69 70
              <el-option v-for="item in qlxzOption" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
任超 committed
71
      <el-row :gutter="10">
liangyifan committed
72 73
        <el-col :span="8">
          <el-form-item label="宗地面积:" prop="zdmj">
liangyifan committed
74
            <el-input disabled v-model="ruleForm.zdmj"></el-input>
liangyifan committed
75 76 77 78
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="坐落:" prop="zl">
liangyifan committed
79
            <el-input disabled style="width: 100%" v-model="ruleForm.zl"></el-input>
liangyifan committed
80 81 82
          </el-form-item>
        </el-col>
      </el-row>
任超 committed
83
      <el-row :gutter="10">
liangyifan committed
84 85
        <el-col :span="8">
          <el-form-item label="土地用途:" prop="tdyt">
liangyifan committed
86
            <el-select disabled v-model="ruleForm.tdyt" filterable clearable placeholder="请选择土地用途">
liangyifan committed
87 88 89 90 91 92 93
              <el-option v-for="item in tdytOption" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="权利设定方式:" prop="qlsdfs">
liangyifan committed
94
            <el-select disabled v-model="ruleForm.qlsdfs" filterable clearable placeholder="请选择权利设定方式">
liangyifan committed
95 96 97 98 99 100 101
              <el-option v-for="item in qlsdfsOption" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="取得价格:" prop="qdjg">
liangyifan committed
102
            <el-input disabled v-model="ruleForm.qdjg"></el-input>
liangyifan committed
103 104 105
          </el-form-item>
        </el-col>
      </el-row>
任超 committed
106
      <el-row :gutter="10">
liangyifan committed
107 108
        <el-col :span="8">
          <el-form-item label="使用权起始时间:" prop="syqqssj">
liangyifan committed
109
            <el-date-picker disabled v-model="ruleForm.syqqssj" type="datetime" placeholder="选择起始时间" value-format="yyyy-MM-dd">
任超 committed
110
            </el-date-picker>
liangyifan committed
111 112 113 114
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="使用权结束时间:" prop="syqjssj">
liangyifan committed
115
            <el-date-picker disabled v-model="ruleForm.syqjssj" type="datetime" placeholder="选择结束时间" value-format="yyyy-MM-dd">
任超 committed
116
            </el-date-picker>
liangyifan committed
117 118 119 120
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="使用期限:" prop="syqx">
liangyifan committed
121
            <el-date-picker disabled v-model="ruleForm.syqx" type="datetime" placeholder="选择使用期限" value-format="yyyy-MM-dd">
任超 committed
122
            </el-date-picker>
liangyifan committed
123 124 125
          </el-form-item>
        </el-col>
      </el-row>
任超 committed
126
      <el-row :gutter="10">
liangyifan committed
127 128
        <el-col>
          <el-form-item label="附记:" prop="fj">
任超 committed
129
            <el-input type="textarea" v-model="ruleForm.fj"></el-input>
liangyifan committed
130 131 132 133
          </el-form-item>
        </el-col>
      </el-row>
      <div class="slxx_title">权利人信息</div>
任超 committed
134
      <el-row :gutter="10">
liangyifan committed
135 136
        <el-col>
          <el-form-item label="共有方式:">
liangyifan committed
137
            <el-radio-group disabled v-model="ruleForm.gyfs">
liangyifan committed
138 139 140 141 142 143 144
              <el-radio label="单独所有"></el-radio>
              <el-radio label="共同共有"></el-radio>
              <el-radio label="按份所有"></el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col>
任超 committed
145
          <InformationTable />
liangyifan committed
146 147 148
        </el-col>
      </el-row>
      <div class="slxx_title">登记原因</div>
任超 committed
149
      <el-row :gutter="10">
liangyifan committed
150 151
        <el-col>
          <el-form-item label="登记原因:" prop="djyy">
1  
liangyifan committed
152 153 154 155 156 157 158 159
            <el-input class="textArea" type="textarea" v-model="ruleForm.djyy"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <el-form-item class="btn">
            <el-button type="primary" @click="onSubmit">保存</el-button>
liangyifan committed
160 161
          </el-form-item>
        </el-col>
任超 committed
162 163 164 165 166
      </el-row>
    </el-form>
  </div>
</template>
<script>
liangyifan committed
167
import InformationTable from './InformationTable'
liangyifan committed
168 169
import { Init } from "@/api/fqsq.js"
import { mapGetters } from 'vuex'
任超 committed
170 171
export default {
  /**注册组件*/
任超 committed
172
  components: { InformationTable },
任超 committed
173 174 175 176 177 178
  props: {
    flag: {
      type: Boolean,
      default: false
    }
  },
liangyifan committed
179 180 181
  computed: {
    ...mapGetters(['dictData']),
  },
任超 committed
182 183
  data () {
    return {
liangyifan committed
184
      disabled: true,
任超 committed
185 186
      flag: this.flag,
      flagTop: this.flag ? 'top' : '',
任超 committed
187 188 189 190 191 192
      qllxOption: [],
      djlxOption: [],
      djqxOption: [],
      qlxzOption: [],
      tdytOption: [],
      qlsdfsOption: [],
任超 committed
193
      ruleForm: {
liangyifan committed
194
        ywh: '',
任超 committed
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
        slry: "",
        slsj: "",
        qllx: "",
        djlx: "",
        djqx: "",
        zddm: "",
        bdcdyh: "",
        qlxz: "",
        zdmj: "",
        zl: "",
        tdyt: "",
        qlsdfs: "",
        qdjg: "",
        syqqssj: "",
        syqjssj: "",
        syqx: "",
        fj: "",
        djyy: "",
        gyfs: "",
任超 committed
214 215
      },
      rules: {
1  
liangyifan committed
216 217 218
        // ywh: [
        //   { required: true, message: '业务号', trigger: 'blur' }
        // ],
任超 committed
219 220 221 222
      }
    };
  },
  methods: {
liangyifan committed
223 224 225 226 227 228 229 230 231 232 233 234
    list(bsmSldy){
      var formdata=new FormData();
      //可以通过append()方法来追加数据
      formdata.append("bsmSldy",bsmSldy);
      Init(formdata).then(res => {
        if (res.code === 200) {
          console.log(res,1111)

          this.ruleForm = res.result
        }
      })
    },
任超 committed
235
    onSubmit () { },
任超 committed
236 237 238 239
  },
}
</script>
<style scoped lang='scss'>
任超 committed
240 241
@import "~@/styles/public.scss";

任超 committed
242 243 244 245
.slxx {
  padding-left: 15px;
}

任超 committed
246
.slxx_title {
任超 committed
247 248 249 250 251 252 253 254 255
  border-bottom: 1px solid $borderColor;
  padding-left: 10px;
  padding-bottom: 20px;
  margin-bottom: 15px;
  margin-top: 30px;
  font-size: 18px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #4A4A4A;
1  
liangyifan committed
256

任超 committed
257
}
任超 committed
258 259

.btn {
1  
liangyifan committed
260 261
  text-align: center;
}
任超 committed
262 263 264 265

.textArea {
  /deep/.el-textarea__inner {
    min-height: 90px !important;
1  
liangyifan committed
266 267
  }
}
任超 committed
268 269

.Inputclass {
liangyifan committed
270 271
  width: 100%;
}
任超 committed
272 273 274 275 276 277 278 279 280

/deep/.el-select,
/deep/.el-date-editor {
  width: 100%;
}

/deep/.el-form-item__label {
  padding-bottom: 0px;
}
任超 committed
281
</style>