a1607cf3 by jiaozeping@pashanhoo.com

申请业务规则

1 parent 42e9da4c
...@@ -2,7 +2,21 @@ ...@@ -2,7 +2,21 @@
2 export default class filter { 2 export default class filter {
3 // 业务来源 3 // 业务来源
4 busSource(val) { 4 busSource(val) {
5 let status = { 1: '办事大厅', 2: '微信小程序',default: '暂无' } 5 let status = { 1: '办事大厅', 2: '微信小程序' }
6 return status[val] 6 return status[val]
7 } 7 }
8
9 //申请分类(1:正常申请,2:一并申请,3:补录申请)
10 sqfls (val) {
11 let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
12 return status[val]
13 }
14
15 //是否启用(1:启用,2:禁用)
16 sfqys (val) {
17 let status = { 1: '启用', 2: '禁用' }
18 return status[val]
19 }
20
21
8 } 22 }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 </el-col> 20 </el-col>
21 <el-col :span="12" class="btnCol"> 21 <el-col :span="12" class="btnCol">
22 <el-form-item> 22 <el-form-item>
23 <el-button type="primary" @click="fetchData()">查询</el-button> 23 <el-button type="primary" @click="queryClick()">查询</el-button>
24 <el-button @click="moreQueryClick()">高级查询</el-button> 24 <el-button @click="moreQueryClick()">高级查询</el-button>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
...@@ -62,15 +62,15 @@ export default { ...@@ -62,15 +62,15 @@ export default {
62 tableData: { 62 tableData: {
63 total: 0, 63 total: 0,
64 columns: datas.columns(), 64 columns: datas.columns(),
65 data: [
66 {
67 slsj: "2022-5-12",
68 }
69 ]
70 } 65 }
71 } 66 }
72 }, 67 },
73 methods: { 68 methods: {
69 //查询
70 queryClick(){
71 this.fetchData();
72 },
73
74 // 初始化数据 74 // 初始化数据
75 fetchData () { 75 fetchData () {
76 getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => { 76 getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
...@@ -81,6 +81,8 @@ export default { ...@@ -81,6 +81,8 @@ export default {
81 } 81 }
82 }) 82 })
83 }, 83 },
84
85 //编辑
84 editClick () { 86 editClick () {
85 this.isDialog = true 87 this.isDialog = true
86 } 88 }
......
...@@ -23,19 +23,33 @@ class data extends filter { ...@@ -23,19 +23,33 @@ class data extends filter {
23 } 23 }
24 }, 24 },
25 { 25 {
26 prop: "sqfl", 26 prop: "sqfl",//申请分类(1:正常申请,2:一并申请,3:补录申请)
27 label: "申请分类", 27 label: "申请分类",
28 render: (h, scope) => {
29 return <div>{this.sqfls(scope.row.sqfl)}</div>;
30 }
31
28 }, 32 },
29 { 33 {
30 prop: "djywbm", 34 prop: "djywbm",
31 label: "登记业务编码", 35 label: "登记业务编码",
32 }, 36 },
33 { 37 {
34 prop: "qllx", 38 // prop: "djywmc",//补换证登记 || 补证
35 label: "权利类型", 39 label: "权利类型",
40 render: (h, scope) => {
41 var djywmcs= scope.row.djywmc.split('||');
42 var qllx=djywmcs[0];
43
44 return (
45 <div>
46 <span>{qllx}</span>
47 </div>
48 );
49 }
36 }, 50 },
37 { 51 {
38 prop: "djlx", 52 prop: "nodename",//
39 label: "登记类型", 53 label: "登记类型",
40 }, 54 },
41 { 55 {
...@@ -43,8 +57,12 @@ class data extends filter { ...@@ -43,8 +57,12 @@ class data extends filter {
43 label: "发起业务单元类型", 57 label: "发起业务单元类型",
44 }, 58 },
45 { 59 {
46 prop: "sfqy", 60 prop: "enabled",
47 label: "是否启用", 61 label: "是否启用",
62 render: (h, scope) => {
63 return <div>{this.sfqys(scope.row.sqfl)}</div>;
64 }
65
48 }, 66 },
49 { 67 {
50 prop: "czsj", 68 prop: "czsj",
......