d2d8aca4 by 任超
2 parents 47c26b3d 3cba72e9
...@@ -162,3 +162,19 @@ export function selectOtherH (data) { ...@@ -162,3 +162,19 @@ export function selectOtherH (data) {
162 data 162 data
163 }) 163 })
164 } 164 }
165
166 // 认领任务
167 export function claimTask (bsmSlsq,bestepid) {
168 return request({
169 url: SERVER.SERVERAPI + '/rest/business/workFlow/claimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
170 method: 'get',
171 })
172 }
173
174 // 取消认领任务
175 export function unClaimTask (bsmSlsq,bestepid) {
176 return request({
177 url: SERVER.SERVERAPI + '/rest/business/workFlow/unClaimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
178 method: 'get',
179 })
180 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 } 39 }
40 40
41 .xxTable { 41 .xxTable {
42 border-spacing: 1px; 42 //border-spacing: 1px;
43 width: 100%; 43 width: 100%;
44 44
45 tr>th { 45 tr>th {
......
...@@ -81,7 +81,7 @@ import { ...@@ -81,7 +81,7 @@ import {
81 getStepFormInfo, 81 getStepFormInfo,
82 } from "@/api/fqsq.js"; 82 } from "@/api/fqsq.js";
83 import { mapGetters } from "vuex" 83 import { mapGetters } from "vuex"
84 import { deleteFlow } from "@/api/ywbl.js"; 84 import { deleteFlow,unClaimTask} from "@/api/ywbl.js";
85 import ProcessViewer from './components/processViewer.vue' 85 import ProcessViewer from './components/processViewer.vue'
86 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"; 86 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js";
87 import { getForm } from "./flowform.js"; 87 import { getForm } from "./flowform.js";
...@@ -132,16 +132,36 @@ export default { ...@@ -132,16 +132,36 @@ export default {
132 clxxIndex: "", 132 clxxIndex: "",
133 //材料信息选项卡对象 133 //材料信息选项卡对象
134 clxxTab: {}, 134 clxxTab: {},
135 //页面监听时间
136 _beforeUnload_time: "",
135 }; 137 };
136 }, 138 },
137 mounted () { 139 mounted () {
138 this.loadBdcdylist(); 140 this.loadBdcdylist();
139 this.flowInitParam(); 141 this.flowInitParam();
142 //添加页面监听事件
143 window.addEventListener('beforeunload', e => this.beforeunloadHandler(e))
144 window.addEventListener('unload', e => this.unloadHandler(e))
145 },
146 destroyed() {
147 window.removeEventListener('beforeunload', e => this.beforeunloadHandler(e))
148 window.removeEventListener('unload', e => this.unloadHandler(e))
140 }, 149 },
141 computed: { 150 computed: {
142 ...mapGetters(["oldDetail", "newDetail"]) 151 ...mapGetters(["oldDetail", "newDetail"])
143 }, 152 },
144 methods: { 153 methods: {
154 beforeunloadHandler() {
155 this._beforeUnload_time = new Date().getTime()
156 },
157 unloadHandler(e) {
158 this._gap_time = new Date().getTime() - this._beforeUnload_time
159 //判断是窗口关闭还是刷新
160 if (this._gap_time <= 5) {
161 //取消认领
162 unClaimTask(this.bsmSlsq,this.bestepid)
163 }
164 },
145 changeLoadIndex () { 165 changeLoadIndex () {
146 this.loadIndex++ 166 this.loadIndex++
147 }, 167 },
...@@ -367,6 +387,8 @@ export default { ...@@ -367,6 +387,8 @@ export default {
367 break; 387 break;
368 case "signout": 388 case "signout":
369 window.close(); 389 window.close();
390 //取消认领
391 unClaimTask(this.bsmSlsq,this.bestepid)
370 break; 392 break;
371 case "B9": 393 case "B9":
372 var formdata = new FormData(); 394 var formdata = new FormData();
......
...@@ -70,7 +70,7 @@ import searchBox from '../components/search.vue' ...@@ -70,7 +70,7 @@ import searchBox from '../components/search.vue'
70 import table from "@/utils/mixin/table" 70 import table from "@/utils/mixin/table"
71 import searchMin from "../components/mixin/index" 71 import searchMin from "../components/mixin/index"
72 import { datas, sendThis } from "./dbxdata" 72 import { datas, sendThis } from "./dbxdata"
73 import { searchTaskToDo, deleteFlow } from "@/api/ywbl.js" 73 import { searchTaskToDo, deleteFlow ,claimTask} from "@/api/ywbl.js"
74 export default { 74 export default {
75 name: "dbx", 75 name: "dbx",
76 components: { searchBox }, 76 components: { searchBox },
...@@ -174,6 +174,9 @@ export default { ...@@ -174,6 +174,9 @@ export default {
174 ywhClick (item) { 174 ywhClick (item) {
175 const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm); 175 const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
176 window.open(href, '_blank'); 176 window.open(href, '_blank');
177
178 //从待办箱进入的调取任务领取接口
179 claimTask(item.bsmSlsq,item.bestepid)
177 } 180 }
178 } 181 }
179 } 182 }
......
...@@ -140,6 +140,15 @@ ...@@ -140,6 +140,15 @@
140 </el-radio-group> 140 </el-radio-group>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
143 <el-col :span="5">
144 <el-form-item :class="flag ? 'marginBot0' : ''" label="发证方式:">
145 <el-radio-group v-model="ruleForm.slywxx.fzfs">
146 <el-radio label="1">小证</el-radio>
147 <el-radio label="2">大证</el-radio>
148 </el-radio-group>
149 </el-form-item>
150 </el-col>
151
143 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> 152 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
144 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 153 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
145 <el-radio-group v-model="ruleForm.slywxx.sffbcz"> 154 <el-radio-group v-model="ruleForm.slywxx.sffbcz">
...@@ -195,9 +204,7 @@ export default { ...@@ -195,9 +204,7 @@ export default {
195 if (res.code === 200 && res.result) { 204 if (res.code === 200 && res.result) {
196 this.ruleForm = { 205 this.ruleForm = {
197 ...res.result, 206 ...res.result,
198 ...res.result.zdjbxxdatas,
199 ...res.result.qlxxdatas, 207 ...res.result.qlxxdatas,
200 ...res.result.jsydsyqdatas,
201 } 208 }
202 } 209 }
203 }); 210 });
...@@ -231,8 +238,18 @@ export default { ...@@ -231,8 +238,18 @@ export default {
231 }, 238 },
232 onSubmit () { 239 onSubmit () {
233 saveBatchData(this.ruleForm).then((res) => { 240 saveBatchData(this.ruleForm).then((res) => {
234 if (res.code === 200 && res.result) { 241 if (res.code === 200) {
235 console.log(res); 242 this.$message({
243 showClose: true,
244 message: "保存成功!",
245 type: "success",
246 });
247 } else {
248 this.$message({
249 showClose: true,
250 message: res.message,
251 type: "error",
252 });
236 } 253 }
237 }); 254 });
238 }, 255 },
......
...@@ -249,10 +249,18 @@ export default { ...@@ -249,10 +249,18 @@ export default {
249 }, 249 },
250 onSubmit () { 250 onSubmit () {
251 saveData(this.ruleForm).then((res) => { 251 saveData(this.ruleForm).then((res) => {
252 console.log(this.ruleForm); 252 if (res.code === 200) {
253 if (res.code === 200 && res.result) { 253 this.$message({
254 console.log(res); 254 showClose: true,
255 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 255 message: "保存成功!",
256 type: "success",
257 });
258 } else {
259 this.$message({
260 showClose: true,
261 message: res.message,
262 type: "error",
263 });
256 } 264 }
257 }); 265 });
258 }, 266 },
......
...@@ -253,24 +253,12 @@ export default { ...@@ -253,24 +253,12 @@ export default {
253 }, 253 },
254 methods: { 254 methods: {
255 onClick(){ 255 onClick(){
256 this.$popup({ 256 this.$popup("房屋信息比对","ywbl/fdcq2/slxxCompareDetai",
257 titleStyle: "left", 257 {
258 title: "登记簿详情", // 弹窗标题
259 editItem: "ywbl/fdcq2/slxxCompareDetai", // 弹窗内容
260 formData: { 258 formData: {
261 bsmSldy: this.propsParam.bsmSldy, 259 bsmSldy: this.propsParam.bsmSldy,
262 qllx: this.propsParam.qllx 260 qllx: this.propsParam.qllx
263 }, 261 }
264 width: "1220px",
265 height: "790px",
266 // cancelText: '取消摆烂', // 右边按钮文本
267 // confirmText: '确定点击', //左边按钮文本
268 cancel: () => {
269 console.log("取消回调");
270 },
271 confirm: () => {
272 console.log("确认回调");
273 },
274 }); 262 });
275 }, 263 },
276 // 更新权利人信息 264 // 更新权利人信息
...@@ -284,9 +272,18 @@ export default { ...@@ -284,9 +272,18 @@ export default {
284 272
285 onSubmit () { 273 onSubmit () {
286 saveGZBatchData(this.ruleForm).then((res) => { 274 saveGZBatchData(this.ruleForm).then((res) => {
287 if (res.code === 200 && res.result) { 275 if (res.code === 200) {
288 console.log(res); 276 this.$message({
289 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 277 showClose: true,
278 message: "保存成功!",
279 type: "success",
280 });
281 } else {
282 this.$message({
283 showClose: true,
284 message: res.message,
285 type: "error",
286 });
290 } 287 }
291 }); 288 });
292 }, 289 },
......
...@@ -266,9 +266,18 @@ export default { ...@@ -266,9 +266,18 @@ export default {
266 }, 266 },
267 onSubmit () { 267 onSubmit () {
268 saveLogoutData(this.ruleForm).then((res) => { 268 saveLogoutData(this.ruleForm).then((res) => {
269 if (res.code === 200 && res.result) { 269 if (res.code === 200) {
270 console.log(res); 270 this.$message({
271 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 271 showClose: true,
272 message: "保存成功!",
273 type: "success",
274 });
275 } else {
276 this.$message({
277 showClose: true,
278 message: res.message,
279 type: "error",
280 });
272 } 281 }
273 }); 282 });
274 }, 283 },
......
...@@ -228,26 +228,20 @@ export default { ...@@ -228,26 +228,20 @@ export default {
228 upDateYwrxxList (val) { 228 upDateYwrxxList (val) {
229 this.ruleForm.ywrList = _.cloneDeep(val); 229 this.ruleForm.ywrList = _.cloneDeep(val);
230 }, 230 },
231 list (bsmSldy) {
232 var formdata = new FormData();
233 formdata.append("bsmSldy", bsmSldy);
234 Init(formdata).then((res) => {
235 if (res.code === 200 && res.result) {
236 this.ruleForm = {
237 ...res.result,
238 ...res.result.zdjbxxdatas,
239 ...res.result.qlxxdatas,
240 ...res.result.jsydsyqdatas,
241 };
242 }
243 });
244 },
245 onSubmit () { 231 onSubmit () {
246 saveBHZData(this.ruleForm).then((res) => { 232 saveBHZData(this.ruleForm).then((res) => {
247 console.log(this.ruleForm); 233 if (res.code === 200) {
248 if (res.code === 200 && res.result) { 234 this.$message({
249 console.log(res); 235 showClose: true,
250 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 236 message: "保存成功!",
237 type: "success",
238 });
239 } else {
240 this.$message({
241 showClose: true,
242 message: res.message,
243 type: "error",
244 });
251 } 245 }
252 }); 246 });
253 }, 247 },
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
44 <script> 44 <script>
45 import {getFdcqLSInfo} from "@/api/registerBook.js"; 45 import {getFdcqLSInfo} from "@/api/registerBook.js";
46 import { datas } from "@/views/registerBook/qlxxFormData.js"; 46 import { datas } from "@/views/registerBook/qlxxFormData.js";
47
47 export default { 48 export default {
48 data() { 49 data() {
49 return { 50 return {
...@@ -73,7 +74,6 @@ export default { ...@@ -73,7 +74,6 @@ export default {
73 }, 74 },
74 methods: { 75 methods: {
75 loadData() { 76 loadData() {
76 console.log(this.propsParam.formData);
77 var formdata = new FormData(); 77 var formdata = new FormData();
78 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); 78 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
79 formdata.append("qllx", this.propsParam.formData.qllx); 79 formdata.append("qllx", this.propsParam.formData.qllx);
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 <el-row :gutter="10"> 83 <el-row :gutter="10">
84 <el-col :span="8"> 84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:">
86 <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input> 86 <!-- <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input> -->
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 89
...@@ -187,6 +187,9 @@ export default { ...@@ -187,6 +187,9 @@ export default {
187 djyy: this.ruleForm.djyy 187 djyy: this.ruleForm.djyy
188 }) 188 })
189 } 189 }
190 else{
191 this.$message(res.message);
192 }
190 }) 193 })
191 }, 194 },
192 components: { InformationTable }, 195 components: { InformationTable },
......
...@@ -7,19 +7,46 @@ ...@@ -7,19 +7,46 @@
7 </el-tabs> 7 </el-tabs>
8 <el-form :model="queryForm" ref="queryForm" label-width="110px"> 8 <el-form :model="queryForm" ref="queryForm" label-width="110px">
9 <el-row> 9 <el-row>
10 <el-col :span="6"> 10 <el-col :span="7">
11 <el-form-item label="不动产单元号"> 11 <el-form-item label="宗地代码">
12 <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable> 12 <el-input placeholder="宗地代码" v-model="queryForm.zddm" clearable>
13 </el-input> 13 </el-input>
14 </el-form-item> 14 </el-form-item>
15 </el-col> 15 </el-col>
16 <el-col :span="6"> 16 <el-col :span="7">
17 <el-form-item label="坐落"> 17 <el-form-item label="土地证号">
18 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable> 18 <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable>
19 </el-input> 19 </el-input>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="12" class="btnColRight"> 22 <el-col :span="7">
23 <el-form-item label="土地坐落">
24 <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable>
25 </el-input>
26 </el-form-item>
27 </el-col>
28
29 </el-row>
30 <el-row>
31 <el-col :span="7">
32 <el-form-item label="自然幢号">
33 <el-input placeholder="自然幢号" v-model="queryForm.zrzh" clearable>
34 </el-input>
35 </el-form-item>
36 </el-col>
37 <el-col :span="7">
38 <el-form-item label="项目名称">
39 <el-input v-model="queryForm.xmmc"></el-input>
40 </el-form-item>
41 </el-col>
42 <el-col :span="7">
43 <el-form-item label="建筑物名称">
44 <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable>
45 </el-input>
46 </el-form-item>
47 </el-col>
48
49 <el-col :span="3" class="btnColRight">
23 <el-form-item> 50 <el-form-item>
24 <el-button type="primary" @click="fetchData()">查询</el-button> 51 <el-button type="primary" @click="fetchData()">查询</el-button>
25 </el-form-item> 52 </el-form-item>
......
...@@ -49,7 +49,7 @@ class data extends filter { ...@@ -49,7 +49,7 @@ class data extends filter {
49 } 49 }
50 }, 50 },
51 { 51 {
52 prop: "bdcqzsh", 52 prop: "tdzh",
53 label: "土地证号", 53 label: "土地证号",
54 }, 54 },
55 { 55 {
...@@ -73,7 +73,7 @@ class data extends filter { ...@@ -73,7 +73,7 @@ class data extends filter {
73 render: (h, scope) => { 73 render: (h, scope) => {
74 return ( 74 return (
75 <div> 75 <div>
76 {(scope.row.tdxzmc) + (' / ') + (scope.row.tdxzmc)} 76 {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzbsm)}
77 </div> 77 </div>
78 ) 78 )
79 } 79 }
...@@ -89,8 +89,14 @@ class data extends filter { ...@@ -89,8 +89,14 @@ class data extends filter {
89 } 89 }
90 }, 90 },
91 { 91 {
92 prop: "jzwjbyt",
93 label: "用途", 92 label: "用途",
93 render: (h, scope) => {
94 return (
95 <div>
96 {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
97 </div>
98 )
99 }
94 }, 100 },
95 { 101 {
96 prop: "zcs", 102 prop: "zcs",
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
66 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 66 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
67 </div> 67 </div>
68 </div> 68 </div>
69 <fqsqDialog v-model="isDialog" :djywbm="djywbm" /> 69 <fqsqDialog v-model="isDialog" :djywbm="djywbm"/>
70 </div> 70 </div>
71 </template> 71 </template>
72 <script> 72 <script>
......