cbf0620c by xiaomiao

添加注释

1 parent 3a92924c
Showing 42 changed files with 1948 additions and 1839 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: xiaomiao 1158771342@qq.com 2 * @Author: xiaomiao 1158771342@qq.com
3 * @Date: 2023-03-09 15:24:53 3 * @Date: 2023-03-09 15:24:53
4 * @LastEditors: xiaomiao 1158771342@qq.com 4 * @LastEditors: xiaomiao 1158771342@qq.com
5 * @LastEditTime: 2023-03-21 14:59:20 5 * @LastEditTime: 2023-04-19 13:49:03
6 * @FilePath: \上报\bdcjg-web\src\api\personnelManage.js 6 * @FilePath: \上报\bdcjg-web\src\api\personnelManage.js
7 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE 7 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8 */ 8 */
...@@ -28,7 +28,6 @@ export const getUserLists = (queryParam) => { ...@@ -28,7 +28,6 @@ export const getUserLists = (queryParam) => {
28 conditions: [], 28 conditions: [],
29 queryRelation: 'AND', 29 queryRelation: 'AND',
30 } 30 }
31 console.log("queryParam", queryParam);
32 for (let key in queryParam) { 31 for (let key in queryParam) {
33 if (queryParam[key]) { 32 if (queryParam[key]) {
34 conditionGroup.conditions.push({ 33 conditionGroup.conditions.push({
......
...@@ -139,122 +139,122 @@ ...@@ -139,122 +139,122 @@
139 </div> 139 </div>
140 </template> 140 </template>
141 <script> 141 <script>
142 import djfDjSh from "@/api/djfDjSh"; 142 import djfDjSh from "@/api/djfDjSh";
143 import ruleMixin from "@/mixins/ruleMixin.js"; 143 import ruleMixin from "@/mixins/ruleMixin.js";
144 // 审核信息 144 // 审核信息
145 export default { 145 export default {
146 mixins: [ruleMixin], 146 mixins: [ruleMixin],
147 props: { 147 props: {
148 bsmSjsb: { 148 bsmSjsb: {
149 type: String, 149 type: String,
150 default: "", 150 default: "",
151 }, 151 },
152 bsmYwsjb: { 152 bsmYwsjb: {
153 type: String, 153 type: String,
154 default: "", 154 default: "",
155 },
156 },
157 data() {
158 return {
159 form: {
160 auditInfo: [
161 {
162 YSDM: "",
163 YWH: "",
164 JDMC: "",
165 SHYJ: "",
166 SHRYXM: "",
167 SHKSSJ: "",
168 traceStart: {},
169 SHJSSJ: "",
170 traceEnd: {},
171 SXH: "",
172 CZJG: "",
173 QXDM: "",
174 BZ: "",
175 },
176 ],
177 }, 155 },
178 };
179 },
180 methods: {
181 changeTraceEnd(item) {
182 if (item.SHJSSJ !== null) {
183 //当前值为空 也会进行判断 所以条件最好不要非空验证
184 item.traceStart = {
185 disabledDate: (time) => {
186 return time.getTime() > new Date(item.SHJSSJ).getTime(); //大于结束时间的不选
187 },
188 };
189 } else {
190 item.traceStart = {};
191 }
192 },
193 //跟踪API结束时间限制开始时间
194 changeTraceStart(item) {
195 if (item.SHKSSJ !== null) {
196 //当前值为空 也会进行判断 所以条件最好不要非空验证
197 item.traceEnd = {
198 disabledDate: (time) => {
199 return time.getTime() < new Date(item.SHKSSJ).getTime(); //小于开始时间的不选
200 },
201 };
202 } else {
203 item.traceEnd = {};
204 }
205 }, 156 },
206 async featchData() { 157 data () {
207 try { 158 return {
208 let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb); 159 form: {
209 this.form.auditInfo = res; 160 auditInfo: [
210 //this.featchRule() 161 {
211 } catch (error) { 162 YSDM: "",
212 this.$refs.msg.messageShow(); 163 YWH: "",
213 } 164 JDMC: "",
165 SHYJ: "",
166 SHRYXM: "",
167 SHKSSJ: "",
168 traceStart: {},
169 SHJSSJ: "",
170 traceEnd: {},
171 SXH: "",
172 CZJG: "",
173 QXDM: "",
174 BZ: "",
175 },
176 ],
177 },
178 };
214 }, 179 },
215 handleUpdateForm() { 180 methods: {
216 return new Promise(async (resolve) => { 181 changeTraceEnd (item) {
182 if (item.SHJSSJ !== null) {
183 //当前值为空 也会进行判断 所以条件最好不要非空验证
184 item.traceStart = {
185 disabledDate: (time) => {
186 return time.getTime() > new Date(item.SHJSSJ).getTime(); //大于结束时间的不选
187 },
188 };
189 } else {
190 item.traceStart = {};
191 }
192 },
193 //跟踪API结束时间限制开始时间
194 changeTraceStart (item) {
195 if (item.SHKSSJ !== null) {
196 //当前值为空 也会进行判断 所以条件最好不要非空验证
197 item.traceEnd = {
198 disabledDate: (time) => {
199 return time.getTime() < new Date(item.SHKSSJ).getTime(); //小于开始时间的不选
200 },
201 };
202 } else {
203 item.traceEnd = {};
204 }
205 },
206 async featchData () {
217 try { 207 try {
218 let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo); 208 let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb);
219 // this.$refs['formList'].resetFields(); 209 this.form.auditInfo = res;
220 resolve(res.code); 210 //this.featchRule()
221 } catch (error) { 211 } catch (error) {
222 this.$refs.msg.messageShow(); 212 this.$refs.msg.messageShow();
223 } 213 }
224 }); 214 },
215 handleUpdateForm () {
216 return new Promise(async (resolve) => {
217 try {
218 let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo);
219 // this.$refs['formList'].resetFields();
220 resolve(res.code);
221 } catch (error) {
222 this.$refs.msg.messageShow();
223 }
224 });
225 },
225 }, 226 },
226 }, 227 };
227 };
228 </script> 228 </script>
229 <style scoped lang="scss"> 229 <style scoped lang="scss">
230 @import "./css/itemForm.scss"; 230 @import "./css/itemForm.scss";
231
232 .auditInfo-item {
233 display: flex;
234 height: 100%;
235 margin-bottom: 15px;
236 margin-right: 5px;
237 231
238 &-name { 232 .auditInfo-item {
239 display: flex; 233 display: flex;
240 align-items: center; 234 height: 100%;
241 justify-content: center; 235 margin-bottom: 15px;
242 width: 20px; 236 margin-right: 5px;
243 padding: 10px 20px;
244 line-height: 28px;
245 border: 1px solid #ccc;
246 margin-right: 15px;
247 border-radius: 3px;
248 }
249 237
250 &-list { 238 &-name {
251 width: 100%; 239 display: flex;
252 flex: 1; 240 align-items: center;
253 display: flex; 241 justify-content: center;
254 justify-content: center; 242 width: 20px;
255 flex-direction: column; 243 padding: 10px 20px;
244 line-height: 28px;
245 border: 1px solid #ccc;
246 margin-right: 15px;
247 border-radius: 3px;
248 }
249
250 &-list {
251 width: 100%;
252 flex: 1;
253 display: flex;
254 justify-content: center;
255 flex-direction: column;
256 }
256 } 257 }
257 }
258 </style> 258 </style>
259 259
260 260
......
...@@ -1183,6 +1183,16 @@ ...@@ -1183,6 +1183,16 @@
1183 padding: 15px; 1183 padding: 15px;
1184 } 1184 }
1185 1185
1186 //定时任务弹框
1187 .scheduledtaskdialog {
1188 .el-dialog__headerbtn {
1189 width: 42px;
1190 height: 20px;
1191 right: 26px;
1192 top: 23px;
1193 }
1194 }
1195
1186 // 修改密码界面样式 1196 // 修改密码界面样式
1187 .informationpassword { 1197 .informationpassword {
1188 margin: 36px 200px; 1198 margin: 36px 200px;
...@@ -1430,5 +1440,18 @@ ...@@ -1430,5 +1440,18 @@
1430 .el-form-item__label { 1440 .el-form-item__label {
1431 color: #0288B0 !important; 1441 color: #0288B0 !important;
1432 line-height: 20px; 1442 line-height: 20px;
1443 margin-top: 20px;
1433 } 1444 }
1434 }
...\ No newline at end of file ...\ No newline at end of file
1445 }
1446
1447 // 预告登记弹框样式
1448 .auditInfo {
1449 .el-textarea.is-disabled .el-textarea__inner {
1450 background: none;
1451 color: #C0C4CC;
1452 border: 1px solid #224C7C !important;
1453 padding: 0;
1454 margin: 0;
1455 text-indent: 7px;
1456 }
1457 }
......
...@@ -993,4 +993,26 @@ ...@@ -993,4 +993,26 @@
993 height: 44px; 993 height: 44px;
994 } 994 }
995 } 995 }
996 }
...\ No newline at end of file ...\ No newline at end of file
996 }
997
998 //定时任务弹框
999 .scheduledtaskdialog {
1000 .el-dialog__header {
1001 width: 100%;
1002 display: flex;
1003 justify-content: center;
1004 font-size: 24px;
1005 @include background("navbg");
1006
1007 .dialog_title {
1008
1009 color: white;
1010 margin-bottom: 10px;
1011 }
1012 }
1013
1014 .el-dialog__headerbtn .el-dialog__close {
1015 font-size: 20px;
1016 color: #4162D8
1017 }
1018 }
......
...@@ -2,6 +2,7 @@ import { mapGetters } from 'vuex' ...@@ -2,6 +2,7 @@ import { mapGetters } from 'vuex'
2 export default { 2 export default {
3 data () { 3 data () {
4 return { 4 return {
5 // 分页
5 pageData: { 6 pageData: {
6 currentPage: 1, 7 currentPage: 1,
7 pageSize: 10 8 pageSize: 10
......
...@@ -6,6 +6,41 @@ ...@@ -6,6 +6,41 @@
6 <el-form-item v-if="BASE_API.THEME == 'jg'"> 6 <el-form-item v-if="BASE_API.THEME == 'jg'">
7 <Breadcrumb /> 7 <Breadcrumb />
8 </el-form-item> 8 </el-form-item>
9 <!-- <el-row>
10 <el-col :span="5">
11 <el-form-item label="行政区">
12 <el-select
13 v-model="$store.state.user.userInfo.grade === 'county' ? form.XZQDM = $store.state.user.userInfo.areaCode : form.XZQDM"
14 class="width100" clearable placeholder="行政区" :disabled="$store.state.user.userInfo.grade === 'county'">
15 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
16 </el-option>
17 </el-select>
18 </el-form-item>
19 </el-col>
20 <el-col :span="5">
21 <el-form-item label="权属状态">
22 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
23 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
24 </el-option>
25 </el-select>
26 </el-form-item>
27 </el-col>
28 <el-col :span="5">
29 <el-form-item label="权利人">
30 <el-input v-model="form.QLR" clearable placeholder="权利人"></el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="5">
34 <el-form-item label="不动产单元号" label-width="103px">
35 <el-input v-model="form.BDCDYH" clearable placeholder="不动产单元号"></el-input>
36 </el-form-item>
37 </el-col>
38 <el-col :span="4">
39 <el-form-item label="查封机关">
40 <el-input v-model="form.CFJG" clearable placeholder="查封机关"></el-input>
41 </el-form-item>
42 </el-col>
43 </el-row> -->
9 <el-row> 44 <el-row>
10 <el-col :span="5"> 45 <el-col :span="5">
11 <el-form-item label="行政区"> 46 <el-form-item label="行政区">
...@@ -80,81 +115,82 @@ ...@@ -80,81 +115,82 @@
80 </div> 115 </div>
81 </template> 116 </template>
82 <script> 117 <script>
83 // 查封登记 118 // 查封登记
84 import data from "./data" 119 import data from "./data"
85 import qlfQlCfdj from '@/api/qlfQlCfdj' 120 import qlfQlCfdj from '@/api/qlfQlCfdj'
86 import tableMixin from '@/mixins/tableMixin.js' 121 import tableMixin from '@/mixins/tableMixin.js'
87 export default { 122 export default {
88 name: "Cfdj", 123 name: "Cfdj",
89 mixins: [tableMixin], 124 mixins: [tableMixin],
90 data () { 125 data () {
91 return { 126 return {
92 form: { 127 form: {
93 XZQDM: '', 128 XZQDM: '',
94 QSZT: '', 129 QSZT: '',
95 ZL: '', 130 ZL: '',
96 BDCQZH: '', 131 BDCQZH: '',
97 QLR: '', 132 QLR: '',
98 BDCDYH: '', 133 BDCDYH: '',
99 JFJG: '', 134 JFJG: '',
100 JFWH: '', 135 JFWH: '',
101 CFJG: '', 136 CFJG: '',
102 CFWH: '', 137 CFWH: '',
103 ZJH: '', 138 ZJH: '',
104 currentPage: 1 139 currentPage: 1
105 }, 140 },
106 tableData: { 141 // 表格数据
107 columns: [{ 142 tableData: {
108 label: '序号', 143 columns: [{
109 type: 'index', 144 label: '序号',
110 width: '50', 145 type: 'index',
111 index: this.indexMethod, 146 width: '50',
112 }].concat(data.columns()).concat([ 147 index: this.indexMethod,
113 { 148 }].concat(data.columns()).concat([
114 label: "操作", 149 {
115 width: 80, 150 label: "操作",
116 fixed: "right", 151 width: 80,
117 render: (h, scope) => { 152 fixed: "right",
118 return ( 153 render: (h, scope) => {
119 <div> 154 return (
120 <el-button 155 <div>
121 type="text" 156 <el-button
122 class='btnColor' 157 type="text"
123 onClick={() => { this.handleEdit(scope.row) }} 158 class='btnColor'
124 > 159 onClick={() => { this.handleEdit(scope.row) }}
125 详情 160 >
126 </el-button> 161 详情
127 </div> 162 </el-button>
128 ) 163 </div>
164 )
165 }
129 } 166 }
167 ]),
168 data: []
169 },
170 // 分页
171 pageData: {
172 total: 0,
173 pageSize: 15,
174 current: 1,
175 },
176 diaData: null,
177 }
178 },
179 methods: {
180 async featchData () {
181 try {
182 let { result: { list, total, pages: pageSize, pageNum: current }
183 } = await qlfQlCfdj.getQlfQlCfdjList(this.form)
184 this.tableData.data = list
185 this.pageData = {
186 pageSize,
187 current,
188 total
130 } 189 }
131 ]), 190 } catch (error) {
132 data: [] 191 this.$refs.msg.messageShow()
133 },
134 pageData: {
135 total: 0,
136 pageSize: 15,
137 current: 1,
138 },
139 diaData: null,
140 bsmSjsb: ''
141 }
142 },
143 methods: {
144 async featchData () {
145 try {
146 let { result: { list, total, pages: pageSize, pageNum: current }
147 } = await qlfQlCfdj.getQlfQlCfdjList(this.form)
148 this.tableData.data = list
149 this.pageData = {
150 pageSize,
151 current,
152 total
153 } 192 }
154 } catch (error) {
155 this.$refs.msg.messageShow()
156 } 193 }
157 } 194 }
158 } 195 }
159 }
160 </script> 196 </script>
......
...@@ -85,80 +85,82 @@ ...@@ -85,80 +85,82 @@
85 </template> 85 </template>
86 86
87 <script> 87 <script>
88 // 抵押权登记 88 // 抵押权登记
89 import data from "./data" 89 import data from "./data"
90 import qlfQlDyaq from '@/api/qlfQlDyaq' 90 import qlfQlDyaq from '@/api/qlfQlDyaq'
91 import tableMixin from '@/mixins/tableMixin.js' 91 import tableMixin from '@/mixins/tableMixin.js'
92 import treeSelect from '@/components/TreeSelect.vue' 92 import treeSelect from '@/components/TreeSelect.vue'
93 export default { 93 export default {
94 name: "dyaq", 94 name: "dyaq",
95 mixins: [tableMixin], 95 mixins: [tableMixin],
96 components: { 96 components: {
97 treeSelect, 97 treeSelect,
98 }, 98 },
99 data () { 99 data () {
100 return { 100 return {
101 form: { 101 form: {
102 XZQDM: '', 102 XZQDM: '',
103 QSZT: '', 103 QSZT: '',
104 ZL: '', 104 ZL: '',
105 BDCQZH: '', 105 BDCQZH: '',
106 dyr: '', 106 dyr: '',
107 BDCDYH: '', 107 BDCDYH: '',
108 dybdclx: '', 108 dybdclx: '',
109 DJLX: '', 109 DJLX: '',
110 ZJH: '', 110 ZJH: '',
111 currentPage: 1 111 currentPage: 1
112 }, 112 },
113 tableData: { 113 // 表格数据
114 columns: [{ 114 tableData: {
115 label: '序号', 115 columns: [{
116 type: 'index', 116 label: '序号',
117 width: '50', 117 type: 'index',
118 index: this.indexMethod, 118 width: '50',
119 }].concat(data.columns()).concat([ 119 index: this.indexMethod,
120 { 120 }].concat(data.columns()).concat([
121 label: "操作", 121 {
122 width: 80, 122 label: "操作",
123 fixed: "right", 123 width: 80,
124 render: (h, scope) => { 124 fixed: "right",
125 return ( 125 render: (h, scope) => {
126 <div> 126 return (
127 <el-button 127 <div>
128 type="text" 128 <el-button
129 class='btnColor' 129 type="text"
130 onClick={() => { this.handleEdit(scope.row) }} 130 class='btnColor'
131 > 131 onClick={() => { this.handleEdit(scope.row) }}
132 详情 132 >
133 </el-button> 133 详情
134 </div> 134 </el-button>
135 ) 135 </div>
136 )
137 }
136 } 138 }
137 } 139 ]),
138 ]), 140 data: []
139 data: [] 141 },
140 }, 142 // 分页
141 pageData: { 143 pageData: {
142 total: 0, 144 total: 0,
143 pageSize: 15, 145 pageSize: 15,
144 current: 1, 146 current: 1,
147 }
145 } 148 }
146 } 149 },
147 }, 150 methods: {
148 methods: { 151 async featchData () {
149 async featchData () { 152 try {
150 try { 153 let { result: { list, total, pages: pageSize, pageNum: current }
151 let { result: { list, total, pages: pageSize, pageNum: current } 154 } = await qlfQlDyaq.getQlfQlDyaqList(this.form)
152 } = await qlfQlDyaq.getQlfQlDyaqList(this.form) 155 this.tableData.data = list;
153 this.tableData.data = list; 156 this.pageData = {
154 this.pageData = { 157 pageSize,
155 pageSize, 158 current,
156 current, 159 total
157 total 160 }
161 } catch (error) {
158 } 162 }
159 } catch (error) {
160 } 163 }
161 } 164 }
162 } 165 }
163 }
164 </script> 166 </script>
......
...@@ -88,83 +88,85 @@ ...@@ -88,83 +88,85 @@
88 </template> 88 </template>
89 89
90 <script> 90 <script>
91 // 地役权登记 91 // 地役权登记
92 import data from "./data" 92 import data from "./data"
93 import qlfQlDyiq from '@/api/qlfQlDyiq' 93 import qlfQlDyiq from '@/api/qlfQlDyiq'
94 import tableMixin from '@/mixins/tableMixin.js' 94 import tableMixin from '@/mixins/tableMixin.js'
95 import treeSelect from '@/components/TreeSelect.vue' 95 import treeSelect from '@/components/TreeSelect.vue'
96 export default { 96 export default {
97 name: "dyiq", 97 name: "dyiq",
98 mixins: [tableMixin], 98 mixins: [tableMixin],
99 components: { 99 components: {
100 treeSelect 100 treeSelect
101 }, 101 },
102 data () { 102 data () {
103 return { 103 return {
104 form: { 104 form: {
105 XZQDM: '', 105 XZQDM: '',
106 QSZT: '', 106 QSZT: '',
107 ZL: '', 107 ZL: '',
108 BDCQZH: '', 108 BDCQZH: '',
109 QLR: '', 109 QLR: '',
110 BDCDYH: '', 110 BDCDYH: '',
111 // 供役地不动产单元号 111 // 供役地不动产单元号
112 GYDBDCDYH: '', 112 GYDBDCDYH: '',
113 // 需役地不动产单元号 113 // 需役地不动产单元号
114 XYDBDCDYH: '', 114 XYDBDCDYH: '',
115 ZJH: '', 115 ZJH: '',
116 currentPage: 1 116 currentPage: 1
117 }, 117 },
118 tableData: { 118 // 表格数据
119 columns: [{ 119 tableData: {
120 label: '序号', 120 columns: [{
121 type: 'index', 121 label: '序号',
122 width: '50', 122 type: 'index',
123 index: this.indexMethod, 123 width: '50',
124 }].concat(data.columns()).concat([ 124 index: this.indexMethod,
125 { 125 }].concat(data.columns()).concat([
126 label: "操作", 126 {
127 width: 80, 127 label: "操作",
128 fixed: "right", 128 width: 80,
129 render: (h, scope) => { 129 fixed: "right",
130 return ( 130 render: (h, scope) => {
131 <div> 131 return (
132 <el-button 132 <div>
133 type="text" 133 <el-button
134 class='btnColor' 134 type="text"
135 onClick={() => { this.handleEdit(scope.row) }} 135 class='btnColor'
136 > 136 onClick={() => { this.handleEdit(scope.row) }}
137 详情 137 >
138 </el-button> 138 详情
139 </div> 139 </el-button>
140 ) 140 </div>
141 )
142 }
141 } 143 }
142 } 144 ]),
143 ]), 145 data: []
144 data: [] 146 },
145 }, 147 // 分页
146 pageData: { 148 pageData: {
147 total: 0, 149 total: 0,
148 pageSize: 15, 150 pageSize: 15,
149 current: 1, 151 current: 1,
152 }
150 } 153 }
151 } 154 },
152 }, 155 methods: {
153 methods: { 156 async featchData () {
154 async featchData () { 157 try {
155 try { 158 this.form = Object.assign(this.form, this.formData)
156 this.form = Object.assign(this.form, this.formData) 159 let { result: { list, total, pages: pageSize, pageNum: current }
157 let { result: { list, total, pages: pageSize, pageNum: current } 160 } = await qlfQlDyiq.getQlfQlDyiqList(this.form)
158 } = await qlfQlDyiq.getQlfQlDyiqList(this.form) 161 this.tableData.data = list
159 this.tableData.data = list 162 this.pageData = {
160 this.pageData = { 163 pageSize,
161 pageSize, 164 current,
162 current, 165 total
163 total 166 }
167 } catch (error) {
164 } 168 }
165 } catch (error) {
166 } 169 }
167 } 170 }
168 } 171 }
169 }
170 </script> 172 </script>
......
...@@ -80,103 +80,105 @@ ...@@ -80,103 +80,105 @@
80 </template> 80 </template>
81 81
82 <script> 82 <script>
83 // 房地产权(项目内多幢房屋) 83 // 房地产权(项目内多幢房屋)
84 import data from "./data" 84 import data from "./data"
85 import qltFwFdcqDz from '@/api/qltFwFdcqDz' 85 import qltFwFdcqDz from '@/api/qltFwFdcqDz'
86 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 86 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
87 import tableMixin from '@/mixins/tableMixin.js' 87 import tableMixin from '@/mixins/tableMixin.js'
88 import treeSelect from '@/components/TreeSelect.vue' 88 import treeSelect from '@/components/TreeSelect.vue'
89 export default { 89 export default {
90 name: "fdcqdz", 90 name: "fdcqdz",
91 mixins: [tableMixin], 91 mixins: [tableMixin],
92 components: { 92 components: {
93 treeSelect 93 treeSelect
94 }, 94 },
95 data () { 95 data () {
96 return { 96 return {
97 form: { 97 form: {
98 XZQDM: '', 98 XZQDM: '',
99 QSZT: '', 99 QSZT: '',
100 ZL: '', 100 ZL: '',
101 QLR: '', 101 QLR: '',
102 DJLX: '', 102 DJLX: '',
103 BDCQZH: '', 103 BDCQZH: '',
104 BDCDYH: '', 104 BDCDYH: '',
105 ZJH: '', 105 ZJH: '',
106 currentPage: 1 106 currentPage: 1
107 }, 107 },
108 tableData: { 108 // 表格数据
109 columns: [{ 109 tableData: {
110 label: '序号', 110 columns: [{
111 type: 'index', 111 label: '序号',
112 width: '50', 112 type: 'index',
113 index: this.indexMethod, 113 width: '50',
114 }].concat(data.columns()).concat([ 114 index: this.indexMethod,
115 { 115 }].concat(data.columns()).concat([
116 label: "操作", 116 {
117 width: 80, 117 label: "操作",
118 fixed: "right", 118 width: 80,
119 render: (h, scope) => { 119 fixed: "right",
120 return ( 120 render: (h, scope) => {
121 <div> 121 return (
122 <el-button 122 <div>
123 type="text" 123 <el-button
124 class='btnColor' 124 type="text"
125 onClick={() => { 125 class='btnColor'
126 this.handleEdit(scope.row); 126 onClick={() => {
127 }} 127 this.handleEdit(scope.row);
128 > 128 }}
129 详情 129 >
130 </el-button> 130 详情
131 </div> 131 </el-button>
132 ); 132 </div>
133 );
134 },
133 }, 135 },
134 },
135 136
136 ]), 137 ]),
137 data: [] 138 data: []
139 },
140 // 分页
141 pageData: {
142 total: 0,
143 pageSize: 15,
144 current: 1,
145 },
146 diaData: null,
147 bsmSjsb: ''
148 }
149 },
150 methods: {
151 // 是否显示下拉框
152 isShowSelectOptions (e) {
153 if (!e) this.$refs.selectmanyQL.blur()
154 if (!e) this.$refs.selectmanyDJ.blur()
138 }, 155 },
139 pageData: { 156 async featchData () {
140 total: 0, 157 try {
141 pageSize: 15, 158 this.form = Object.assign(this.form, this.formData)
142 current: 1, 159 let { result: { list, total, pages: pageSize, pageNum: current }
160 } = await qltFwFdcqDz.getQltFwFdcqDzList(this.form)
161 this.tableData.data = list
162 this.pageData = {
163 pageSize,
164 current,
165 total
166 }
167 } catch (error) {
168 this.message = error
169 // this.$refs.msg.messageShow()
170 }
143 }, 171 },
144 diaData: null, 172 async handlDatadetails (index, row) {
145 bsmSjsb: '' 173 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
146 } 174 if (res != null) {
147 }, 175 this.diaData = res
148 methods: { 176 this.bsmSjsb = row.BSM_SJSB
149 // 是否显示下拉框 177 this.$store.dispatch('qltFwFdcqDz/setEdit'); this.$refs.editLog.isShow()
150 isShowSelectOptions (e) { 178 } else {
151 if (!e) this.$refs.selectmanyQL.blur() 179 this.$message(message);
152 if (!e) this.$refs.selectmanyDJ.blur()
153 },
154 async featchData () {
155 try {
156 this.form = Object.assign(this.form, this.formData)
157 let { result: { list, total, pages: pageSize, pageNum: current }
158 } = await qltFwFdcqDz.getQltFwFdcqDzList(this.form)
159 this.tableData.data = list
160 this.pageData = {
161 pageSize,
162 current,
163 total
164 } 180 }
165 } catch (error) {
166 this.message = error
167 // this.$refs.msg.messageShow()
168 }
169 },
170 async handlDatadetails (index, row) {
171 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
172 if (res != null) {
173 this.diaData = res
174 this.bsmSjsb = row.BSM_SJSB
175 this.$store.dispatch('qltFwFdcqDz/setEdit'); this.$refs.editLog.isShow()
176 } else {
177 this.$message(message);
178 } 181 }
179 } 182 }
180 } 183 }
181 }
182 </script> 184 </script>
......
...@@ -48,97 +48,99 @@ ...@@ -48,97 +48,99 @@
48 </template> 48 </template>
49 49
50 <script> 50 <script>
51 // 建筑物区分所有权业主共有部分 51 // 建筑物区分所有权业主共有部分
52 import data from "./data" 52 import data from "./data"
53 import qlfFwFdcqQfsyq from '@/api/qlfFwFdcqQfsyq' 53 import qlfFwFdcqQfsyq from '@/api/qlfFwFdcqQfsyq'
54 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 54 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
55 import tableMixin from '@/mixins/tableMixin.js' 55 import tableMixin from '@/mixins/tableMixin.js'
56 import treeSelect from '@/components/TreeSelect.vue' 56 import treeSelect from '@/components/TreeSelect.vue'
57 export default { 57 export default {
58 name: "fdcqqfsyq", 58 name: "fdcqqfsyq",
59 mixins: [tableMixin], 59 mixins: [tableMixin],
60 components: { 60 components: {
61 treeSelect 61 treeSelect
62 }, 62 },
63 data () { 63 data () {
64 return { 64 return {
65 form: { 65 form: {
66 YWH: '', 66 YWH: '',
67 QLLX: '', 67 QLLX: '',
68 BDCDYH: '', 68 BDCDYH: '',
69 ZJH: '', 69 ZJH: '',
70 currentPage: 1 70 currentPage: 1
71 }, 71 },
72 tableData: { 72 // 表格数据
73 columns: [{ 73 tableData: {
74 label: '序号', 74 columns: [{
75 type: 'index', 75 label: '序号',
76 width: '50', 76 type: 'index',
77 index: this.indexMethod, 77 width: '50',
78 }].concat(data.columns()).concat([ 78 index: this.indexMethod,
79 { 79 }].concat(data.columns()).concat([
80 label: "操作", 80 {
81 width: 80, 81 label: "操作",
82 fixed: "right", 82 width: 80,
83 render: (h, scope) => { 83 fixed: "right",
84 return ( 84 render: (h, scope) => {
85 <div> 85 return (
86 <el-button 86 <div>
87 type="text" 87 <el-button
88 class='btnColor' 88 type="text"
89 onClick={() => { 89 class='btnColor'
90 this.handleEdit(scope.row); 90 onClick={() => {
91 }} 91 this.handleEdit(scope.row);
92 > 92 }}
93 详情 93 >
94 </el-button> 94 详情
95 </div> 95 </el-button>
96 ); 96 </div>
97 );
98 },
97 }, 99 },
98 },
99 100
100 ]), 101 ]),
101 data: [] 102 data: []
103 },
104 // 分页
105 pageData: {
106 total: 0,
107 pageSize: 15,
108 current: 1,
109 },
110 diaData: null,
111 bsmSjsb: ''
112 }
113 },
114 methods: {
115 // 是否显示下拉框
116 isShowSelectOptions (e) {
117 if (!e) this.$refs.selectshareQL.blur()
102 }, 118 },
103 pageData: { 119 async featchData () {
104 total: 0, 120 try {
105 pageSize: 15, 121 this.form = Object.assign(this.form, this.formData)
106 current: 1, 122 let { result: { list, total, pages: pageSize, pageNum: current }
123 } = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqList(this.form)
124 this.tableData.data = list
125 this.pageData = {
126 pageSize,
127 current,
128 total
129 }
130 } catch (error) {
131 this.message = error
132 }
107 }, 133 },
108 diaData: null, 134 async handlDatadetails (index, row) {
109 bsmSjsb: '' 135 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
110 } 136 if (res != null) {
111 }, 137 this.diaData = res
112 methods: { 138 this.bsmSjsb = row.BSM_SJSB
113 // 是否显示下拉框 139 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
114 isShowSelectOptions (e) { 140 } else {
115 if (!e) this.$refs.selectshareQL.blur() 141 this.$message(message)
116 },
117 async featchData () {
118 try {
119 this.form = Object.assign(this.form, this.formData)
120 let { result: { list, total, pages: pageSize, pageNum: current }
121 } = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqList(this.form)
122 this.tableData.data = list
123 this.pageData = {
124 pageSize,
125 current,
126 total
127 } 142 }
128 } catch (error) { 143 },
129 this.message = error 144 }
130 }
131 },
132 async handlDatadetails (index, row) {
133 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
134 if (res != null) {
135 this.diaData = res
136 this.bsmSjsb = row.BSM_SJSB
137 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
138 } else {
139 this.$message(message)
140 }
141 },
142 } 145 }
143 }
144 </script> 146 </script>
......
...@@ -80,135 +80,137 @@ ...@@ -80,135 +80,137 @@
80 </template> 80 </template>
81 81
82 <script> 82 <script>
83 // 房地产权(独幢、层、套、间、房屋) 83 // 房地产权(独幢、层、套、间、房屋)
84 import data from "./data" 84 import data from "./data"
85 import qltFwFdcqYz from '@/api/qltFwFdcqYz' 85 import qltFwFdcqYz from '@/api/qltFwFdcqYz'
86 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 86 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
87 import tableMixin from '@/mixins/tableMixin.js' 87 import tableMixin from '@/mixins/tableMixin.js'
88 import treeSelect from '@/components/TreeSelect.vue' 88 import treeSelect from '@/components/TreeSelect.vue'
89 export default { 89 export default {
90 name: "fdcqyz", 90 name: "fdcqyz",
91 mixins: [tableMixin], 91 mixins: [tableMixin],
92 components: { 92 components: {
93 treeSelect 93 treeSelect
94 }, 94 },
95 data () { 95 data () {
96 return { 96 return {
97 form: { 97 form: {
98 XZQDM: '', 98 XZQDM: '',
99 QSZT: '', 99 QSZT: '',
100 ZL: '', 100 ZL: '',
101 QLR: '', 101 QLR: '',
102 DJLX: '', 102 DJLX: '',
103 BDCQZH: '', 103 BDCQZH: '',
104 BDCDYH: '', 104 BDCDYH: '',
105 ZJH: '', 105 ZJH: '',
106 currentPage: 1 106 currentPage: 1
107 }, 107 },
108 tableData: { 108 // 表格数据
109 columns: [{ 109 tableData: {
110 label: '序号', 110 columns: [{
111 type: 'index', 111 label: '序号',
112 width: '50', 112 type: 'index',
113 index: this.indexMethod, 113 width: '50',
114 }].concat(data.columns()).concat([ 114 index: this.indexMethod,
115 { 115 }].concat(data.columns()).concat([
116 label: "操作", 116 {
117 width: 80, 117 label: "操作",
118 fixed: "right", 118 width: 80,
119 render: (h, scope) => { 119 fixed: "right",
120 return ( 120 render: (h, scope) => {
121 <div> 121 return (
122 <el-button 122 <div>
123 type="text" 123 <el-button
124 class='btnColor' 124 type="text"
125 onClick={() => { 125 class='btnColor'
126 this.handleEdit(scope.row); 126 onClick={() => {
127 }} 127 this.handleEdit(scope.row);
128 > 128 }}
129 详情 129 >
130 </el-button> 130 详情
131 </div> 131 </el-button>
132 ); 132 </div>
133 );
134 },
133 }, 135 },
134 },
135 136
136 ]), 137 ]),
137 data: [], 138 data: [],
138 },
139 pageData: {
140 total: 0,
141 pageSize: 15,
142 current: 1,
143 },
144 diaData: null,
145 bsmSjsb: '',
146 QLLXOptions: [
147 {
148 label: '国有建设用地使用权/房屋所有权',
149 value: '4'
150 },
151 {
152 label: '宅基地使用权/房屋所有权',
153 value: '6'
154 }, 139 },
155 { 140 // 分页
156 label: '集体建设用地使用权/构筑物所有权', 141 pageData: {
157 value: '8' 142 total: 0,
158 } 143 pageSize: 15,
159 ], 144 current: 1,
160 DJLXOptions: [
161 {
162 label: '首次登记',
163 value: '100'
164 },
165 {
166 label: '转移登记',
167 value: '200'
168 }, 145 },
169 { 146 diaData: null,
170 label: '变更登记', 147 bsmSjsb: '',
171 value: '300' 148 QLLXOptions: [
172 }, 149 {
173 { 150 label: '国有建设用地使用权/房屋所有权',
174 label: '更正登记', 151 value: '4'
175 value: '500' 152 },
176 } 153 {
177 ], 154 label: '宅基地使用权/房屋所有权',
178 } 155 value: '6'
179 }, 156 },
180 methods: { 157 {
181 // 是否显示下拉框 158 label: '集体建设用地使用权/构筑物所有权',
182 isShowSelectOptions (e) { 159 value: '8'
183 if (!e) this.$refs.selectsingleQL.blur() 160 }
184 if (!e) this.$refs.selectsingleDJ.blur() 161 ],
185 }, 162 DJLXOptions: [
186 async featchData () { 163 {
187 try { 164 label: '首次登记',
188 this.form = Object.assign(this.form, this.formData) 165 value: '100'
189 let { result: { list, total, pages: pageSize, pageNum: current } 166 },
190 } = await qltFwFdcqYz.getQltFwFdcqYzList(this.form) 167 {
191 this.tableData.data = list 168 label: '转移登记',
192 this.pageData = { 169 value: '200'
193 pageSize, 170 },
194 current, 171 {
195 total 172 label: '变更登记',
196 } 173 value: '300'
197 } catch (error) { 174 },
198 this.message = error 175 {
199 // this.$refs.msg.messageShow() 176 label: '更正登记',
177 value: '500'
178 }
179 ],
200 } 180 }
201 }, 181 },
202 async handlDatadetails (index, row) { 182 methods: {
203 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB) 183 // 是否显示下拉框
204 if (res != null) { 184 isShowSelectOptions (e) {
205 this.diaData = res 185 if (!e) this.$refs.selectsingleQL.blur()
206 this.bsmSjsb = row.BSM_SJSB 186 if (!e) this.$refs.selectsingleDJ.blur()
207 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow() 187 },
208 } else { 188 async featchData () {
209 this.$message(message) 189 try {
190 this.form = Object.assign(this.form, this.formData)
191 let { result: { list, total, pages: pageSize, pageNum: current }
192 } = await qltFwFdcqYz.getQltFwFdcqYzList(this.form)
193 this.tableData.data = list
194 this.pageData = {
195 pageSize,
196 current,
197 total
198 }
199 } catch (error) {
200 this.message = error
201 // this.$refs.msg.messageShow()
202 }
203 },
204 async handlDatadetails (index, row) {
205 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
206 if (res != null) {
207 this.diaData = res
208 this.bsmSjsb = row.BSM_SJSB
209 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
210 } else {
211 this.$message(message)
212 }
210 } 213 }
211 } 214 }
212 } 215 }
213 }
214 </script> 216 </script>
......
...@@ -75,88 +75,90 @@ ...@@ -75,88 +75,90 @@
75 </template> 75 </template>
76 76
77 <script> 77 <script>
78 // 构(建)筑物所有权 78 // 构(建)筑物所有权
79 import data from "./data" 79 import data from "./data"
80 import qltQlGjzwsyq from '@/api/qltQlGjzwsyq' 80 import qltQlGjzwsyq from '@/api/qltQlGjzwsyq'
81 import tableMixin from '@/mixins/tableMixin.js' 81 import tableMixin from '@/mixins/tableMixin.js'
82 import treeSelect from '@/components/TreeSelect.vue' 82 import treeSelect from '@/components/TreeSelect.vue'
83 export default { 83 export default {
84 name: "gzwsyq", 84 name: "gzwsyq",
85 mixins: [tableMixin], 85 mixins: [tableMixin],
86 components: { 86 components: {
87 treeSelect 87 treeSelect
88 }, 88 },
89 data () { 89 data () {
90 return { 90 return {
91 form: { 91 form: {
92 XZQDM: '', 92 XZQDM: '',
93 QSZT: '', 93 QSZT: '',
94 ZL: '', 94 ZL: '',
95 BDCQZH: '', 95 BDCQZH: '',
96 QLR: '', 96 QLR: '',
97 DJLX: '', 97 DJLX: '',
98 JZWMC: '', 98 JZWMC: '',
99 ZJH: '', 99 ZJH: '',
100 currentPage: 1 100 currentPage: 1
101 }, 101 },
102 tableData: { 102 // 表格数据
103 columns: [{ 103 tableData: {
104 label: '序号', 104 columns: [{
105 type: 'index', 105 label: '序号',
106 width: '50', 106 type: 'index',
107 index: this.indexMethod, 107 width: '50',
108 }].concat(data.columns()).concat([ 108 index: this.indexMethod,
109 { 109 }].concat(data.columns()).concat([
110 label: "操作", 110 {
111 width: 80, 111 label: "操作",
112 fixed: "right", 112 width: 80,
113 render: (h, scope) => { 113 fixed: "right",
114 return ( 114 render: (h, scope) => {
115 <div> 115 return (
116 <el-button 116 <div>
117 type="text" 117 <el-button
118 class='btnColor' 118 type="text"
119 onClick={() => { 119 class='btnColor'
120 this.handleEdit(scope.row); 120 onClick={() => {
121 }} 121 this.handleEdit(scope.row);
122 > 122 }}
123 详情 123 >
124 </el-button> 124 详情
125 </div> 125 </el-button>
126 ); 126 </div>
127 );
128 },
127 }, 129 },
128 },
129 130
130 ]), 131 ]),
131 data: [{ ceateTime: 1 }] 132 data: [{ ceateTime: 1 }]
132 }, 133 },
133 pageData: { 134 // 分页
134 total: 0, 135 pageData: {
135 pageSize: 15, 136 total: 0,
136 current: 1, 137 pageSize: 15,
138 current: 1,
139 }
137 } 140 }
138 }
139 },
140 methods: {
141 // 是否显示下拉框
142 isShowSelectOptions (e) {
143 if (!e) this.$refs.selectownershipQL.blur()
144 if (!e) this.$refs.selectownershipDJ.blur()
145 }, 141 },
146 async featchData () { 142 methods: {
147 try { 143 // 是否显示下拉框
148 this.form = Object.assign(this.form, this.formData) 144 isShowSelectOptions (e) {
149 let { result: { list, total, pages: pageSize, pageNum: current } 145 if (!e) this.$refs.selectownershipQL.blur()
150 } = await qltQlGjzwsyq.getQltQlGjzwsyqList(this.form) 146 if (!e) this.$refs.selectownershipDJ.blur()
151 this.tableData.data = list 147 },
152 this.pageData = { 148 async featchData () {
153 pageSize, 149 try {
154 current, 150 this.form = Object.assign(this.form, this.formData)
155 total 151 let { result: { list, total, pages: pageSize, pageNum: current }
152 } = await qltQlGjzwsyq.getQltQlGjzwsyqList(this.form)
153 this.tableData.data = list
154 this.pageData = {
155 pageSize,
156 current,
157 total
158 }
159 } catch (error) {
156 } 160 }
157 } catch (error) {
158 } 161 }
159 } 162 }
160 } 163 }
161 }
162 </script> 164 </script>
......
...@@ -80,94 +80,96 @@ ...@@ -80,94 +80,96 @@
80 </template> 80 </template>
81 81
82 <script> 82 <script>
83 // 海域(含无居民海岛)使用权 83 // 海域(含无居民海岛)使用权
84 import data from "./data" 84 import data from "./data"
85 import qlfQlHysyq from '@/api/qlfQlHysyq' 85 import qlfQlHysyq from '@/api/qlfQlHysyq'
86 import tableMixin from '@/mixins/tableMixin.js' 86 import tableMixin from '@/mixins/tableMixin.js'
87 import treeSelect from '@/components/TreeSelect.vue' 87 import treeSelect from '@/components/TreeSelect.vue'
88 export default { 88 export default {
89 name: "hysyq", 89 name: "hysyq",
90 mixins: [tableMixin], 90 mixins: [tableMixin],
91 components: { 91 components: {
92 treeSelect 92 treeSelect
93 }, 93 },
94 data () { 94 data () {
95 return { 95 return {
96 form: { 96 form: {
97 XZQDM: '', 97 XZQDM: '',
98 QSZT: '', 98 QSZT: '',
99 ZL: '', 99 ZL: '',
100 BDCQZH: '', 100 BDCQZH: '',
101 QLR: '', 101 QLR: '',
102 DJLX: '', 102 DJLX: '',
103 HDMC: '', 103 HDMC: '',
104 ZJH: '', 104 ZJH: '',
105 currentPage: 1 105 currentPage: 1
106 }, 106 },
107 tableData: { 107 // 表格数据
108 columns: [{ 108 tableData: {
109 label: '序号', 109 columns: [{
110 type: 'index', 110 label: '序号',
111 width: '50', 111 type: 'index',
112 index: this.indexMethod, 112 width: '50',
113 }].concat(data.columns()).concat([ 113 index: this.indexMethod,
114 { 114 }].concat(data.columns()).concat([
115 label: "操作", 115 {
116 width: 80, 116 label: "操作",
117 fixed: "right", 117 width: 80,
118 render: (h, scope) => { 118 fixed: "right",
119 return ( 119 render: (h, scope) => {
120 <div> 120 return (
121 <el-button 121 <div>
122 type="text" 122 <el-button
123 class='btnColor' 123 type="text"
124 onClick={() => { 124 class='btnColor'
125 this.handleEdit(scope.row); 125 onClick={() => {
126 }} 126 this.handleEdit(scope.row);
127 > 127 }}
128 详情 128 >
129 </el-button> 129 详情
130 </div> 130 </el-button>
131 ); 131 </div>
132 );
133 },
132 }, 134 },
133 },
134 135
135 ]), 136 ]),
136 data: [] 137 data: []
137 }, 138 },
138 pageData: { 139 // 分页
139 total: 0, 140 pageData: {
140 pageSize: 15, 141 total: 0,
141 current: 1, 142 pageSize: 15,
142 }, 143 current: 1,
143 diaData: null, 144 },
144 bsmSjsb: '' 145 diaData: null,
145 } 146 bsmSjsb: ''
146 }, 147 }
147 methods: {
148 // 是否显示下拉框
149 isShowSelectOptions (e) {
150 if (!e) this.$refs.selectseaAreaQL.blur()
151 if (!e) this.$refs.selectseaAreaDJ.blur()
152 }, 148 },
153 async featchData () { 149 methods: {
154 try { 150 // 是否显示下拉框
155 this.form = Object.assign(this.form, this.formData) 151 isShowSelectOptions (e) {
156 let { result: { list, total, pages: pageSize, pageNum: current } 152 if (!e) this.$refs.selectseaAreaQL.blur()
157 } = await qlfQlHysyq.getQlfQlHysyqByConditon(this.form) 153 if (!e) this.$refs.selectseaAreaDJ.blur()
158 this.tableData.data = list 154 },
159 this.pageData = { 155 async featchData () {
160 pageSize, 156 try {
161 current, 157 this.form = Object.assign(this.form, this.formData)
162 total 158 let { result: { list, total, pages: pageSize, pageNum: current }
159 } = await qlfQlHysyq.getQlfQlHysyqByConditon(this.form)
160 this.tableData.data = list
161 this.pageData = {
162 pageSize,
163 current,
164 total
165 }
166 } catch (error) {
167 this.message = error
168 this.$refs.msg.messageShow()
163 } 169 }
164 } catch (error) {
165 this.message = error
166 this.$refs.msg.messageShow()
167 }
168 170
171 }
169 } 172 }
170 } 173 }
171 }
172 </script> 174 </script>
173 175
......
...@@ -73,105 +73,107 @@ ...@@ -73,105 +73,107 @@
73 </template> 73 </template>
74 74
75 <script> 75 <script>
76 // 建设用地、宅基地使用权 76 // 建设用地、宅基地使用权
77 import data from "./data" 77 import data from "./data"
78 import qlfQlJsydsyq from '@/api/qlfQlJsydsyq' 78 import qlfQlJsydsyq from '@/api/qlfQlJsydsyq'
79 import sjsbFunctionOper from '@/api/sjsbFunctionOper' 79 import sjsbFunctionOper from '@/api/sjsbFunctionOper'
80 import tableMixin from '@/mixins/tableMixin.js' 80 import tableMixin from '@/mixins/tableMixin.js'
81 import treeSelect from '@/components/TreeSelect.vue' 81 import treeSelect from '@/components/TreeSelect.vue'
82 export default { 82 export default {
83 name: "jsydzjdsyq", 83 name: "jsydzjdsyq",
84 mixins: [tableMixin], 84 mixins: [tableMixin],
85 components: { 85 components: {
86 treeSelect 86 treeSelect
87 }, 87 },
88 data () { 88 data () {
89 return { 89 return {
90 form: { 90 form: {
91 XZQDM: '', 91 XZQDM: '',
92 QSZT: '', 92 QSZT: '',
93 ZL: '', 93 ZL: '',
94 QLR: '', 94 QLR: '',
95 DJLX: '', 95 DJLX: '',
96 BDCQZH: '', 96 BDCQZH: '',
97 ZJH: '', 97 ZJH: '',
98 currentPage: 1 98 currentPage: 1
99 }, 99 },
100 tableData: { 100 // 表格数据
101 columns: [{ 101 tableData: {
102 label: '序号', 102 columns: [{
103 type: 'index', 103 label: '序号',
104 width: '50', 104 type: 'index',
105 index: this.indexMethod, 105 width: '50',
106 }].concat(data.columns()).concat([ 106 index: this.indexMethod,
107 { 107 }].concat(data.columns()).concat([
108 label: "操作", 108 {
109 width: 80, 109 label: "操作",
110 fixed: "right", 110 width: 80,
111 render: (h, scope) => { 111 fixed: "right",
112 return ( 112 render: (h, scope) => {
113 <div> 113 return (
114 <el-button 114 <div>
115 type="text" 115 <el-button
116 class='btnColor' 116 type="text"
117 onClick={() => { 117 class='btnColor'
118 this.handleEdit(scope.row); 118 onClick={() => {
119 }} 119 this.handleEdit(scope.row);
120 > 120 }}
121 详情 121 >
122 </el-button> 122 详情
123 </div> 123 </el-button>
124 ); 124 </div>
125 );
126 },
125 }, 127 },
126 },
127 128
128 ]), 129 ]),
129 data: [], 130 data: [],
131 },
132 // 分页
133 pageData: {
134 total: 0,
135 pageSize: 15,
136 current: 1,
137 },
138 diaData: null,
139 bsmSjsb: ''
140 }
141 },
142 methods: {
143 // 是否显示下拉框
144 isShowSelectOptions (e) {
145 if (!e) this.$refs.selectbuildQL.blur()
146 if (!e) this.$refs.selectbuildDJ.blur()
130 }, 147 },
131 pageData: { 148 async featchData () {
132 total: 0, 149 try {
133 pageSize: 15, 150 this.form = Object.assign(this.form, this.formData)
134 current: 1, 151 let { result: { list, total, pages: pageSize, pageNum: current }
152 } = await qlfQlJsydsyq.getQlfQlJsydsyqList(this.form)
153 this.tableData.data = list
154 this.pageData = {
155 pageSize,
156 current,
157 total
158 }
159 } catch (error) {
160 this.message = error
161 // this.$refs.msg.messageShow()
162 }
135 }, 163 },
136 diaData: null, 164 async handlDatadetails (index, row) {
137 bsmSjsb: '' 165 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
138 } 166 if (res != null) {
139 }, 167 this.diaData = res
140 methods: { 168 this.bsmSjsb = row.BSM_SJSB
141 // 是否显示下拉框 169 this.$store.dispatch('qlfQlJsydsyq/setEdit'); this.$refs.editLog.isShow()
142 isShowSelectOptions (e) { 170 } else {
143 if (!e) this.$refs.selectbuildQL.blur() 171 this.$message(message)
144 if (!e) this.$refs.selectbuildDJ.blur()
145 },
146 async featchData () {
147 try {
148 this.form = Object.assign(this.form, this.formData)
149 let { result: { list, total, pages: pageSize, pageNum: current }
150 } = await qlfQlJsydsyq.getQlfQlJsydsyqList(this.form)
151 this.tableData.data = list
152 this.pageData = {
153 pageSize,
154 current,
155 total
156 } 172 }
157 } catch (error) {
158 this.message = error
159 // this.$refs.msg.messageShow()
160 }
161 },
162 async handlDatadetails (index, row) {
163 let { result: res, message } = await sjsbFunctionOper.getQltFwFdcqYzByCondition(row.BSM_SJSB)
164 if (res != null) {
165 this.diaData = res
166 this.bsmSjsb = row.BSM_SJSB
167 this.$store.dispatch('qlfQlJsydsyq/setEdit'); this.$refs.editLog.isShow()
168 } else {
169 this.$message(message)
170 } 173 }
171 } 174 }
172 } 175 }
173 }
174 </script> 176 </script>
175 <style scoped lang="scss"> 177 <style scoped lang="scss">
176 @import "./index.scss"; 178 @import "./index.scss";
177 </style> 179 </style>
......
...@@ -70,84 +70,86 @@ ...@@ -70,84 +70,86 @@
70 </template> 70 </template>
71 71
72 <script> 72 <script>
73 // 林权 73 // 林权
74 import data from "./data" 74 import data from "./data"
75 import qltQlLq from '@/api/qltQlLq' 75 import qltQlLq from '@/api/qltQlLq'
76 import tableMixin from '@/mixins/tableMixin.js' 76 import tableMixin from '@/mixins/tableMixin.js'
77 import treeSelect from '@/components/TreeSelect.vue' 77 import treeSelect from '@/components/TreeSelect.vue'
78 export default { 78 export default {
79 name: "lq", 79 name: "lq",
80 mixins: [tableMixin], 80 mixins: [tableMixin],
81 components: { 81 components: {
82 treeSelect 82 treeSelect
83 }, 83 },
84 data () { 84 data () {
85 return { 85 return {
86 form: { 86 form: {
87 XZQDM: '', 87 XZQDM: '',
88 QSZT: '', 88 QSZT: '',
89 ZL: '', 89 ZL: '',
90 BDCDYH: '', 90 BDCDYH: '',
91 QLR: '', 91 QLR: '',
92 DJLX: '', 92 DJLX: '',
93 ZJH: '', 93 ZJH: '',
94 currentPage: 1 94 currentPage: 1
95 }, 95 },
96 tableData: { 96 // 表格数据
97 columns: [{ 97 tableData: {
98 label: '序号', 98 columns: [{
99 type: 'index', 99 label: '序号',
100 width: '50', 100 type: 'index',
101 index: this.indexMethod, 101 width: '50',
102 }].concat(data.columns()).concat([ 102 index: this.indexMethod,
103 { 103 }].concat(data.columns()).concat([
104 label: "操作", 104 {
105 width: 80, 105 label: "操作",
106 fixed: "right", 106 width: 80,
107 render: (h, scope) => { 107 fixed: "right",
108 return ( 108 render: (h, scope) => {
109 <div> 109 return (
110 <el-button 110 <div>
111 type="text" 111 <el-button
112 class='btnColor' 112 type="text"
113 onClick={() => { 113 class='btnColor'
114 this.handleEdit(scope.row); 114 onClick={() => {
115 }} 115 this.handleEdit(scope.row);
116 > 116 }}
117 详情 117 >
118 </el-button> 118 详情
119 </div> 119 </el-button>
120 ); 120 </div>
121 );
122 },
121 }, 123 },
122 },
123 124
124 ]), 125 ]),
125 data: [] 126 data: []
126 }, 127 },
127 pageData: { 128 // 分页
128 total: 0, 129 pageData: {
129 pageSize: 15, 130 total: 0,
130 current: 1, 131 pageSize: 15,
131 }, 132 current: 1,
132 diaData: null, 133 },
133 bsmSjsb: '' 134 diaData: null,
134 } 135 bsmSjsb: ''
135 }, 136 }
136 methods: { 137 },
137 async featchData () { 138 methods: {
138 try { 139 async featchData () {
139 this.form = Object.assign(this.form, this.formData) 140 try {
140 let { result: { list, total, pages: pageSize, pageNum: current } 141 this.form = Object.assign(this.form, this.formData)
141 } = await qltQlLq.getQltQlLqList(this.form) 142 let { result: { list, total, pages: pageSize, pageNum: current }
142 this.tableData.data = list 143 } = await qltQlLq.getQltQlLqList(this.form)
143 this.pageData = { 144 this.tableData.data = list
144 pageSize, 145 this.pageData = {
145 current, 146 pageSize,
146 total 147 current,
148 total
149 }
150 } catch (error) {
147 } 151 }
148 } catch (error) {
149 } 152 }
150 } 153 }
151 } 154 }
152 }
153 </script> 155 </script>
......
...@@ -75,85 +75,87 @@ ...@@ -75,85 +75,87 @@
75 </template> 75 </template>
76 76
77 <script> 77 <script>
78 // 农用地使用权(非林地) 78 // 农用地使用权(非林地)
79 import data from "./data" 79 import data from "./data"
80 import qlfQlNydsyq from '@/api/qlfQlNydsyq' 80 import qlfQlNydsyq from '@/api/qlfQlNydsyq'
81 import tableMixin from '@/mixins/tableMixin.js' 81 import tableMixin from '@/mixins/tableMixin.js'
82 import treeSelect from '@/components/TreeSelect.vue' 82 import treeSelect from '@/components/TreeSelect.vue'
83 export default { 83 export default {
84 name: "nydsyq", 84 name: "nydsyq",
85 mixins: [tableMixin], 85 mixins: [tableMixin],
86 components: { 86 components: {
87 treeSelect 87 treeSelect
88 }, 88 },
89 data () { 89 data () {
90 return { 90 return {
91 form: { 91 form: {
92 XZQDM: '', 92 XZQDM: '',
93 QSZT: '', 93 QSZT: '',
94 ZL: '', 94 ZL: '',
95 BDCQZH: '', 95 BDCQZH: '',
96 QLR: '', 96 QLR: '',
97 QLLX: '', 97 QLLX: '',
98 xxx: '', 98 xxx: '',
99 ZJH: '', 99 ZJH: '',
100 currentPage: 1 100 currentPage: 1
101 }, 101 },
102 tableData: { 102 // 表格数据
103 columns: [{ 103 tableData: {
104 label: '序号', 104 columns: [{
105 type: 'index', 105 label: '序号',
106 width: '50', 106 type: 'index',
107 index: this.indexMethod, 107 width: '50',
108 }].concat(data.columns()).concat([ 108 index: this.indexMethod,
109 { 109 }].concat(data.columns()).concat([
110 label: "操作", 110 {
111 width: 80, 111 label: "操作",
112 fixed: "right", 112 width: 80,
113 render: (h, scope) => { 113 fixed: "right",
114 return ( 114 render: (h, scope) => {
115 <div> 115 return (
116 <el-button 116 <div>
117 type="text" 117 <el-button
118 class='btnColor' 118 type="text"
119 onClick={() => { 119 class='btnColor'
120 this.handleEdit(scope.row); 120 onClick={() => {
121 }} 121 this.handleEdit(scope.row);
122 > 122 }}
123 详情 123 >
124 </el-button> 124 详情
125 </div> 125 </el-button>
126 ); 126 </div>
127 );
128 },
127 }, 129 },
128 },
129 130
130 ]), 131 ]),
131 data: [] 132 data: []
132 }, 133 },
133 pageData: { 134 // 分页
134 total: 0, 135 pageData: {
135 pageSize: 15, 136 total: 0,
136 current: 1, 137 pageSize: 15,
137 }, 138 current: 1,
138 diaData: null, 139 },
139 bsmSjsb: '' 140 diaData: null,
140 } 141 bsmSjsb: ''
141 }, 142 }
142 methods: { 143 },
143 async featchData () { 144 methods: {
144 try { 145 async featchData () {
145 this.form = Object.assign(this.form, this.formData) 146 try {
146 let { result: { list, total, pages: pageSize, pageNum: current } 147 this.form = Object.assign(this.form, this.formData)
147 } = await qlfQlNydsyq.getQlfQlNydsyqByConditon(this.form) 148 let { result: { list, total, pages: pageSize, pageNum: current }
148 this.tableData.data = list 149 } = await qlfQlNydsyq.getQlfQlNydsyqByConditon(this.form)
149 this.pageData = { 150 this.tableData.data = list
150 pageSize, 151 this.pageData = {
151 current, 152 pageSize,
152 total 153 current,
154 total
155 }
156 } catch (error) {
153 } 157 }
154 } catch (error) {
155 } 158 }
156 } 159 }
157 } 160 }
158 }
159 </script> 161 </script>
......
...@@ -72,85 +72,87 @@ ...@@ -72,85 +72,87 @@
72 </template> 72 </template>
73 73
74 <script> 74 <script>
75 // 土地所有权 75 // 土地所有权
76 import data from "./data" 76 import data from "./data"
77 import qlfQlTdsyq from '@/api/qlfQlTdsyq' 77 import qlfQlTdsyq from '@/api/qlfQlTdsyq'
78 import tableMixin from '@/mixins/tableMixin.js' 78 import tableMixin from '@/mixins/tableMixin.js'
79 import treeSelect from '@/components/TreeSelect.vue' 79 import treeSelect from '@/components/TreeSelect.vue'
80 export default { 80 export default {
81 components: { 81 components: {
82 treeSelect 82 treeSelect
83 }, 83 },
84 name: "tdsyq", 84 name: "tdsyq",
85 mixins: [tableMixin], 85 mixins: [tableMixin],
86 data () { 86 data () {
87 return { 87 return {
88 form: { 88 form: {
89 XZQDM: '', 89 XZQDM: '',
90 QSZT: '', 90 QSZT: '',
91 ZL: '', 91 ZL: '',
92 QLR: '', 92 QLR: '',
93 DJLX: '', 93 DJLX: '',
94 BDCQZH: '', 94 BDCQZH: '',
95 ZJH: '', 95 ZJH: '',
96 currentPage: 1 96 currentPage: 1
97 }, 97 },
98 tableData: { 98 // 表格数据
99 columns: [{ 99 tableData: {
100 label: '序号', 100 columns: [{
101 type: 'index', 101 label: '序号',
102 width: '50', 102 type: 'index',
103 index: this.indexMethod, 103 width: '50',
104 }].concat(data.columns()).concat([ 104 index: this.indexMethod,
105 { 105 }].concat(data.columns()).concat([
106 label: "操作", 106 {
107 width: 80, 107 label: "操作",
108 fixed: "right", 108 width: 80,
109 render: (h, scope) => { 109 fixed: "right",
110 return ( 110 render: (h, scope) => {
111 <div> 111 return (
112 <el-button 112 <div>
113 type="text" 113 <el-button
114 class='btnColor' 114 type="text"
115 onClick={() => { 115 class='btnColor'
116 this.handleEdit(scope.row); 116 onClick={() => {
117 }} 117 this.handleEdit(scope.row);
118 > 118 }}
119 详情 119 >
120 </el-button> 120 详情
121 </div> 121 </el-button>
122 ); 122 </div>
123 );
124 },
123 }, 125 },
124 },
125 126
126 ]), 127 ]),
127 data: [] 128 data: []
128 }, 129 },
129 pageData: { 130 // 分页
130 total: 0, 131 pageData: {
131 pageSize: 15, 132 total: 0,
132 current: 1, 133 pageSize: 15,
133 }, 134 current: 1,
134 diaData: null, 135 },
135 } 136 diaData: null,
136 }, 137 }
137 methods: { 138 },
138 async featchData () { 139 methods: {
139 try { 140 async featchData () {
140 this.form = Object.assign(this.form, this.formData) 141 try {
141 let { result: { list, total, pages: pageSize, pageNum: current } 142 this.form = Object.assign(this.form, this.formData)
142 } = await qlfQlTdsyq.getQlfQlTdsyqList(this.form) 143 let { result: { list, total, pages: pageSize, pageNum: current }
143 this.tableData.data = list 144 } = await qlfQlTdsyq.getQlfQlTdsyqList(this.form)
144 this.pageData = { 145 this.tableData.data = list
145 pageSize, 146 this.pageData = {
146 current, 147 pageSize,
147 total 148 current,
149 total
150 }
151 } catch (error) {
152 this.message = error
153 // this.$refs.msg.messageShow()
148 } 154 }
149 } catch (error) {
150 this.message = error
151 // this.$refs.msg.messageShow()
152 } 155 }
153 } 156 }
154 } 157 }
155 }
156 </script> 158 </script>
......
...@@ -74,88 +74,90 @@ ...@@ -74,88 +74,90 @@
74 </template> 74 </template>
75 75
76 <script> 76 <script>
77 // 预告登记 77 // 预告登记
78 import data from "./data" 78 import data from "./data"
79 import qlfQlYgdj from '@/api/qlfQlYgdj' 79 import qlfQlYgdj from '@/api/qlfQlYgdj'
80 import tableMixin from '@/mixins/tableMixin.js' 80 import tableMixin from '@/mixins/tableMixin.js'
81 import treeSelect from '@/components/TreeSelect.vue' 81 import treeSelect from '@/components/TreeSelect.vue'
82 export default { 82 export default {
83 name: "ygdj", 83 name: "ygdj",
84 mixins: [tableMixin], 84 mixins: [tableMixin],
85 components: { 85 components: {
86 treeSelect, 86 treeSelect,
87 }, 87 },
88 data () { 88 data () {
89 return { 89 return {
90 form: { 90 form: {
91 XZQDM: '', 91 XZQDM: '',
92 QSZT: '', 92 QSZT: '',
93 BDCQZH: '', 93 BDCQZH: '',
94 YWH: '', 94 YWH: '',
95 95
96 YGDJZL: '', 96 YGDJZL: '',
97 DJLX: '', 97 DJLX: '',
98 BDCDYH: '', 98 BDCDYH: '',
99 ZJH: '', 99 ZJH: '',
100 currentPage: 1 100 currentPage: 1
101 }, 101 },
102 tableData: { 102 // 表格数据
103 columns: [{ 103 tableData: {
104 label: '序号', 104 columns: [{
105 type: 'index', 105 label: '序号',
106 width: '50', 106 type: 'index',
107 index: this.indexMethod, 107 width: '50',
108 }].concat(data.columns()).concat([ 108 index: this.indexMethod,
109 { 109 }].concat(data.columns()).concat([
110 label: "操作", 110 {
111 width: 80, 111 label: "操作",
112 fixed: "right", 112 width: 80,
113 render: (h, scope) => { 113 fixed: "right",
114 return ( 114 render: (h, scope) => {
115 <div> 115 return (
116 <el-button 116 <div>
117 type="text" 117 <el-button
118 class='btnColor' 118 type="text"
119 onClick={() => { this.handleEdit(scope.row) }} 119 class='btnColor'
120 > 120 onClick={() => { this.handleEdit(scope.row) }}
121 详情 121 >
122 </el-button> 122 详情
123 </div> 123 </el-button>
124 ) 124 </div>
125 )
126 }
125 } 127 }
126 } 128 ]),
127 ]), 129 data: []
128 data: [] 130 },
129 }, 131 // 分页
130 pageData: { 132 pageData: {
131 total: 0, 133 total: 0,
132 pageSize: 15, 134 pageSize: 15,
133 current: 1, 135 current: 1,
134 }, 136 },
135 diaData: null, 137 diaData: null,
136 bsmSjsb: '' 138 bsmSjsb: ''
137 } 139 }
138 },
139 methods: {
140 // 是否显示下拉框
141 isShowSelectOptions (e) {
142 if (!e) this.$refs.selectnoticeRegQL.blur()
143 if (!e) this.$refs.selectnoticeRegDJ.blur()
144 }, 140 },
145 async featchData () { 141 methods: {
146 try { 142 // 是否显示下拉框
147 let { result: { list, total, pages: pageSize, pageNum: current } 143 isShowSelectOptions (e) {
148 } = await qlfQlYgdj.getQlfQlYgdjList(this.form) 144 if (!e) this.$refs.selectnoticeRegQL.blur()
149 this.tableData.data = list 145 if (!e) this.$refs.selectnoticeRegDJ.blur()
150 this.pageData = { 146 },
151 pageSize, 147 async featchData () {
152 current, 148 try {
153 total 149 let { result: { list, total, pages: pageSize, pageNum: current }
150 } = await qlfQlYgdj.getQlfQlYgdjList(this.form)
151 this.tableData.data = list
152 this.pageData = {
153 pageSize,
154 current,
155 total
156 }
157 } catch (error) {
158 this.$refs.msg.messageShow()
154 } 159 }
155 } catch (error) {
156 this.$refs.msg.messageShow()
157 } 160 }
158 } 161 }
159 } 162 }
160 }
161 </script> 163 </script>
......
...@@ -72,90 +72,92 @@ ...@@ -72,90 +72,92 @@
72 </template> 72 </template>
73 73
74 <script> 74 <script>
75 // 异议登记 75 // 异议登记
76 import data from "./data" 76 import data from "./data"
77 import qlfQlYydj from '@/api/qlfQlYydj' 77 import qlfQlYydj from '@/api/qlfQlYydj'
78 import tableMixin from '@/mixins/tableMixin.js' 78 import tableMixin from '@/mixins/tableMixin.js'
79 import treeSelect from '@/components/TreeSelect.vue' 79 import treeSelect from '@/components/TreeSelect.vue'
80 export default { 80 export default {
81 name: "yydj", 81 name: "yydj",
82 mixins: [tableMixin], 82 mixins: [tableMixin],
83 components: { 83 components: {
84 treeSelect 84 treeSelect
85 }, 85 },
86 data () { 86 data () {
87 return { 87 return {
88 form: { 88 form: {
89 XZQDM: '', 89 XZQDM: '',
90 QSZT: '', 90 QSZT: '',
91 ZL: '', 91 ZL: '',
92 BDCQZH: '', 92 BDCQZH: '',
93 QLR: '', 93 QLR: '',
94 BDCDYH: '', 94 BDCDYH: '',
95 ZJH: '', 95 ZJH: '',
96 currentPage: 1 96 currentPage: 1
97 }, 97 },
98 tableData: { 98 // 表格数据
99 columns: [{ 99 tableData: {
100 label: '序号', 100 columns: [{
101 type: 'index', 101 label: '序号',
102 width: '50', 102 type: 'index',
103 index: this.indexMethod, 103 width: '50',
104 }].concat(data.columns()).concat([ 104 index: this.indexMethod,
105 { 105 }].concat(data.columns()).concat([
106 label: "操作", 106 {
107 width: 80, 107 label: "操作",
108 fixed: "right", 108 width: 80,
109 render: (h, scope) => { 109 fixed: "right",
110 return ( 110 render: (h, scope) => {
111 <div> 111 return (
112 <el-button 112 <div>
113 type="text" 113 <el-button
114 class='btnColor' 114 type="text"
115 onClick={() => { this.handleEdit(scope.row) }} 115 class='btnColor'
116 > 116 onClick={() => { this.handleEdit(scope.row) }}
117 详情 117 >
118 </el-button> 118 详情
119 </div> 119 </el-button>
120 ) 120 </div>
121 )
122 }
121 } 123 }
122 } 124 ]),
123 ]), 125 data: []
124 data: [] 126 },
125 }, 127 // 分页
126 pageData: { 128 pageData: {
127 total: 0, 129 total: 0,
128 pageSize: 15, 130 pageSize: 15,
129 current: 1, 131 current: 1,
130 }, 132 },
131 diaData: null, 133 diaData: null,
132 bsmSjsb: '' 134 bsmSjsb: ''
133 } 135 }
134 },
135 methods: {
136 // 是否显示下拉框
137 isShowSelectOptions (e) {
138 if (!e) this.$refs.selectobjectionRegQL.blur()
139 if (!e) this.$refs.selectobjectionRegDJ.blur()
140 }, 136 },
141 async featchData () { 137 methods: {
142 try { 138 // 是否显示下拉框
143 this.form = Object.assign(this.form, this.formData) 139 isShowSelectOptions (e) {
144 let { result: { list, total, pages: pageSize, pageNum: current } 140 if (!e) this.$refs.selectobjectionRegQL.blur()
145 } = await qlfQlYydj.getQlfQlYydjList(this.form) 141 if (!e) this.$refs.selectobjectionRegDJ.blur()
146 this.tableData.data = list 142 },
147 this.pageData = { 143 async featchData () {
148 pageSize, 144 try {
149 current, 145 this.form = Object.assign(this.form, this.formData)
150 total 146 let { result: { list, total, pages: pageSize, pageNum: current }
147 } = await qlfQlYydj.getQlfQlYydjList(this.form)
148 this.tableData.data = list
149 this.pageData = {
150 pageSize,
151 current,
152 total
153 }
154 } catch (error) {
155 this.message = error
156 this.$refs.msg.messageShow()
151 } 157 }
152 } catch (error) { 158 },
153 this.message = error 159 handledetails (index, row) {
154 this.$refs.msg.messageShow()
155 } 160 }
156 },
157 handledetails (index, row) {
158 } 161 }
159 } 162 }
160 }
161 </script> 163 </script>
......
...@@ -63,79 +63,81 @@ ...@@ -63,79 +63,81 @@
63 </template> 63 </template>
64 64
65 <script> 65 <script>
66 // 注销登记 66 // 注销登记
67 import data from "./data" 67 import data from "./data"
68 import qlfQlZxdj from '@/api/qlfQlZxdj' 68 import qlfQlZxdj from '@/api/qlfQlZxdj'
69 import tableMixin from '@/mixins/tableMixin.js' 69 import tableMixin from '@/mixins/tableMixin.js'
70 export default { 70 export default {
71 name: "cancellationReg", 71 name: "cancellationReg",
72 mixins: [tableMixin], 72 mixins: [tableMixin],
73 data () { 73 data () {
74 return { 74 return {
75 form: { 75 form: {
76 XZQDM: '', 76 XZQDM: '',
77 QSZT: '', 77 QSZT: '',
78 ZL: '', 78 ZL: '',
79 BDCQZH: '', 79 BDCQZH: '',
80 QLR: '', 80 QLR: '',
81 QLLX: '', 81 QLLX: '',
82 BDCDYH: '', 82 BDCDYH: '',
83 ZJH: '', 83 ZJH: '',
84 currentPage: 1 84 currentPage: 1
85 }, 85 },
86 tableData: { 86 // 表格数据
87 columns: [{ 87 tableData: {
88 label: '序号', 88 columns: [{
89 type: 'index', 89 label: '序号',
90 width: '50', 90 type: 'index',
91 index: this.indexMethod, 91 width: '50',
92 }].concat(data.columns()).concat([ 92 index: this.indexMethod,
93 { 93 }].concat(data.columns()).concat([
94 label: "操作", 94 {
95 width: 80, 95 label: "操作",
96 fixed: "right", 96 width: 80,
97 render: (h, scope) => { 97 fixed: "right",
98 return ( 98 render: (h, scope) => {
99 <div> 99 return (
100 <el-button 100 <div>
101 type="text" 101 <el-button
102 class='btnColor' 102 type="text"
103 onClick={() => { 103 class='btnColor'
104 this.handleEdit(scope.row); 104 onClick={() => {
105 }} 105 this.handleEdit(scope.row);
106 > 106 }}
107 详情 107 >
108 </el-button> 108 详情
109 </div> 109 </el-button>
110 ); 110 </div>
111 );
112 },
111 }, 113 },
112 },
113 114
114 ]), 115 ]),
115 data: [] 116 data: []
116 }, 117 },
117 pageData: { 118 // 分页
118 total: 0, 119 pageData: {
119 pageSize: 15, 120 total: 0,
120 current: 1, 121 pageSize: 15,
122 current: 1,
123 }
121 } 124 }
122 } 125 },
123 }, 126 methods: {
124 methods: { 127 async featchData () {
125 async featchData () { 128 try {
126 try { 129 this.form = Object.assign(this.form, this.formData)
127 this.form = Object.assign(this.form, this.formData) 130 let { result: { list, total, pages: pageSize, pageNum: current }
128 let { result: { list, total, pages: pageSize, pageNum: current } 131 } = await qlfQlZxdj.getQlfQlZxdjList(this.form)
129 } = await qlfQlZxdj.getQlfQlZxdjList(this.form) 132 this.tableData.data = list
130 this.tableData.data = list 133 this.pageData = {
131 this.pageData = { 134 pageSize,
132 pageSize, 135 current,
133 current, 136 total
134 total 137 }
138 } catch (error) {
135 } 139 }
136 } catch (error) {
137 } 140 }
138 } 141 }
139 } 142 }
140 }
141 </script> 143 </script>
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
101 ] 101 ]
102 }, 102 },
103 // 表格数据 103 // 表格数据
104 tableData: { 104 tableData: {
105 // 表格头部 105 // 表格头部
106 columns: [ 106 columns: [
107 { 107 {
......
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
99 ] 99 ]
100 }, 100 },
101 // 表格数据 101 // 表格数据
102 tableData: { 102 tableData: {
103 // 表格头部 103 // 表格头部
104 columns: [ 104 columns: [
105 { 105 {
......
...@@ -110,8 +110,8 @@ export default { ...@@ -110,8 +110,8 @@ export default {
110 { required: true, message: "请选择结束日期", trigger: "change" }, 110 { required: true, message: "请选择结束日期", trigger: "change" },
111 ] 111 ]
112 }, 112 },
113 // 表格数据 113 // 表格数据
114 tableData: { 114 tableData: {
115 // 表格头部 115 // 表格头部
116 columns: [ 116 columns: [
117 { 117 {
......
1 <template> 1 <template>
2 <!-- 修改登簿日志弹窗 -->
2 <el-dialog :close-on-click-modal="false" top="0" @close="closeDialog" 3 <el-dialog :close-on-click-modal="false" top="0" @close="closeDialog"
3 custom-class="dialogBox entryJournal commonDialog editDialogBox mainCenter" :visible.sync="dialogVisible" width="90%"> 4 custom-class="dialogBox entryJournal commonDialog editDialogBox mainCenter" :visible.sync="dialogVisible" width="90%">
4 <div slot="title" class="dialog_title" ref="dialogTitle"> 5 <div slot="title" class="dialog_title" ref="dialogTitle">
...@@ -283,9 +284,11 @@ export default { ...@@ -283,9 +284,11 @@ export default {
283 } 284 }
284 }, 285 },
285 methods: { 286 methods: {
287 // 关闭弹框事件
286 closeDialog () { 288 closeDialog () {
287 this.dialogVisible = false; 289 this.dialogVisible = false;
288 }, 290 },
291 // 展示弹框
289 isShow (item) { 292 isShow (item) {
290 this.title = '登薄日志(' + item.ACCESSDATE + ')' 293 this.title = '登薄日志(' + item.ACCESSDATE + ')'
291 this.titleName = 'sjmx' 294 this.titleName = 'sjmx'
......
...@@ -52,110 +52,110 @@ ...@@ -52,110 +52,110 @@
52 </div> 52 </div>
53 </template> 53 </template>
54 <script> 54 <script>
55 // 登簿日志查询 55 // 登簿日志查询
56 // 引入列表数据 56 // 引入列表数据
57 import { datas, sendThis } from "./data" 57 import { datas, sendThis } from "./data"
58 // 引入表格混入方法 58 // 引入表格混入方法
59 import tableMixin from "@/mixins/tableMixin.js"; 59 import tableMixin from "@/mixins/tableMixin.js";
60 import { getRecordLogPage } from "@/api/recordLog.js"; 60 import { getRecordLogPage } from "@/api/recordLog.js";
61 import { mapGetters } from 'vuex' 61 import { mapGetters } from 'vuex'
62 //引入日期处理方法 62 //引入日期处理方法
63 import { timeFormat } from "@/utils/operation"; 63 import { timeFormat } from "@/utils/operation";
64 // 引入弹框组件 64 // 引入弹框组件
65 import editDialog from '../components/editDialog.vue' 65 import editDialog from '../components/editDialog.vue'
66 export default { 66 export default {
67 components: { 67 components: {
68 editDialog 68 editDialog
69 }, 69 },
70 name: "dbrzcx", 70 name: "dbrzcx",
71 mixins: [tableMixin], 71 mixins: [tableMixin],
72 computed: { 72 computed: {
73 ...mapGetters(['dicData']) 73 ...mapGetters(['dicData'])
74 }, 74 },
75 data () { 75 data () {
76 return { 76 return {
77 // 开始结束日期限制 77 // 开始结束日期限制
78 pickerOptionsStart: { 78 pickerOptionsStart: {
79 disabledDate: (time) => { 79 disabledDate: (time) => {
80 if (this.form.endTime) { 80 if (this.form.endTime) {
81 return time.getTime() >= new Date(this.form.endTime).getTime() 81 return time.getTime() >= new Date(this.form.endTime).getTime()
82 }
82 } 83 }
83 } 84 },
84 }, 85 // 结束日期限制
85 // 结束日期限制 86 pickerOptionsEnd: {
86 pickerOptionsEnd: { 87 disabledDate: (time) => {
87 disabledDate: (time) => { 88 if (this.form.startTime) {
88 if (this.form.startTime) { 89 return time.getTime() < new Date(this.form.startTime).getTime()
89 return time.getTime() < new Date(this.form.startTime).getTime() 90 }
90 } 91 }
92 },
93 // 表单
94 form: {
95 areacode: '',
96 startTime: '',
97 endTime: '',
98 currentPage: 1
99 },
100 // 分页
101 pageData: {
102 total: 0,
103 pageSize: 10,
104 current: 1
105 },
106 // 表格数据
107 tableData: {
108 // 表头
109 columns: [
110 {
111 label: "序号",
112 type: "index",
113 width: "50",
114 index: this.indexMethod,
115 }
116 ]
117 .concat(datas.columns()),
118 // 列表
119 data: [],
120 total: 0,
91 } 121 }
122 }
123 },
124 mounted () {
125 sendThis(this);
126 },
127 methods: {
128 //截止日期变化
129 endTimeChange (val) {
130 this.form.endTime = timeFormat(new Date(val), true)
92 }, 131 },
93 // 表单 132 featchData () {
94 form: { 133 getRecordLogPage({ ...this.form }).then(res => {
95 areacode: '', 134 if (res.code === 200) {
96 startTime: '', 135 let { records, total, current } = res.result
97 endTime: '', 136 this.tableData.data = records ? records : []
98 currentPage: 1 137 this.tableData.total = total ? total : 0
138 this.pageData.current = current
139 }
140 })
99 }, 141 },
100 // 分页 142 // 重置
101 pageData: { 143 resetForm () {
102 total: 0, 144 this.$refs.ruleForm.resetFields();
103 pageSize: 10, 145 this.form.currentPage = 1
104 current: 1 146 this.featchData();
105 }, 147 },
106 // table数据 148 // 编辑
107 tableData: { 149 handleEdit (row) {
108 // 表头 150 this.$refs.editLog.isShow(row);
109 columns: [ 151 this.$store.dispatch('business/setReportLogEdit')
110 {
111 label: "序号",
112 type: "index",
113 width: "50",
114 index: this.indexMethod,
115 }
116 ]
117 .concat(datas.columns()),
118 // 列表
119 data: [],
120 total: 0,
121 } 152 }
122 }
123 },
124 mounted () {
125 sendThis(this);
126 },
127 methods: {
128 //截止日期变化
129 endTimeChange (val) {
130 this.form.endTime = timeFormat(new Date(val), true)
131 },
132 featchData () {
133 getRecordLogPage({ ...this.form }).then(res => {
134 if (res.code === 200) {
135 let { records, total, current } = res.result
136 this.tableData.data = records ? records : []
137 this.tableData.total = total ? total : 0
138 this.pageData.current = current
139 }
140 })
141 },
142 // 重置
143 resetForm () {
144 this.$refs.ruleForm.resetFields();
145 this.form.currentPage = 1
146 this.featchData();
147 }, 153 },
148 // 编辑 154 destroyed () {
149 handleEdit (row) { 155 this.$store.dispatch('business/setEdit')
150 this.$refs.editLog.isShow(row);
151 this.$store.dispatch('business/setReportLogEdit')
152 } 156 }
153 },
154 destroyed () {
155 this.$store.dispatch('business/setEdit')
156 } 157 }
157 }
158 </script> 158 </script>
159 <style scoped lang="scss"> 159 <style scoped lang="scss">
160 @import "./index.scss"; 160 @import "./index.scss";
161 </style> 161 </style>
......
...@@ -85,160 +85,160 @@ ...@@ -85,160 +85,160 @@
85 </div> 85 </div>
86 </template> 86 </template>
87 <script> 87 <script>
88 // 上报报文查询 88 // 上报报文查询
89 // 引入表头数据 89 // 引入表头数据
90 import { datas, sendThis } from "./data"; 90 import { datas, sendThis } from "./data";
91 // 引入表格混入方法 91 // 引入表格混入方法
92 import tableMixin from "@/mixins/tableMixin.js"; 92 import tableMixin from "@/mixins/tableMixin.js";
93 // 引入详情弹框 93 // 引入详情弹框
94 import dataDetails from "@/components/EditDialog"; 94 import dataDetails from "@/components/EditDialog";
95 import { getDataReportPage } from "@/api/dataReport.js"; 95 import { getDataReportPage } from "@/api/dataReport.js";
96 //引入日期处理方法 96 //引入日期处理方法
97 import { timeFormat } from "@/utils/operation"; 97 import { timeFormat } from "@/utils/operation";
98 export default { 98 export default {
99 name: "sbbwcx", 99 name: "sbbwcx",
100 mixins: [tableMixin], 100 mixins: [tableMixin],
101 // 注册组件 101 // 注册组件
102 components: { 102 components: {
103 dataDetails, 103 dataDetails,
104 }, 104 },
105 data () { 105 data () {
106 return { 106 return {
107 isShow: false, 107 isShow: false,
108 // 开始结束日期限制 108 // 开始结束日期限制
109 pickerOptionsStart: { 109 pickerOptionsStart: {
110 disabledDate: (time) => { 110 disabledDate: (time) => {
111 if (this.form.exchangeEndTime) { 111 if (this.form.exchangeEndTime) {
112 return time.getTime() >= new Date(this.form.exchangeEndTime).getTime(); 112 return time.getTime() >= new Date(this.form.exchangeEndTime).getTime();
113 } 113 }
114 },
114 }, 115 },
115 }, 116 // 结束日期限制
116 // 结束日期限制 117 pickerOptionsEnd: {
117 pickerOptionsEnd: { 118 disabledDate: (time) => {
118 disabledDate: (time) => { 119 if (this.form.exchangeStartTime) {
119 if (this.form.exchangeStartTime) { 120 return time.getTime() < new Date(this.form.exchangeStartTime).getTime();
120 return time.getTime() < new Date(this.form.exchangeStartTime).getTime(); 121 }
121 } 122 },
122 }, 123 },
123 }, 124 // 头部搜索
124 // 头部搜索 125 form: {
125 form: { 126 qxdm: "", // 行政区
126 qxdm: "", // 行政区 127 exchangeStartTime: "", // 开始日期
127 exchangeStartTime: "", // 开始日期 128 exchangeEndTime: "", // 结束日期
128 exchangeEndTime: "", // 结束日期 129 hjjg: "", //汇交状态
129 hjjg: "", //汇交状态 130 bdcdyh: "", // 不动产单元号
130 bdcdyh: "", // 不动产单元号 131 ywh: "", // 业务号
131 ywh: "", // 业务号 132 qllx: "", // 权利类型
132 qllx: "", // 权利类型 133 djlx: "", // 登记类型
133 djlx: "", // 登记类型 134 jcjg: "", // 检查结果
134 jcjg: "", // 检查结果 135 rkjg: "", //入库结果
135 rkjg: "", //入库结果 136 currentPage: 1
136 currentPage: 1 137 },
137 }, 138 // 分页
138 // 分页 139 pageData: {
139 pageData: { 140 total: 0,
140 total: 0, 141 pageSize: 10,
141 pageSize: 10, 142 current: 1
142 current: 1 143 },
143 }, 144 // 表格数据
144 // table数据 145 tableData: {
145 tableData: { 146 // 表头数据
146 // 表头数据 147 columns: [
147 columns: [
148 {
149 label: "序号",
150 type: "index",
151 width: "50",
152 index: this.indexMethod,
153 }
154 ]
155 .concat(datas.columns().concat([
156 { 148 {
157 label: "操作", 149 label: "序号",
158 width: "80", 150 type: "index",
159 fixed: "right", 151 width: "50",
160 render: (h, scope) => { 152 index: this.indexMethod,
161 return (
162 <div>
163 {
164 scope.row.exchangeState == 2 ?
165 <el-button
166 type="text"
167 class='successColor'
168 onClick={() => {
169 this.handleDetail(scope.row);
170 }}
171 >
172 修改
173 </el-button> :
174 <el-button
175 class='btnColor'
176 type="text"
177 onClick={() => {
178 this.handleDetail(scope.row);
179 }}
180 >
181 详情
182 </el-button>
183 }
184
185 </div>
186 );
187 },
188 } 153 }
189 ])), 154 ]
190 total: 0, 155 .concat(datas.columns().concat([
191 data: [], 156 {
192 }, 157 label: "操作",
193 title: "", 158 width: "80",
194 }; 159 fixed: "right",
195 }, 160 render: (h, scope) => {
196 mounted () { 161 return (
197 sendThis(this); 162 <div>
198 }, 163 {
199 methods: { 164 scope.row.exchangeState == 2 ?
200 //截止日期变化 165 <el-button
201 endTimeChange (val) { 166 type="text"
202 this.form.exchangeEndTime = timeFormat(new Date(val), true) 167 class='successColor'
203 }, 168 onClick={() => {
204 // 初始化数据 169 this.handleDetail(scope.row);
205 featchData () { 170 }}
206 getDataReportPage({ ...this.form }).then((res) => { 171 >
207 if (res.code === 200) { 172 修改
208 let { total, records, current } = res.result; 173 </el-button> :
209 this.tableData.total = total; 174 <el-button
210 this.tableData.data = records ? records : []; 175 class='btnColor'
211 this.pageData.current = current 176 type="text"
212 } 177 onClick={() => {
213 }); 178 this.handleDetail(scope.row);
179 }}
180 >
181 详情
182 </el-button>
183 }
184
185 </div>
186 );
187 },
188 }
189 ])),
190 total: 0,
191 data: [],
192 },
193 title: "",
194 };
214 }, 195 },
215 // 上报 196 mounted () {
216 handleEscalation () { }, 197 sendThis(this);
217 // 详情
218 handleDetail (row) {
219 this.title = row.rectypeName;
220 this.$refs.editLog.isShow(row);
221 if (row.exchangeState == 2) {
222 this.$store.dispatch('business/setReportLogEdit')
223 } else {
224 this.$store.dispatch('business/setEdit')
225 }
226 }, 198 },
227 // 重置 199 methods: {
228 resetForm () { 200 //截止日期变化
229 this.$refs.ruleForm.resetFields(); 201 endTimeChange (val) {
230 this.form.exchangeEndTime = "" 202 this.form.exchangeEndTime = timeFormat(new Date(val), true)
231 this.form.currentPage = 1 203 },
232 this.featchData(); 204 // 初始化数据
205 featchData () {
206 getDataReportPage({ ...this.form }).then((res) => {
207 if (res.code === 200) {
208 let { total, records, current } = res.result;
209 this.tableData.total = total;
210 this.tableData.data = records ? records : [];
211 this.pageData.current = current
212 }
213 });
214 },
215 // 上报
216 handleEscalation () { },
217 // 详情
218 handleDetail (row) {
219 this.title = row.rectypeName;
220 this.$refs.editLog.isShow(row);
221 if (row.exchangeState == 2) {
222 this.$store.dispatch('business/setReportLogEdit')
223 } else {
224 this.$store.dispatch('business/setEdit')
225 }
226 },
227 // 重置
228 resetForm () {
229 this.$refs.ruleForm.resetFields();
230 this.form.exchangeEndTime = ""
231 this.form.currentPage = 1
232 this.featchData();
233 },
233 }, 234 },
234 }, 235 destroyed () {
235 destroyed () { 236 this.$store.dispatch('business/setEdit')
236 this.$store.dispatch('business/setEdit') 237 }
237 } 238 }
238 }
239 </script> 239 </script>
240 <style scoped lang="scss"> 240 <style scoped lang="scss">
241 // 引入页面公共样式 241 // 引入页面公共样式
242 @import "./index.scss"; 242 @import "./index.scss";
243 </style> 243 </style>
244 244
......
...@@ -146,12 +146,14 @@ ...@@ -146,12 +146,14 @@
146 } 146 }
147 }) 147 })
148 }, 148 },
149 // 重置
149 resetForm () { 150 resetForm () {
150 this.dialogForm = { 151 this.dialogForm = {
151 roleName: '', 152 roleName: '',
152 } 153 }
153 this.$refs.form.resetFields() 154 this.$refs.form.resetFields()
154 }, 155 },
156 // 关闭
155 close () { 157 close () {
156 this.resetForm() 158 this.resetForm()
157 this.$emit('input', false) 159 this.$emit('input', false)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-form ref="ruleForm" :model="form" label-width="100px"> 4 <el-form ref="ruleForm" :model="form" label-width="100px">
5 <!-- 判断进入监管还是上报系统 --> 5 <!-- 判断进入监管还是上报系统 -->
6 <el-form-item v-if="BASE_API.THEME=='jg'"> 6 <el-form-item v-if="BASE_API.THEME=='jg'">
7 <Breadcrumb /> 7 <Breadcrumb />
8 </el-form-item> 8 </el-form-item>
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
98 endTime: '', 98 endTime: '',
99 currentPage: 1 99 currentPage: 1
100 }, 100 },
101 // 表格数据
101 tableData: { 102 tableData: {
102 columns: [ 103 columns: [
103 { 104 {
......
1 <template> 1 <template>
2 <!-- 编辑 --> 2 <!-- 编辑 -->
3 <dialogBox ref="addTask" width="50%" :isMain="true" @submitForm="handleSubmit" @closeDialog="handleClose" 3 <dialogBox ref="addTask" class="scheduledtaskdialog" width="40%" :isMain="true" @submitForm="handleSubmit" @closeDialog="handleClose"
4 v-model="myValue" customClass="editValidRule" title="新增定时任务"> 4 v-model="myValue" customClass="editValidRule" title="新增定时任务">
5 <div class="dialogCon" style=""> 5 <div class="dialogCon" style="">
6 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> 6 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
7 <el-row :gutter="20"> 7 <el-row>
8 <el-col :span="12"> 8 <el-col>
9 <el-form-item label="任务名" prop="jobName"> 9 <el-form-item label="任务名" prop="jobName">
10 <el-input v-model="ruleForm.jobName" placeholder="任务名"></el-input> 10 <el-input v-model="ruleForm.jobName" placeholder="任务名"></el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="12"> 13 <el-col>
14 <el-form-item label="类名" prop="beanName"> 14 <el-form-item label="类名" prop="beanName">
15 <el-input v-model="ruleForm.beanName" placeholder="类名"></el-input> 15 <el-input v-model="ruleForm.beanName" placeholder="类名"></el-input>
16 </el-form-item> 16 </el-form-item>
17 </el-col> 17 </el-col>
18 </el-row> 18 <el-col>
19 <el-row :gutter="20">
20 <el-col :span="12">
21 <el-form-item label="cron表达式" prop="cronExpression"> 19 <el-form-item label="cron表达式" prop="cronExpression">
22 <el-input v-model="ruleForm.cronExpression" placeholder="cron表达式"></el-input> 20 <el-input v-model="ruleForm.cronExpression" placeholder="cron表达式"></el-input>
23 </el-form-item> 21 </el-form-item>
24 </el-col> 22 </el-col>
25 <el-col :span="12"> 23 <el-col>
26 <el-form-item label="方法名" prop="methodName"> 24 <el-form-item label="方法名" prop="methodName">
27 <el-input v-model="ruleForm.methodName" placeholder="方法名"></el-input> 25 <el-input v-model="ruleForm.methodName" placeholder="方法名"></el-input>
28 </el-form-item> 26 </el-form-item>
...@@ -31,7 +29,7 @@ ...@@ -31,7 +29,7 @@
31 <el-row :gutter="20"> 29 <el-row :gutter="20">
32 <el-col :span="24"> 30 <el-col :span="24">
33 <el-form-item label="任务描述" prop="remark"> 31 <el-form-item label="任务描述" prop="remark">
34 <el-input v-model="ruleForm.remark" type="textarea" :rows="2" placeholder="任务描述"></el-input> 32 <el-input v-model="ruleForm.remark" type="textarea" :rows="4" placeholder="任务描述"></el-input>
35 </el-form-item> 33 </el-form-item>
36 </el-col> 34 </el-col>
37 </el-row> 35 </el-row>
...@@ -42,110 +40,112 @@ ...@@ -42,110 +40,112 @@
42 </template> 40 </template>
43 41
44 <script> 42 <script>
45 import sjsbTask from '@/api/sjsbTask.js' 43 import sjsbTask from '@/api/sjsbTask.js'
46 export default { 44 export default {
47 props: { 45 props: {
48 value: { type: Boolean, default: false }, 46 value: { type: Boolean, default: false },
49 taskData: { 47 taskData: {
50 type: Object, 48 type: Object,
51 default: null 49 default: null
52 } 50 }
53 },
54 data () {
55 return {
56 myValue: this.value,
57 ruleForm: {
58 jobName: '',
59 cronExpression: '',
60 beanName: '',
61 methodName: '',
62 methodParams: '',
63 remark: ''
64 },
65 rules: {
66 jobName: [
67 { required: true, message: '任务名', trigger: 'blur' }
68 ],
69 cronExpression: [
70 { required: true, message: 'cron表达式', trigger: 'blur' }
71 ],
72 beanName: [
73 { required: true, message: '任务类名', trigger: 'blur' }
74 ],
75 methodName: [
76 { required: true, message: '任务方法名', trigger: 'blur' }
77 ]
78 },
79 message: ''
80 }
81 },
82 methods: {
83 handleSubmit () {
84 let _this = this
85 this.$refs['ruleForm'].validate(async (valid) => {
86 if (valid) {
87 if (!_this.taskData) {
88 try {
89 let res = await sjsbTask.sjsbTaskSave(_this.ruleForm)
90 if (res.code == 200) {
91 _this.loading = false
92 _this.$message({
93 message: res.message,
94 type: 'success'
95 })
96 _this.handleClose()
97 _this.$parent.featchData()
98 }
99 } catch (error) {
100 _this.message = error
101 _this.$refs.msg.messageShow()
102 }
103 } else {
104 try {
105 let res = await sjsbTask.updateCron(_this.ruleForm)
106 if (res.code == 200) {
107 _this.$message({
108 message: res.message,
109 type: 'success'
110 })
111 _this.handleClose()
112 _this.$parent.featchData()
113 }
114 } catch (error) {
115 _this.message = error
116 _this.$refs.msg.messageShow()
117 }
118 }
119 } else {
120 this.$message('请检查表单完整性')
121 return false;
122 }
123 })
124 },
125 handleClose () {
126 this.$emit("input", false);
127 }
128 },
129 watch: {
130 value (val) {
131 this.myValue = val
132 }, 51 },
133 taskData (val) { 52 data () {
134 if (val != null) { 53 return {
135 this.ruleForm = val 54 myValue: this.value,
136 } else { 55 ruleForm: {
137 this.ruleForm = {
138 jobName: '', 56 jobName: '',
139 cronExpression: '', 57 cronExpression: '',
140 beanName: '', 58 beanName: '',
141 methodName: '', 59 methodName: '',
142 methodParams: '', 60 methodParams: '',
143 remark: '' 61 remark: ''
62 },
63 rules: {
64 jobName: [
65 { required: true, message: '任务名', trigger: 'blur' }
66 ],
67 cronExpression: [
68 { required: true, message: 'cron表达式', trigger: 'blur' }
69 ],
70 beanName: [
71 { required: true, message: '任务类名', trigger: 'blur' }
72 ],
73 methodName: [
74 { required: true, message: '任务方法名', trigger: 'blur' }
75 ]
76 },
77 message: ''
78 }
79 },
80 methods: {
81 handleSubmit () {
82 let _this = this
83 this.$refs['ruleForm'].validate(async (valid) => {
84 if (valid) {
85 if (!_this.taskData) {
86 try {
87 let res = await sjsbTask.sjsbTaskSave(_this.ruleForm)
88 if (res.code == 200) {
89 _this.loading = false
90 _this.$message({
91 message: res.message,
92 type: 'success'
93 })
94 _this.handleClose()
95 _this.$parent.featchData()
96 }
97 } catch (error) {
98 _this.message = error
99 _this.$refs.msg.messageShow()
100 }
101 } else {
102 try {
103 let res = await sjsbTask.updateCron(_this.ruleForm)
104 if (res.code == 200) {
105 _this.$message({
106 message: res.message,
107 type: 'success'
108 })
109 _this.handleClose()
110 _this.$parent.featchData()
111 }
112 } catch (error) {
113 _this.message = error
114 _this.$refs.msg.messageShow()
115 }
116 }
117 } else {
118 this.$message('请检查表单完整性')
119 return false;
120 }
121 })
122 },
123 handleClose () {
124 this.$emit("input", false);
125 }
126 },
127 watch: {
128 value (val) {
129 this.myValue = val
130 },
131 taskData (val) {
132 if (val != null) {
133 this.ruleForm = val
134 } else {
135 this.ruleForm = {
136 jobName: '',
137 cronExpression: '',
138 beanName: '',
139 methodName: '',
140 methodParams: '',
141 remark: ''
142 }
144 } 143 }
145 } 144 }
146 } 145 }
147 } 146 }
148 }
149 </script> 147 </script>
150 148
151 149
150 <style scoped lang="scss">
151 </style>
......
...@@ -287,7 +287,6 @@ ...@@ -287,7 +287,6 @@
287 }); 287 });
288 }, 288 },
289 handleMinus (index, row) { 289 handleMinus (index, row) {
290 console.log(this.tableData, row.dictid, 'dictid');
291 removeTreeListItem(this.tableData, row.dictid, 'dictid'); 290 removeTreeListItem(this.tableData, row.dictid, 'dictid');
292 this.tableData = judgeSort(this.tableData) 291 this.tableData = judgeSort(this.tableData)
293 this.key++; 292 this.key++;
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
62 dcode: '', 62 dcode: '',
63 dname: '' 63 dname: ''
64 }, 64 },
65 // 表格数据
65 tableData: { 66 tableData: {
66 total: 0, 67 total: 0,
67 columns: datas.columns().concat([ 68 columns: datas.columns().concat([
......
1 <template> 1 <template>
2 <!-- 菜单添加编辑弹框 -->
2 <dialogBox class="PersonnelDialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm" 3 <dialogBox class="PersonnelDialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm"
3 v-model="myValue"> 4 v-model="myValue">
4 <div class="dialogCon"> 5 <div class="dialogCon">
...@@ -209,6 +210,7 @@ ...@@ -209,6 +210,7 @@
209 } 210 }
210 }) 211 })
211 }, 212 },
213 // 重置
212 resetForm () { 214 resetForm () {
213 this.$refs.form.resetFields() 215 this.$refs.form.resetFields()
214 this.form = { 216 this.form = {
...@@ -216,6 +218,7 @@ ...@@ -216,6 +218,7 @@
216 code: '' 218 code: ''
217 } 219 }
218 }, 220 },
221 // 关闭
219 close () { 222 close () {
220 this.resetForm() 223 this.resetForm()
221 this.$emit('input', false) 224 this.$emit('input', false)
......
1 <template> 1 <template>
2 <!-- 菜单管理 -->
2 <div class="from-clues"> 3 <div class="from-clues">
3 <div class="from-clues-header"> 4 <div class="from-clues-header">
4 <el-form ref="ruleForm" :model="form" label-width="100px"> 5 <el-form ref="ruleForm" :model="form" label-width="100px">
...@@ -29,16 +30,13 @@ ...@@ -29,16 +30,13 @@
29 </div> 30 </div>
30 </template> 31 </template>
31 <script> 32 <script>
32 // 定时任务
33 import data from "./data"; 33 import data from "./data";
34 import { deleteAction, getAction, api, httpAction } from "@/api/manageApi"; 34 import { deleteAction, getAction, api, httpAction } from "@/api/manageApi";
35 import EditDialog from "./edit-dialog.vue"; 35 import EditDialog from "./edit-dialog.vue";
36 import { mapGetters } from "vuex"; 36 import { mapGetters } from "vuex";
37 import { getMenuInfo } from "@/api/user"; 37 import { getMenuInfo } from "@/api/user";
38 import { updateOrder } from "@/api/orders" 38 import { updateOrder } from "@/api/orders"
39 import { 39 import { judgeSort } from "@/utils/operation";
40 judgeSort
41 } from "@/utils/operation";
42 export default { 40 export default {
43 name: "menus", 41 name: "menus",
44 components: { 42 components: {
...@@ -47,24 +45,14 @@ ...@@ -47,24 +45,14 @@
47 data () { 45 data () {
48 return { 46 return {
49 isDialog: false, 47 isDialog: false,
50 tablelistData: [], 48 tablelistData: [],//菜单数据
51 listData: [], 49 listData: [],
52 resourceCategoryId: "", 50 resourceCategoryId: "",
53 taskData: null,
54 form: { 51 form: {
55 menuName: "", 52 menuName: "",
56 }, 53 },
57 title: "", 54 title: "",//标题
58 queryParam: {}, 55 // 表格数据
59 selectType: "0",
60 queryName: "",
61 organizationId: "", // 组织机构ID
62 departmentId: "", // 部门ID
63 departmentList: [], // 部门列表
64 levelList: [], // 职务级别
65 sexList: [],
66
67 selectionList: [],
68 tableData: { 56 tableData: {
69 columns: [] 57 columns: []
70 .concat(data.columns()) 58 .concat(data.columns())
...@@ -172,6 +160,7 @@ ...@@ -172,6 +160,7 @@
172 this.getTableList() 160 this.getTableList()
173 } 161 }
174 }, 162 },
163 // 数据处理方法
175 childrenFn (arr, key) { 164 childrenFn (arr, key) {
176 const that = this; 165 const that = this;
177 let searchTree = []; 166 let searchTree = [];
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
28 clearable 28 clearable
29 :rows="10" 29 :rows="10"
30 type="textarea" 30 type="textarea"
31 maxlength="30"
31 placeholder="备注" /> 32 placeholder="备注" />
32 </el-form-item> 33 </el-form-item>
33 </el-col> 34 </el-col>
...@@ -60,7 +61,6 @@ ...@@ -60,7 +61,6 @@
60 return { 61 return {
61 myValue: this.value, 62 myValue: this.value,
62 title: '', 63 title: '',
63 showAddEditDialog: false,
64 menuType: '', 64 menuType: '',
65 roleId: '', 65 roleId: '',
66 sort: 0, 66 sort: 0,
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 this.dialogForm = { 110 this.dialogForm = {
111 roleName: '', 111 roleName: '',
112 } 112 }
113 // this.showAddEditDialog = val 113
114 this.$emit('ok') 114 this.$emit('ok')
115 } else { 115 } else {
116 this.$message.error({ 116 this.$message.error({
...@@ -130,7 +130,6 @@ ...@@ -130,7 +130,6 @@
130 this.close() 130 this.close()
131 131
132 this.$emit('ok') 132 this.$emit('ok')
133 // this.showAddEditDialog = val
134 this.$emit('ok', this.menuType) 133 this.$emit('ok', this.menuType)
135 } else { 134 } else {
136 this.$message.error({ 135 this.$message.error({
...@@ -146,12 +145,14 @@ ...@@ -146,12 +145,14 @@
146 } 145 }
147 }) 146 })
148 }, 147 },
148 // 重置
149 resetForm () { 149 resetForm () {
150 this.dialogForm = { 150 this.dialogForm = {
151 roleName: '', 151 roleName: '',
152 } 152 }
153 this.$refs.form.resetFields() 153 this.$refs.form.resetFields()
154 }, 154 },
155 // 关闭
155 close () { 156 close () {
156 this.resetForm() 157 this.resetForm()
157 this.$emit('input', false) 158 this.$emit('input', false)
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
103 ], 103 ],
104 104
105 selectionList: [], 105 selectionList: [],
106 // 表格数据
106 tableData: { 107 tableData: {
107 columns: [ 108 columns: [
108 { 109 {
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
53 return { 53 return {
54 title: "人员配置", 54 title: "人员配置",
55 visible: false, 55 visible: false,
56 // 菜单表格数据
56 menutableData: { 57 menutableData: {
57 column: [ 58 column: [
58 { 59 {
...@@ -83,6 +84,7 @@ ...@@ -83,6 +84,7 @@
83 }, 84 },
84 ]), 85 ]),
85 }, 86 },
87 // 人员表格数据
86 usertableData: { 88 usertableData: {
87 column: [ 89 column: [
88 { 90 {
......
...@@ -179,12 +179,14 @@ ...@@ -179,12 +179,14 @@
179 } 179 }
180 }) 180 })
181 }, 181 },
182 // 重置
182 resetForm () { 183 resetForm () {
183 this.form = { 184 this.form = {
184 sex: '0' 185 sex: '0'
185 } 186 }
186 this.$refs.form.resetFields() 187 this.$refs.form.resetFields()
187 }, 188 },
189 // 关闭
188 close () { 190 close () {
189 this.resetForm() 191 this.resetForm()
190 this.$emit('input', false) 192 this.$emit('input', false)
......
1 <template> 1 <template>
2 <!-- 人员管理 -->
2 <div class="from-clues"> 3 <div class="from-clues">
3 <div class="from-clues-header"> 4 <div class="from-clues-header">
4 <el-form ref="ruleForm" :model="form" label-width="100px"> 5 <el-form ref="ruleForm" :model="form" label-width="100px">
...@@ -65,21 +66,13 @@ export default { ...@@ -65,21 +66,13 @@ export default {
65 data () { 66 data () {
66 return { 67 return {
67 isDialog: false, 68 isDialog: false,
68 taskData: null,
69 keyList: [], 69 keyList: [],
70 form: { 70 form: {
71 loginName: "", 71 loginName: "",
72 name: "", 72 name: "",
73 code: "", 73 code: "",
74 }, 74 },
75 queryParam: {},
76 selectType: "0",
77 queryName: "",
78 organizationId: "", // 组织机构ID
79 departmentId: "", // 部门ID 75 departmentId: "", // 部门ID
80 departmentList: [], // 部门列表
81 levelList: [], // 职务级别
82 sexList: [],
83 typeOptions: [ 76 typeOptions: [
84 { 77 {
85 value: "0", 78 value: "0",
...@@ -100,7 +93,8 @@ export default { ...@@ -100,7 +93,8 @@ export default {
100 ], 93 ],
101 94
102 selectionList: [], 95 selectionList: [],
103 tableData: { 96 // 表格数据
97 tableData: {
104 columns: [ 98 columns: [
105 { 99 {
106 label: "序号", 100 label: "序号",
...@@ -375,7 +369,6 @@ export default { ...@@ -375,7 +369,6 @@ export default {
375 369
376 // 修改人员信息 370 // 修改人员信息
377 handleEdit (row) { 371 handleEdit (row) {
378 console.log("rowwwww", row);
379 this.isDialog = true 372 this.isDialog = true
380 this.$refs.dialogForm.edit(row); 373 this.$refs.dialogForm.edit(row);
381 this.$refs.dialogForm.title = "修改"; 374 this.$refs.dialogForm.title = "修改";
...@@ -390,6 +383,7 @@ export default { ...@@ -390,6 +383,7 @@ export default {
390 type: 'warning' 383 type: 'warning'
391 }) 384 })
392 .then(() => { 385 .then(() => {
386 删除传
393 deleteAction(`${api.users}/${id}`).then((res) => { 387 deleteAction(`${api.users}/${id}`).then((res) => {
394 if (res.status === 1) { 388 if (res.status === 1) {
395 this.$message.success({ message: res.message, showClose: true }) 389 this.$message.success({ message: res.message, showClose: true })
......
1 <template> 1 <template>
2 <!-- 字典管理 -->
2 <div class="dictionary-config from-clues"> 3 <div class="dictionary-config from-clues">
3 <div class="from-clues-header"> 4 <div class="from-clues-header">
4 <el-form ref="form" :model="form" label-width="90px"> 5 <el-form ref="form" :model="form" label-width="90px">
...@@ -42,162 +43,163 @@ ...@@ -42,162 +43,163 @@
42 </template> 43 </template>
43 44
44 <script> 45 <script>
45 // 字典 46 // 字典
46 import data from "./data"; 47 import data from "./data";
47 import tableMixin from "@/mixins/tableMixin.js"; 48 import tableMixin from "@/mixins/tableMixin.js";
48 import ruleConfig from "@/api/ruleConfig"; 49 import ruleConfig from "@/api/ruleConfig";
49 import editValidRule from "../components/editValidRule.vue"; 50 import editValidRule from "../components/editValidRule.vue";
50 export default { 51 export default {
51 name: "dictionary-config", 52 name: "dictionary-config",
52 mixins: [tableMixin], 53 mixins: [tableMixin],
53 components: { 54 components: {
54 editValidRule, 55 editValidRule,
55 }, 56 },
56 data () { 57 data () {
57 return { 58 return {
58 message: "", 59 message: "",
59 form: { 60 form: {
60 DATATABLE: "", 61 DATATABLE: "",
61 CHINESETABLE: "", 62 CHINESETABLE: "",
62 SOLEURL: "", 63 SOLEURL: "",
63 currentPage: 1, 64 currentPage: 1,
64 }, 65 },
65 preContent: "", 66 // 表格数据
66 tableData: { 67 tableData: {
67 columns: [ 68 columns: [
68 {
69 label: "序号",
70 type: "index",
71 width: "50",
72 index: this.indexMethod,
73 },
74 ]
75 .concat(data.columns())
76 .concat([
77 { 69 {
78 label: "操作", 70 label: "序号",
79 render: (h, scope) => { 71 type: "index",
80 return ( 72 width: "50",
81 <div> 73 index: this.indexMethod,
82 <el-button 74 },
83 type="text" 75 ]
84 size="mini" 76 .concat(data.columns())
85 icon="el-icon-edit" 77 .concat([
86 onClick={() => { 78 {
87 this.handleEdit(scope.$index, scope.row); 79 label: "操作",
88 }} 80 render: (h, scope) => {
89 > 81 return (
90 编辑 82 <div>
91 </el-button> 83 <el-button
84 type="text"
85 size="mini"
86 icon="el-icon-edit"
87 onClick={() => {
88 this.handleEdit(scope.$index, scope.row);
89 }}
90 >
91 编辑
92 </el-button>
92 93
93 <el-button 94 <el-button
94 type="text" 95 type="text"
95 size="mini" 96 size="mini"
96 icon="el-icon-delete" 97 icon="el-icon-delete"
97 style="color:#F56C6C" 98 style="color:#F56C6C"
98 onClick={() => { 99 onClick={() => {
99 this.handleDel(scope.$index, scope.row); 100 this.handleDel(scope.$index, scope.row);
100 }} 101 }}
101 > 102 >
102 删除 103 删除
103 </el-button> 104 </el-button>
104 </div> 105 </div>
105 ); 106 );
107 },
106 }, 108 },
107 }, 109 ]),
108 ]), 110 data: [],
109 data: [], 111 },
112 // 分页
113 pageData: {
114 total: 0,
115 pageSize: 15,
116 current: 1,
117 },
118 ruleData: null,
119 };
120 },
121 methods: {
122 async featchData () {
123 try {
124 this.form = Object.assign(this.form, this.formData);
125 let {
126 result: { list, total, pages: pageSize, pageNum: current },
127 } = await ruleConfig.getSysYwsjbList(this.form);
128 this.tableData.data = list;
129 this.pageData = {
130 pageSize,
131 current,
132 total,
133 };
134 } catch (error) {
135 this.message = error;
136 this.$refs.msg.messageShow();
137 }
110 }, 138 },
111 pageData: { 139 handleSearch () {
112 total: 0, 140 this.form.currentPage = 1
113 pageSize: 15, 141 this.tableData.data = []
114 current: 1, 142 this.featchData()
115 }, 143 },
116 ruleData: null, 144 async handleEdit (index, row) {
117 }; 145 try {
118 }, 146 let { result: res } = await ruleConfig.eidtConfigRule(row.BSM_YWSJB);
119 methods: { 147 this.ruleData = res;
120 async featchData () { 148 this.$refs.validRule.isShow();
121 try { 149 } catch (error) {
122 this.form = Object.assign(this.form, this.formData); 150 this.$alert(error, "提示", {
123 let { 151 confirmButtonText: "确定",
124 result: { list, total, pages: pageSize, pageNum: current }, 152 type: "error",
125 } = await ruleConfig.getSysYwsjbList(this.form); 153 });
126 this.tableData.data = list; 154 }
127 this.pageData = { 155 },
128 pageSize, 156 handleDel (index, row) {
129 current, 157 let _this = this;
130 total, 158 this.$confirm("此操作将进行删除校验规则, 是否继续?", "提示", {
131 }; 159 cancelButtonText: "取消",
132 } catch (error) {
133 this.message = error;
134 this.$refs.msg.messageShow();
135 }
136 },
137 handleSearch () {
138 this.form.currentPage = 1
139 this.tableData.data = []
140 this.featchData()
141 },
142 async handleEdit (index, row) {
143 try {
144 let { result: res } = await ruleConfig.eidtConfigRule(row.BSM_YWSJB);
145 this.ruleData = res;
146 this.$refs.validRule.isShow();
147 } catch (error) {
148 this.$alert(error, "提示", {
149 confirmButtonText: "确定", 160 confirmButtonText: "确定",
150 type: "error", 161 type: "warning",
151 }); 162 })
152 } 163 .then(async () => {
153 }, 164 try {
154 handleDel (index, row) { 165 let res =
155 let _this = this; 166 await ruleConfig.deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb(
156 this.$confirm("此操作将进行删除校验规则, 是否继续?", "提示", { 167 row.BSM_YWSJB
157 cancelButtonText: "取消", 168 );
158 confirmButtonText: "确定", 169 if (res.code == 200) {
159 type: "warning", 170 _this.$message({
160 }) 171 type: "success",
161 .then(async () => { 172 message: "删除成功!",
162 try { 173 });
163 let res = 174 _this.featchData();
164 await ruleConfig.deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb( 175 }
165 row.BSM_YWSJB 176 } catch (error) {
166 ); 177 _this.$alert(error, "提示", {
167 if (res.code == 200) { 178 confirmButtonText: "确定",
168 _this.$message({ 179 type: "error",
169 type: "success",
170 message: "删除成功!",
171 }); 180 });
172 _this.featchData();
173 } 181 }
174 } catch (error) { 182 })
175 _this.$alert(error, "提示", { 183 .catch(() => {
176 confirmButtonText: "确定", 184 this.$message({
177 type: "error", 185 type: "info",
186 message: "已取消删除",
178 }); 187 });
179 }
180 })
181 .catch(() => {
182 this.$message({
183 type: "info",
184 message: "已取消删除",
185 }); 188 });
189 },
190 handleUpdateDic () {
191 this.$store.dispatch("dictionaries/generateDic").then((res) => {
192 if (res) {
193 this.$message({
194 message: "刷新成功!",
195 type: "success",
196 });
197 }
186 }); 198 });
199 },
187 }, 200 },
188 handleUpdateDic () { 201 };
189 this.$store.dispatch("dictionaries/generateDic").then((res) => {
190 if (res) {
191 this.$message({
192 message: "刷新成功!",
193 type: "success",
194 });
195 }
196 });
197 },
198 },
199 };
200 </script> 202 </script>
201 <style scoped lang="scss"> 203 <style scoped lang="scss">
202 @import "./index.scss"; 204 @import "./index.scss";
203 </style> 205 </style>
......