44477458 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 9631f17e 5efa271b
...@@ -277,7 +277,9 @@ ...@@ -277,7 +277,9 @@
277 </el-col> 277 </el-col>
278 278
279 <el-col :span="8"> 279 <el-col :span="8">
280 <el-form-item label="异议事项:"> 280 <el-form-item label="异议事项:"
281 prop="yydj.yysx"
282 :rules="rules.yysxrules">
281 <el-input v-model="ruleForm.yydj.yysx"></el-input> 283 <el-input v-model="ruleForm.yydj.yysx"></el-input>
282 </el-form-item> 284 </el-form-item>
283 </el-col> 285 </el-col>
...@@ -507,6 +509,7 @@ export default { ...@@ -507,6 +509,7 @@ export default {
507 bdcdjzmhrules: [ 509 bdcdjzmhrules: [
508 { required: true, message: "不动产登记证明号: ", trigger: "blur" }, 510 { required: true, message: "不动产登记证明号: ", trigger: "blur" },
509 ], 511 ],
512 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
510 }, 513 },
511 ableOperation: false, 514 ableOperation: false,
512 }; 515 };
......
...@@ -113,14 +113,6 @@ export default { ...@@ -113,14 +113,6 @@ export default {
113 }, 113 },
114 }, 114 },
115 mounted() { 115 mounted() {
116 console.log(
117 "bestepid: this.$route.query.bestepid,",
118 this.$route.query.bestepid
119 );
120 console.log(
121 "bestepid: this.$route.query.sqywbm,",
122 this.$route.query.sqywbm
123 );
124 this.ableOperation = this.$parent.ableOperation; 116 this.ableOperation = this.$parent.ableOperation;
125 }, 117 },
126 methods: { 118 methods: {
...@@ -162,7 +154,6 @@ export default { ...@@ -162,7 +154,6 @@ export default {
162 return new Promise((resolve) => { 154 return new Promise((resolve) => {
163 this.unitData = this.$parent.unitData; 155 this.unitData = this.$parent.unitData;
164 var formdata = new FormData(); 156 var formdata = new FormData();
165
166 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 157 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
167 if (this.$route.query.sqywbm == "DJBBL") { 158 if (this.$route.query.sqywbm == "DJBBL") {
168 formdata.append("bsmSldy", this.$parent.bsmRepair); 159 formdata.append("bsmSldy", this.$parent.bsmRepair);
...@@ -259,6 +250,9 @@ export default { ...@@ -259,6 +250,9 @@ export default {
259 sjlx: data.cllx, 250 sjlx: data.cllx,
260 sfxjcl: "1", // 是否必选 251 sfxjcl: "1", // 是否必选
261 }; 252 };
253 if (this.$route.query.sqywbm == "DJBBL") {
254 obj.bsmSldy=this.$parent.bsmRepair
255 }
262 saveClml(obj).then(async (res) => { 256 saveClml(obj).then(async (res) => {
263 if (res.code == 200) { 257 if (res.code == 200) {
264 let res = await this.clmlInitList(2); 258 let res = await this.clmlInitList(2);
...@@ -324,6 +318,7 @@ export default { ...@@ -324,6 +318,7 @@ export default {
324 data: this.tableData, 318 data: this.tableData,
325 unitData: this.$parent.unitData, 319 unitData: this.$parent.unitData,
326 ableOperation: this.$parent.ableOperation, 320 ableOperation: this.$parent.ableOperation,
321 bsmRepair:this.$parent.bsmRepair
327 }, 322 },
328 "60%", 323 "60%",
329 true 324 true
......
...@@ -209,9 +209,14 @@ ...@@ -209,9 +209,14 @@
209 return new Promise(resolve => { 209 return new Promise(resolve => {
210 this.unitData = this.$parent.unitData; 210 this.unitData = this.$parent.unitData;
211 var formdata = new FormData(); 211 var formdata = new FormData();
212 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
213 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); 212 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
213 if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") {
214 formdata.append("bsmSldy", this.formData.bsmRepair);
215 formdata.append("clfl", 3);
216 } else {
217 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
214 formdata.append("clfl", 2); 218 formdata.append("clfl", 2);
219 }
215 InitClml(formdata).then((res) => { 220 InitClml(formdata).then((res) => {
216 if (res.code == 200) { 221 if (res.code == 200) {
217 resolve(res.code) 222 resolve(res.code)
......
...@@ -485,8 +485,19 @@ ...@@ -485,8 +485,19 @@
485 // this.taskList =this.formData.allCommentList; 485 // this.taskList =this.formData.allCommentList;
486 // 处理数据之后赋值 486 // 处理数据之后赋值
487 this.taskCommentList = this.taskList; 487 this.taskCommentList = this.taskList;
488 this.taskCommentList=this.taskCommentList.sort(this.sortDownDate)
488 }, 489 },
490 /**
491 * 时间排序函数
492 * @description: formatDate
493 * @param {*} row
494 * @param {*} column
495 * @author: renchao
496 */
489 497
498 sortDownDate(a, b) {
499 return Date.parse(a.createTime) - Date.parse(b.createTime);
500 },
490 // 设置流程图元素状态 501 // 设置流程图元素状态
491 /** 502 /**
492 * @description: 设置流程图元素状态 503 * @description: 设置流程图元素状态
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 </el-col> 60 </el-col>
61 <el-col :span="8"> 61 <el-col :span="8">
62 <el-form-item label="不动产单元号:"> 62 <el-form-item label="不动产单元号:">
63 <el-input v-model="ruleForm.zdjbxx.bdcdyh"></el-input> 63 <el-input v-model="ruleForm.sldy.bdcdyh"></el-input>
64 </el-form-item> 64 </el-form-item>
65 </el-col> 65 </el-col>
66 <el-col :span="8"> 66 <el-col :span="8">
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
11 :model="queryForm" 11 :model="queryForm"
12 ref="queryForm" 12 ref="queryForm"
13 @submit.native.prevent 13 @submit.native.prevent
14 label-width="80px"> 14 label-width="80px"
15 >
15 <el-row> 16 <el-row>
16 <el-col :span="5"> 17 <el-col :span="5">
17 <el-form-item label="业务来源" label-width="70px"> 18 <el-form-item label="业务来源" label-width="70px">
...@@ -22,12 +23,14 @@ ...@@ -22,12 +23,14 @@
22 class="width100" 23 class="width100"
23 filterable 24 filterable
24 clearable 25 clearable
25 placeholder="请选择业务来源"> 26 placeholder="请选择业务来源"
27 >
26 <el-option 28 <el-option
27 v-for="item in dictData['ywly']" 29 v-for="item in dictData['ywly']"
28 :key="item.dcode" 30 :key="item.dcode"
29 :label="item.dname" 31 :label="item.dname"
30 :value="item.dcode"> 32 :value="item.dcode"
33 >
31 </el-option> 34 </el-option>
32 </el-select> 35 </el-select>
33 </el-form-item> 36 </el-form-item>
...@@ -41,12 +44,14 @@ ...@@ -41,12 +44,14 @@
41 class="width100" 44 class="width100"
42 filterable 45 filterable
43 clearable 46 clearable
44 placeholder="请选择权利类型"> 47 placeholder="请选择权利类型"
48 >
45 <el-option 49 <el-option
46 v-for="item in dictData['A8']" 50 v-for="item in dictData['A8']"
47 :key="item.dcode" 51 :key="item.dcode"
48 :label="item.dname" 52 :label="item.dname"
49 :value="item.dcode"> 53 :value="item.dcode"
54 >
50 </el-option> 55 </el-option>
51 </el-select> 56 </el-select>
52 </el-form-item> 57 </el-form-item>
...@@ -60,12 +65,14 @@ ...@@ -60,12 +65,14 @@
60 class="width100" 65 class="width100"
61 filterable 66 filterable
62 clearable 67 clearable
63 placeholder="请选择登记类型"> 68 placeholder="请选择登记类型"
69 >
64 <el-option 70 <el-option
65 v-for="item in dictData['A21']" 71 v-for="item in dictData['A21']"
66 :key="item.dcode" 72 :key="item.dcode"
67 :label="item.dname" 73 :label="item.dname"
68 :value="item.dcode"> 74 :value="item.dcode"
75 >
69 </el-option> 76 </el-option>
70 </el-select> 77 </el-select>
71 </el-form-item> 78 </el-form-item>
...@@ -76,14 +83,20 @@ ...@@ -76,14 +83,20 @@
76 placeholder="请输入业务号" 83 placeholder="请输入业务号"
77 v-model="queryForm.ywh" 84 v-model="queryForm.ywh"
78 clearable 85 clearable
79 class="width200px"> 86 class="width200px"
87 >
80 </el-input> 88 </el-input>
81 </el-form-item> 89 </el-form-item>
82 </el-col> 90 </el-col>
83 91
84 <el-col :span="4" class="btnColRight"> 92 <el-col :span="4" class="btnColRight">
85 <el-form-item> 93 <el-form-item>
86 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 94 <el-button
95 type="primary"
96 native-type="submit"
97 @click="handleSearch"
98 >查询</el-button
99 >
87 <el-button @click="moreQueryClick">高级查询</el-button> 100 <el-button @click="moreQueryClick">高级查询</el-button>
88 </el-form-item> 101 </el-form-item>
89 </el-col> 102 </el-col>
...@@ -95,14 +108,16 @@ ...@@ -95,14 +108,16 @@
95 {{ item.name }}:{{ item.value }} 108 {{ item.name }}:{{ item.value }}
96 <i 109 <i
97 class="el-icon-circle-close" 110 class="el-icon-circle-close"
98 @click="handelItem(item, index)"></i> 111 @click="handelItem(item, index)"
112 ></i>
99 </li> 113 </li>
100 </ul> 114 </ul>
101 <el-button 115 <el-button
102 class="clean-btn" 116 class="clean-btn"
103 type="text" 117 type="text"
104 v-if="searchList.length > 0" 118 v-if="searchList.length > 0"
105 @click.native="hanldeCleanAll">清除全部 119 @click.native="hanldeCleanAll"
120 >清除全部
106 </el-button> 121 </el-button>
107 </el-row> 122 </el-row>
108 </el-form> 123 </el-form>
...@@ -119,30 +134,35 @@ ...@@ -119,30 +134,35 @@
119 @size-change="handleSizeChange" 134 @size-change="handleSizeChange"
120 @p-current-change="handleCurrentChange" 135 @p-current-change="handleCurrentChange"
121 :column="tableData.columns" 136 :column="tableData.columns"
122 :data="tableData.data"> 137 :data="tableData.data"
138 >
123 </lb-table> 139 </lb-table>
124 </div> 140 </div>
125 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> 141 <searchBox
142 v-model="isSearch"
143 @getSearch="getSearch"
144 :advancedForm="otherForm"
145 />
126 </div> 146 </div>
127 </template> 147 </template>
128 <script> 148 <script>
129 import { mapGetters } from "vuex"; 149 import { mapGetters } from "vuex";
130 import searchMin from "../components/mixin/index"; 150 import searchMin from "../components/mixin/index";
131 import table from "@/utils/mixin/table"; 151 import table from "@/utils/mixin/table";
132 import { datas, sendThis } from "./ybxdata"; 152 import { datas, sendThis } from "./ybxdata";
133 import { searchTaskDone } from "@/api/workflow/search.js"; 153 import { searchTaskDone } from "@/api/workflow/search.js";
134 import searchBox from "../components/search.vue"; 154 import searchBox from "../components/search.vue";
135 export default { 155 export default {
136 name: "ybx", 156 name: "ybx",
137 components: { searchBox }, 157 components: { searchBox },
138 mixins: [table, searchMin], 158 mixins: [table, searchMin],
139 mounted () { 159 mounted() {
140 sendThis(this); 160 sendThis(this);
141 }, 161 },
142 computed: { 162 computed: {
143 ...mapGetters(["dictData"]), 163 ...mapGetters(["dictData"]),
144 }, 164 },
145 data () { 165 data() {
146 return { 166 return {
147 queryForm: { 167 queryForm: {
148 ywly: "", 168 ywly: "",
...@@ -163,11 +183,11 @@ ...@@ -163,11 +183,11 @@
163 }, 183 },
164 }; 184 };
165 }, 185 },
166 activated () { 186 activated() {
167 this.queryClick() 187 this.queryClick();
168 window["getBpageList"] = () => { 188 window["getBpageList"] = () => {
169 this.queryClick() 189 this.queryClick();
170 } 190 };
171 }, 191 },
172 methods: { 192 methods: {
173 // 列表渲染接口 193 // 列表渲染接口
...@@ -175,7 +195,7 @@ ...@@ -175,7 +195,7 @@
175 * @description: 列表渲染接口 195 * @description: 列表渲染接口
176 * @author: renchao 196 * @author: renchao
177 */ 197 */
178 queryClick () { 198 queryClick() {
179 this.$startLoading(); 199 this.$startLoading();
180 this.searchForm.ywh = this.queryForm.ywh; 200 this.searchForm.ywh = this.queryForm.ywh;
181 this.iterationData(); 201 this.iterationData();
...@@ -203,7 +223,7 @@ ...@@ -203,7 +223,7 @@
203 * @param {*} val 223 * @param {*} val
204 * @author: renchao 224 * @author: renchao
205 */ 225 */
206 handleSort (val) { 226 handleSort(val) {
207 this.queryForm.sortField = val.prop; 227 this.queryForm.sortField = val.prop;
208 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 228 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
209 this.queryClick(); 229 this.queryClick();
...@@ -213,14 +233,17 @@ ...@@ -213,14 +233,17 @@
213 * @param {*} item 233 * @param {*} item
214 * @author: renchao 234 * @author: renchao
215 */ 235 */
216 ywhClick (item) { 236 ywhClick(item) {
217 //有任务权限 237 //有任务权限
218 if (item.sjlx == "3") { 238 if (item.sjlx == "3") {
239 item.djywbm = "DJBBL";
219 const { href } = this.$router.resolve( 240 const { href } = this.$router.resolve(
220 "/djbworkFrameview?bsmSlsq=" + 241 "/djbworkFrameview?bsmSlsq=" +
221 item.bsmSlsq + 242 item.bsmSlsq +
222 "&bestepid=" + 243 "&bestepid=" +
223 item.bestepid 244 item.bestepid +
245 "&sqywbm=" +
246 item.djywbm
224 ); 247 );
225 window.open(href, `djbworkFrameview${item.bsmSlsq}`); 248 window.open(href, `djbworkFrameview${item.bsmSlsq}`);
226 } else { 249 } else {
...@@ -232,10 +255,10 @@ ...@@ -232,10 +255,10 @@
232 ); 255 );
233 window.open(href, `workFrameView${item.bsmSlsq}`); 256 window.open(href, `workFrameView${item.bsmSlsq}`);
234 } 257 }
235 } 258 },
236 } 259 },
237 } 260 };
238 </script> 261 </script>
239 <style scoped lang="scss"> 262 <style scoped lang="scss">
240 @import "~@/styles/public.scss"; 263 @import "~@/styles/public.scss";
241 </style> 264 </style>
......