39d90d11 by 蔡俊立

查封

1 parent 0ff0feb9
......@@ -27,29 +27,10 @@ export function jfInit (data) {
})
}
// 查封保存
export function sealUpReg (data) {
// 数据保存
export function saveData (data) {
return request({
url: '/ywbl/cfdj/sealUpReg',
method: 'post',
data
})
}
// 续封保存
export function continuedSealReg (data) {
return request({
url: '/ywbl/cfdj/continuedSealReg',
method: 'post',
data
})
}
// 解封保存
export function unSealReg (data) {
return request({
url: '/ywbl/cfdj/unSealReg',
url: '/ywbl/cfdj/saveData',
method: 'post',
data
})
......
......@@ -325,7 +325,8 @@ aside {
}
.allow,
.prohibit {
.prohibit
.suspend {
position: relative;
margin: 0 auto;
text-align: left;
......@@ -340,6 +341,10 @@ aside {
color: $pink;
}
.suspend {
color: $yellow;
}
.allow::before {
content: '';
position: absolute;
......@@ -363,3 +368,15 @@ aside {
height: 5px;
border-radius: 50%;
}
.suspend::before {
content: '';
position: absolute;
left: 5px;
top: 45%;
background-color: $yellow;
display: inline-block; // 此句为css样式展示重点🏁
width: 5px;
height: 5px;
border-radius: 50%;
}
\ No newline at end of file
......
......@@ -72,6 +72,7 @@ export default {
loadData() {
getCfdjList({
bdcdyid: this.propsParam.bdcdyid,
bsmSldy: this.propsParam.bsmSldy,
qllx: this.propsParam.qllx,
qszt: this.checkList,
}).then((res) => {
......
......@@ -77,7 +77,7 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj">
<el-input disabled v-model="ruleForm.qlxx.qlxzmc"></el-input>
<el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -166,7 +166,7 @@
</template>
<script>
import sqrViewTable from "@/views/workflow/components/sqrViewTable";
import { cfInit, sealUpReg } from "@/api/cfdjFlow.js";
import { cfInit, saveData } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -220,7 +220,7 @@ export default {
});
},
onSubmit () {
sealUpReg(this.ruleForm).then((res) => {
saveData(this.ruleForm).then((res) => {
if (res.code === 200 && res.result) {
this.$message.success('保存成功');
}
......
......@@ -64,30 +64,42 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="面积:" prop="qlxx.mj">
<el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:">
<el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:" prop="qlxx.ytmc">
<el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:">
<el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:">
<el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj">
<el-input disabled v-model="ruleForm.qlxx.qlxzmc"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
<el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="用途:" prop="qlxx.ytmc">
<el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:">
<el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:" prop="cfdj.ytmc">
<el-input disabled v-model="ruleForm.cfdj.qdjg"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:">
<el-input disabled v-model="ruleForm.zdjbxx.qdjg"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="16">
<el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
<el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -166,7 +178,7 @@
</template>
<script>
import sqrViewTable from "@/views/workflow/components/sqrViewTable";
import { cfInit, sealUpReg } from "@/api/cfdjFlow.js";
import { cfInit, saveData } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -220,7 +232,7 @@ export default {
});
},
onSubmit () {
sealUpReg(this.ruleForm).then((res) => {
saveData(this.ruleForm).then((res) => {
if (res.code === 200 && res.result) {
this.$message.success('保存成功');
}
......
......@@ -31,6 +31,12 @@ class data extends filter {
label: "流程状态",
width: '80',
render: (h, scope) => {
if(scope.row.cfgqzt == '1'){
return <div class='suspend'>查封挂起</div>
}
if(scope.row.yygqzt == '1'){
return <div class='suspend'>异议挂起</div>
}
switch (scope.row.lczt) {
case '1':
return <div class='allow'>进行中</div>
......
......@@ -28,12 +28,19 @@ class data extends filter {
},
{
label: "流程状态",
width: '80',
render: (h, scope) => {
if(scope.row.cfgqzt == '1'){
return <div class='suspend'>查封挂起</div>
}
if(scope.row.yygqzt == '1'){
return <div class='suspend'>异议挂起</div>
}
switch (scope.row.lczt) {
case '1':
return <span>进行中</span>
return <div class='allow'>进行中</div>
case '2':
return <span>已结束</span>
return <div class='prohibit'>已结束</div>
case '3':
return <span>进行中</span>
}
......
......@@ -126,6 +126,10 @@ export default {
});
},
handleSelectionChange (val) {
val.forEach((item, index) => {
item.yqllx = item.qllx
item.ydjlx = item.djlx
})
this.bdcdysz = val
}
},
......