1323a4b8 by 杨威

必填标识,部分字段修改

1 parent a24e599b
......@@ -33,4 +33,8 @@
.psr{
position: relative;
}
ol, ul { list-style:none; }
\ No newline at end of file
ol, ul { list-style:none; }
.requisite{
font-style: normal;
color: red;
}
\ No newline at end of file
......
......@@ -44,7 +44,7 @@
<ul>
<li>批准用途</li>
<li>实际用途</li>
<li>土地使用起始时间</li>
<li>土地使用起始时间<i class="requisite">*</i></li>
</ul>
</el-col>
<el-col :span="4">
......@@ -52,10 +52,10 @@
<li>
<el-select class="formSelect percent30" v-model="items.pzyt">
<el-option
v-for="item in compareList"
:key="item.value"
:label="item.label"
:value="item.value"
v-for="item in pzytList"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
......@@ -63,10 +63,10 @@
<li>
<el-select class="formSelect percent30" v-model="items.sjyt">
<el-option
v-for="item in compareList"
:key="item.value"
:label="item.label"
:value="item.value"
v-for="item in sjytList"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
......@@ -85,16 +85,16 @@
<ul>
<li>地类编码</li>
<li>地类编码</li>
<li>年限</li>
<li>年限<i class="requisite">*</i></li>
</ul>
</el-col>
<el-col :span="3">
<ul>
<li>
<input type="text" v-model="items.dlbm" class="formInput" />
<input type="text" v-model="items.pzyt" class="formInput" />
</li>
<li>
<input type="text" v-model="items.dlbm2" class="formInput" />
<input type="text" v-model="items.sjyt" class="formInput" />
</li>
<li>
<input type="text" v-model="items.nx" class="formInput" />
......@@ -105,7 +105,7 @@
<ul>
<li>等级</li>
<li>等级</li>
<li>土地使用结束时间</li>
<li>土地使用结束时间<i class="requisite">*</i></li>
</ul>
</el-col>
<el-col :span="4">
......@@ -113,7 +113,7 @@
<li>
<el-select class="formSelect percent30" v-model="items.dj1">
<el-option
v-for="item in compareList"
v-for="item in djList"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -124,7 +124,7 @@
<li>
<el-select class="formSelect percent30" v-model="items.dj2">
<el-option
v-for="item in compareList"
v-for="item in djList"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -158,6 +158,7 @@
</template>
<script>
import { getDdicByMC } from "../../api/common";
export default {
props: {
widtd: {
......@@ -175,11 +176,9 @@ export default {
},
data() {
return {
compareList: [
{ label: "=", value: "=" },
{ label: "<=", value: "<=" },
{ label: ">=", value: ">=" },
],
pzytList:[],
sjytList:[],
djList:[],
countList: [
{
id: Math.random(),
......@@ -199,7 +198,26 @@ export default {
],
};
},
created(){
this.getDicData()
},
methods: {
//获取字典数据
getDicData(){
getDdicByMC("土地用途")
.then((res) => {
console.log(res.result);
this.pzytList = res.result;
this.sjytList = res.result;
})
.catch((error) => {});
getDdicByMC("土地等级")
.then((res) => {
console.log(res.result);
this.djList = res.result;
})
.catch((error) => {});
},
//外层操作
handleClick(id, ind, type) {
if (type === "add") {
......
......@@ -46,25 +46,49 @@
</el-option>
</el-select>
</td>
<td colspan="2">宗地特征码<i class="requisite">*</i></td>
<td colspan="4">
<el-select class="formSelect" v-model="formData.zdtzm">
<el-option
v-for="item in zdtzmList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm"
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td colspan="2">权利设定方式</td>
<td colspan="4">
<el-select class="formSelect" v-model="formData.qlsdfs">
<el-option
v-for="item in qlsdfsList"
:key="item.value"
:label="item.label"
:value="item.value"
:key="item.bsm"
:label="item.mc"
:value="item.bsm"
>
</el-option>
</el-select>
</td>
<td colspan="2">宗地代码<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input
type="text"
class="formInput percent78"
v-model="formData.zddm"
/>
<el-button type="primary" class="createBtn">生成</el-button>
</td>
</tr>
<tr>
<td colspan="2">宗地代码</td>
<td colspan="2">地籍号</td>
<td colspan="4">
<input type="text" class="formInput" v-model="formData.zddm" />
<input type="text" class="formInput" v-model="formData.djh" />
</td>
<td colspan="2">不动产单元号</td>
<td colspan="2">不动产单元号<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input
type="text"
......@@ -75,9 +99,9 @@
</td>
</tr>
<tr>
<td colspan="2">地籍号</td>
<td colspan="2">坐落<i class="requisite">*</i></td>
<td colspan="4">
<input type="text" class="formInput" v-model="formData.djh" />
<input type="text" class="formInput" v-model="formData.zl" />
</td>
<td colspan="2">土地权属来源证明材料</td>
<td colspan="4" class="psr">
......@@ -89,17 +113,11 @@
</td>
</tr>
<tr>
<td colspan="2">坐落</td>
<td colspan="10">
<input type="text" class="formInput" v-model="formData.zl" />
</td>
</tr>
<tr>
<td colspan="2">国民经济行业分类</td>
<td colspan="4">
<el-select class="formSelect" v-model="formData.gmjjhyfl">
<el-option
v-for="item in jjhyflList"
v-for="item in gmjjhyflList"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -184,25 +202,25 @@
</tr>
<tr>
<td colspan="2" rowspan="4">宗地四至</td>
<td colspan="2">北至</td>
<td colspan="2">北至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" class="formInput" v-model="formData.bz" />
</td>
</tr>
<tr>
<td colspan="2">东至</td>
<td colspan="2">东至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" class="formInput" v-model="formData.dz" />
</td>
</tr>
<tr>
<td colspan="2">南至</td>
<td colspan="2">南至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" class="formInput" v-model="formData.nz" />
</td>
</tr>
<tr>
<td colspan="2">西至</td>
<td colspan="2">西至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" class="formInput" v-model="formData.xz" />
</td>
......@@ -263,8 +281,9 @@ export default {
data() {
return {
qllxList: [],
qlsdfsList: [{ label: "地上", value: "1" }],
jjhyflList: [{ label: "制造业", value: "1" }],
zdtzmList: [],
qlsdfsList: [],
gmjjhyflList: [],
compareList: [
{ label: "=", value: "=" },
{ label: "<=", value: "<=" },
......@@ -275,12 +294,13 @@ export default {
djq: "",
djzq: "",
qllx: "",
zdtzm:"",
qlsdfs: "",
zddm: "",
bdcdyh: "",
djh: "",
tdqslyzmcl: "",
bdcdyh: "",
zl: "",
tdqslyzmcl: "",
gmjjhyfl: "",
jg: "",
blc: "",
......@@ -324,6 +344,24 @@ export default {
this.qllxList = res.result;
})
.catch((error) => {});
getDdicByMC("宗地(宗海)特征码")
.then((res) => {
console.log(res.result);
this.zdtzmList = res.result;
})
.catch((error) => {});
getDdicByMC("权利设定方式")
.then((res) => {
console.log(res.result);
this.qlsdfsList = res.result;
})
.catch((error) => {});
getDdicByMC("国民经济行业分类代码")
.then((res) => {
console.log(res.result);
this.gmjjhyflList = res.result;
})
.catch((error) => {});
},
},
computed: {},
......