39d90d11 by 蔡俊立

查封

1 parent 0ff0feb9
...@@ -27,30 +27,11 @@ export function jfInit (data) { ...@@ -27,30 +27,11 @@ export function jfInit (data) {
27 }) 27 })
28 } 28 }
29 29
30 // 查封保存 30 // 数据保存
31 export function sealUpReg (data) { 31 export function saveData (data) {
32 return request({ 32 return request({
33 url: '/ywbl/cfdj/sealUpReg', 33 url: '/ywbl/cfdj/saveData',
34 method: 'post', 34 method: 'post',
35 data 35 data
36 }) 36 })
37 } 37 }
38
39 // 续封保存
40 export function continuedSealReg (data) {
41 return request({
42 url: '/ywbl/cfdj/continuedSealReg',
43 method: 'post',
44 data
45 })
46 }
47
48
49 // 解封保存
50 export function unSealReg (data) {
51 return request({
52 url: '/ywbl/cfdj/unSealReg',
53 method: 'post',
54 data
55 })
56 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -325,7 +325,8 @@ aside { ...@@ -325,7 +325,8 @@ aside {
325 } 325 }
326 326
327 .allow, 327 .allow,
328 .prohibit { 328 .prohibit
329 .suspend {
329 position: relative; 330 position: relative;
330 margin: 0 auto; 331 margin: 0 auto;
331 text-align: left; 332 text-align: left;
...@@ -340,6 +341,10 @@ aside { ...@@ -340,6 +341,10 @@ aside {
340 color: $pink; 341 color: $pink;
341 } 342 }
342 343
344 .suspend {
345 color: $yellow;
346 }
347
343 .allow::before { 348 .allow::before {
344 content: ''; 349 content: '';
345 position: absolute; 350 position: absolute;
...@@ -362,4 +367,16 @@ aside { ...@@ -362,4 +367,16 @@ aside {
362 width: 5px; 367 width: 5px;
363 height: 5px; 368 height: 5px;
364 border-radius: 50%; 369 border-radius: 50%;
370 }
371
372 .suspend::before {
373 content: '';
374 position: absolute;
375 left: 5px;
376 top: 45%;
377 background-color: $yellow;
378 display: inline-block; // 此句为css样式展示重点🏁
379 width: 5px;
380 height: 5px;
381 border-radius: 50%;
365 } 382 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -72,6 +72,7 @@ export default { ...@@ -72,6 +72,7 @@ export default {
72 loadData() { 72 loadData() {
73 getCfdjList({ 73 getCfdjList({
74 bdcdyid: this.propsParam.bdcdyid, 74 bdcdyid: this.propsParam.bdcdyid,
75 bsmSldy: this.propsParam.bsmSldy,
75 qllx: this.propsParam.qllx, 76 qllx: this.propsParam.qllx,
76 qszt: this.checkList, 77 qszt: this.checkList,
77 }).then((res) => { 78 }).then((res) => {
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
77 <el-row :gutter="10"> 77 <el-row :gutter="10">
78 <el-col :span="8"> 78 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj"> 79 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj">
80 <el-input disabled v-model="ruleForm.qlxx.qlxzmc"></el-input> 80 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
81 </el-form-item> 81 </el-form-item>
82 </el-col> 82 </el-col>
83 <el-col :span="8"> 83 <el-col :span="8">
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
166 </template> 166 </template>
167 <script> 167 <script>
168 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 168 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
169 import { cfInit, sealUpReg } from "@/api/cfdjFlow.js"; 169 import { cfInit, saveData } from "@/api/cfdjFlow.js";
170 import { mapGetters } from "vuex"; 170 import { mapGetters } from "vuex";
171 export default { 171 export default {
172 data () { 172 data () {
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
220 }); 220 });
221 }, 221 },
222 onSubmit () { 222 onSubmit () {
223 sealUpReg(this.ruleForm).then((res) => { 223 saveData(this.ruleForm).then((res) => {
224 if (res.code === 200 && res.result) { 224 if (res.code === 200 && res.result) {
225 this.$message.success('保存成功'); 225 this.$message.success('保存成功');
226 } 226 }
......
...@@ -64,30 +64,42 @@ ...@@ -64,30 +64,42 @@
64 </el-row> 64 </el-row>
65 <el-row :gutter="10"> 65 <el-row :gutter="10">
66 <el-col :span="8"> 66 <el-col :span="8">
67 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:" prop="qlxx.mj"> 67 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:">
68 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input> 68 <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input>
69 </el-form-item> 69 </el-form-item>
70 </el-col> 70 </el-col>
71 <el-col :span="16"> 71 <el-col :span="8">
72 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:" prop="qlxx.ytmc"> 72 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:">
73 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 73 <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
74 </el-form-item>
75 </el-col>
76 <el-col :span="8">
77 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:">
78 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
74 </el-form-item> 79 </el-form-item>
75 </el-col> 80 </el-col>
76 </el-row> 81 </el-row>
77 <el-row :gutter="10"> 82 <el-row :gutter="10">
78 <el-col :span="8"> 83 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj"> 84 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
80 <el-input disabled v-model="ruleForm.qlxx.qlxzmc"></el-input> 85 <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
81 </el-form-item> 86 </el-form-item>
82 </el-col> 87 </el-col>
83 <el-col :span="8"> 88 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:" prop="qlxx.ytmc"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:">
85 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input> 90 <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
86 </el-form-item> 91 </el-form-item>
87 </el-col> 92 </el-col>
88 <el-col :span="8"> 93 <el-col :span="8">
89 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:" prop="cfdj.ytmc"> 94 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:">
90 <el-input disabled v-model="ruleForm.cfdj.qdjg"></el-input> 95 <el-input disabled v-model="ruleForm.zdjbxx.qdjg"></el-input>
96 </el-form-item>
97 </el-col>
98 </el-row>
99 <el-row :gutter="10">
100 <el-col :span="16">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
102 <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input>
91 </el-form-item> 103 </el-form-item>
92 </el-col> 104 </el-col>
93 </el-row> 105 </el-row>
...@@ -166,7 +178,7 @@ ...@@ -166,7 +178,7 @@
166 </template> 178 </template>
167 <script> 179 <script>
168 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 180 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
169 import { cfInit, sealUpReg } from "@/api/cfdjFlow.js"; 181 import { cfInit, saveData } from "@/api/cfdjFlow.js";
170 import { mapGetters } from "vuex"; 182 import { mapGetters } from "vuex";
171 export default { 183 export default {
172 data () { 184 data () {
...@@ -220,7 +232,7 @@ export default { ...@@ -220,7 +232,7 @@ export default {
220 }); 232 });
221 }, 233 },
222 onSubmit () { 234 onSubmit () {
223 sealUpReg(this.ruleForm).then((res) => { 235 saveData(this.ruleForm).then((res) => {
224 if (res.code === 200 && res.result) { 236 if (res.code === 200 && res.result) {
225 this.$message.success('保存成功'); 237 this.$message.success('保存成功');
226 } 238 }
......
...@@ -31,6 +31,12 @@ class data extends filter { ...@@ -31,6 +31,12 @@ class data extends filter {
31 label: "流程状态", 31 label: "流程状态",
32 width: '80', 32 width: '80',
33 render: (h, scope) => { 33 render: (h, scope) => {
34 if(scope.row.cfgqzt == '1'){
35 return <div class='suspend'>查封挂起</div>
36 }
37 if(scope.row.yygqzt == '1'){
38 return <div class='suspend'>异议挂起</div>
39 }
34 switch (scope.row.lczt) { 40 switch (scope.row.lczt) {
35 case '1': 41 case '1':
36 return <div class='allow'>进行中</div> 42 return <div class='allow'>进行中</div>
......
...@@ -28,12 +28,19 @@ class data extends filter { ...@@ -28,12 +28,19 @@ class data extends filter {
28 }, 28 },
29 { 29 {
30 label: "流程状态", 30 label: "流程状态",
31 width: '80',
31 render: (h, scope) => { 32 render: (h, scope) => {
33 if(scope.row.cfgqzt == '1'){
34 return <div class='suspend'>查封挂起</div>
35 }
36 if(scope.row.yygqzt == '1'){
37 return <div class='suspend'>异议挂起</div>
38 }
32 switch (scope.row.lczt) { 39 switch (scope.row.lczt) {
33 case '1': 40 case '1':
34 return <span>进行中</span> 41 return <div class='allow'>进行中</div>
35 case '2': 42 case '2':
36 return <span>已结束</span> 43 return <div class='prohibit'>已结束</div>
37 case '3': 44 case '3':
38 return <span>进行中</span> 45 return <span>进行中</span>
39 } 46 }
......
...@@ -126,6 +126,10 @@ export default { ...@@ -126,6 +126,10 @@ export default {
126 }); 126 });
127 }, 127 },
128 handleSelectionChange (val) { 128 handleSelectionChange (val) {
129 val.forEach((item, index) => {
130 item.yqllx = item.qllx
131 item.ydjlx = item.djlx
132 })
129 this.bdcdysz = val 133 this.bdcdysz = val
130 } 134 }
131 }, 135 },
......