Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
4 changed files
with
63 additions
and
45 deletions
src/api/zsgl.js
0 → 100644
... | @@ -171,7 +171,12 @@ export default { | ... | @@ -171,7 +171,12 @@ export default { |
171 | }); | 171 | }); |
172 | }, | 172 | }, |
173 | handleSelectionChange(val) { | 173 | handleSelectionChange(val) { |
174 | val.forEach((item,index)=>{ | ||
175 | item.bsmSsql = item.bsmQlxx | ||
176 | item.ybdcqzsh = item.bdcqzh | ||
177 | }) | ||
174 | this.bdcdysz = val; | 178 | this.bdcdysz = val; |
179 | |||
175 | }, | 180 | }, |
176 | queryClick() { | 181 | queryClick() { |
177 | this.fetchData(); | 182 | this.fetchData(); | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | <el-col :span="11" class="btnCol"> | 19 | <el-col :span="11" class="btnCol"> |
20 | <el-form-item> | 20 | <el-form-item> |
21 | <el-button type="primary" @click="queryClick()">查询</el-button> | 21 | <el-button type="primary" @click="queryClick()">查询</el-button> |
22 | <el-button @click="moreQueryClick()">高级查询</el-button> | 22 | <el-button type="primary">新增</el-button> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | </el-row> | 25 | </el-row> |
... | @@ -37,6 +37,7 @@ | ... | @@ -37,6 +37,7 @@ |
37 | <script> | 37 | <script> |
38 | import table from "@/utils/mixin/table"; | 38 | import table from "@/utils/mixin/table"; |
39 | import { datas, sendThis } from "./zsrkdata"; | 39 | import { datas, sendThis } from "./zsrkdata"; |
40 | import { getZsglrkList } from "@/api/zsgl.js" | ||
40 | export default { | 41 | export default { |
41 | name: "zsrk", | 42 | name: "zsrk", |
42 | components: {}, | 43 | components: {}, |
... | @@ -53,20 +54,24 @@ export default { | ... | @@ -53,20 +54,24 @@ export default { |
53 | tableData: { | 54 | tableData: { |
54 | total: 0, | 55 | total: 0, |
55 | columns: datas.columns(), | 56 | columns: datas.columns(), |
56 | data: [ | 57 | data: [], |
57 | { | ||
58 | slsj: "2022-5-12", | ||
59 | }, | ||
60 | { | ||
61 | slsj: "2022-5-13", | ||
62 | }, | ||
63 | ], | ||
64 | }, | 58 | }, |
65 | }; | 59 | }; |
66 | }, | 60 | }, |
67 | methods: { | 61 | methods: { |
68 | // 初始化数据 | 62 | init (e) { |
69 | fetchData () { }, | 63 | this.fetchData() |
64 | }, | ||
65 | // 列表渲染接口 | ||
66 | fetchData () { | ||
67 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { | ||
68 | if (res.code === 200) { | ||
69 | let { total, records } = res.result | ||
70 | this.tableData.total = total; | ||
71 | this.tableData.data = records ? records : [] | ||
72 | } | ||
73 | }) | ||
74 | }, | ||
70 | openDialog () { | 75 | openDialog () { |
71 | console.log(999999999999999); | 76 | console.log(999999999999999); |
72 | }, | 77 | }, | ... | ... |
... | @@ -16,58 +16,55 @@ class data extends filter { | ... | @@ -16,58 +16,55 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | prop: "ywly", | 19 | prop: "batchno", |
20 | label: "业务来源", | 20 | label: "入库编号", |
21 | }, | 21 | }, |
22 | { | 22 | { |
23 | prop: "lczt", | 23 | prop: "operationtime", |
24 | label: "流程状态", | 24 | label: "入库时间", |
25 | }, | 25 | }, |
26 | { | 26 | { |
27 | prop: "zbhj", | 27 | prop: "operator", |
28 | label: "在办环节", | 28 | label: "入库人员", |
29 | }, | 29 | }, |
30 | { | 30 | { |
31 | prop: "ywh", | 31 | prop: "zsnum", |
32 | label: "业务号", | 32 | label: "不动产登记证明(本)", |
33 | }, | 33 | }, |
34 | { | 34 | { |
35 | prop: "sqywmc", | 35 | prop: "zsnum", |
36 | label: "申请业务名称", | 36 | label: "不动产权证书(本)", |
37 | }, | 37 | }, |
38 | { | 38 | { |
39 | prop: "qlr", | 39 | prop: "bz", |
40 | label: "权利人", | 40 | label: "备注", |
41 | }, | 41 | }, |
42 | { | 42 | { |
43 | prop: "ywr", | 43 | label: "状态", |
44 | label: "义务人", | 44 | render: (h, scope) => { |
45 | }, | 45 | switch (scope.row.state) { |
46 | { | 46 | case '0': |
47 | prop: "zl", | 47 | return <span>正在审核</span> |
48 | label: "坐落", | 48 | case '1': |
49 | }, | 49 | return <span>已入库</span> |
50 | { | 50 | } |
51 | prop: "slsj", | 51 | } |
52 | label: "受理时间", | ||
53 | sortable: 'custom' | ||
54 | }, | ||
55 | { | ||
56 | prop: "slry", | ||
57 | label: "受理人员", | ||
58 | }, | ||
59 | { | ||
60 | prop: "zrsj", | ||
61 | label: "转入时间", | ||
62 | sortable: 'custom' | ||
63 | }, | 52 | }, |
64 | { | 53 | { |
65 | label: '操作', | 54 | label: '操作', |
66 | width: '80', | 55 | width: '200', |
67 | align: 'center', | 56 | align: 'center', |
68 | fixed: 'right', | 57 | fixed: 'right', |
69 | render: (h, scope) => { | 58 | render: (h, scope) => { |
70 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> | 59 | switch (scope.row.state) { |
60 | case '0': | ||
61 | return <div> | ||
62 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>确认审核</el-button> | ||
63 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope.row) }}>删除</el-button> | ||
64 | </div> | ||
65 | case '1': | ||
66 | return <el-button type="text" onClick={() => { vm.openDialog(scope) }}>查看</el-button> | ||
67 | } | ||
71 | } | 68 | } |
72 | } | 69 | } |
73 | ] | 70 | ] | ... | ... |
-
Please register or sign in to post a comment