style:业务办理
Showing
4 changed files
with
22 additions
and
32 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> |
10 | <el-option v-for="item in ywlys" :key="item.value" :label="item.label" :value="item.value"> | 10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> |
13 | </el-form-item> | 13 | </el-form-item> |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | <el-col :span="5"> | 15 | <el-col :span="5"> |
16 | <el-form-item label="权利类型"> | 16 | <el-form-item label="权利类型"> |
17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> |
18 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
19 | </el-option> | 19 | </el-option> |
20 | </el-select> | 20 | </el-select> |
21 | </el-form-item> | 21 | </el-form-item> |
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
23 | <el-col :span="5"> | 23 | <el-col :span="5"> |
24 | <el-form-item label="登记类型"> | 24 | <el-form-item label="登记类型"> |
25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> |
26 | <el-option v-for="item in djlxs" :key="item.value" :label="item.label" :value="item.value"> | 26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
27 | </el-option> | 27 | </el-option> |
28 | </el-select> | 28 | </el-select> |
29 | </el-form-item> | 29 | </el-form-item> |
... | @@ -55,6 +55,7 @@ | ... | @@ -55,6 +55,7 @@ |
55 | </div> | 55 | </div> |
56 | </template> | 56 | </template> |
57 | <script> | 57 | <script> |
58 | import { mapGetters } from 'vuex' | ||
58 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
59 | import { datas, sendThis } from "./dbxdata"; | 60 | import { datas, sendThis } from "./dbxdata"; |
60 | import { searchTaskToDo } from "@/api/ywbl.js" | 61 | import { searchTaskToDo } from "@/api/ywbl.js" |
... | @@ -65,10 +66,11 @@ export default { | ... | @@ -65,10 +66,11 @@ export default { |
65 | mounted () { | 66 | mounted () { |
66 | sendThis(this); | 67 | sendThis(this); |
67 | }, | 68 | }, |
69 | computed: { | ||
70 | ...mapGetters(['dictData']), | ||
71 | }, | ||
68 | data () { | 72 | data () { |
69 | return { | 73 | return { |
70 | qllxs: [], | ||
71 | djlxs: [], | ||
72 | queryForm: { | 74 | queryForm: { |
73 | ywly: "", | 75 | ywly: "", |
74 | qllx: "", | 76 | qllx: "", |
... | @@ -80,9 +82,6 @@ export default { | ... | @@ -80,9 +82,6 @@ export default { |
80 | size: 10, | 82 | size: 10, |
81 | total: 0, | 83 | total: 0, |
82 | }, | 84 | }, |
83 | |||
84 | ywlys: datas.ywlys(), | ||
85 | |||
86 | tableData: { | 85 | tableData: { |
87 | columns: datas.columns(), | 86 | columns: datas.columns(), |
88 | data: [], | 87 | data: [], | ... | ... |
... | @@ -27,8 +27,8 @@ class data extends filter { | ... | @@ -27,8 +27,8 @@ class data extends filter { |
27 | return <span>进行中</span> | 27 | return <span>进行中</span> |
28 | case '2': | 28 | case '2': |
29 | return <span>进行中</span> | 29 | return <span>进行中</span> |
30 | case '3': | 30 | case '3': |
31 | return <span>进行中</span> | 31 | return <span>进行中</span> |
32 | } | 32 | } |
33 | } | 33 | } |
34 | }, | 34 | }, |
... | @@ -40,7 +40,7 @@ class data extends filter { | ... | @@ -40,7 +40,7 @@ class data extends filter { |
40 | label: '业务号', | 40 | label: '业务号', |
41 | align: 'center', | 41 | align: 'center', |
42 | render: (h, scope) => { | 42 | render: (h, scope) => { |
43 | return <el-button type="text" onClick={() => { vm.ywhClick(scope.row.bsmSlsq) }}>{scope.row.ywh}</el-button> | 43 | return <el-button type="text" onClick={() => { vm.ywhClick(scope.row.bsmSlsq) }}>{scope.row.ywh}</el-button> |
44 | } | 44 | } |
45 | }, | 45 | }, |
46 | { | 46 | { |
... | @@ -79,20 +79,20 @@ class data extends filter { | ... | @@ -79,20 +79,20 @@ class data extends filter { |
79 | align: 'center', | 79 | align: 'center', |
80 | fixed: 'right', | 80 | fixed: 'right', |
81 | render: (h, scope) => { | 81 | render: (h, scope) => { |
82 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> | 82 | return <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> |
83 | } | 83 | } |
84 | } | 84 | } |
85 | ] | 85 | ] |
86 | } | 86 | } |
87 | 87 | ||
88 | ywlys(){ | 88 | ywlys () { |
89 | return[ | 89 | return [ |
90 | { value: 1, label: "办事大厅" }, | 90 | { value: 1, label: "办事大厅" }, |
91 | { value: 2, label: "微信小程序" }, | 91 | { value: 2, label: "微信小程序" }, |
92 | { value: 3, label: "法院端" }, | 92 | { value: 3, label: "法院端" }, |
93 | { value: 4, label: "银行端" }, | 93 | { value: 4, label: "银行端" }, |
94 | ] | 94 | ] |
95 | } | 95 | } |
96 | 96 | ||
97 | } | 97 | } |
98 | let datas = new data() | 98 | let datas = new data() | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> |
10 | <el-option v-for="item in ywlys" :key="item.value" :label="item.label" :value="item.value"> | 10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> |
13 | </el-form-item> | 13 | </el-form-item> |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | <el-col :span="5"> | 15 | <el-col :span="5"> |
16 | <el-form-item label="权利类型"> | 16 | <el-form-item label="权利类型"> |
17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> |
18 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
19 | </el-option> | 19 | </el-option> |
20 | </el-select> | 20 | </el-select> |
21 | </el-form-item> | 21 | </el-form-item> |
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
23 | <el-col :span="5"> | 23 | <el-col :span="5"> |
24 | <el-form-item label="登记类型"> | 24 | <el-form-item label="登记类型"> |
25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> |
26 | <el-option v-for="item in djlxs" :key="item.value" :label="item.label" :value="item.value"> | 26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
27 | </el-option> | 27 | </el-option> |
28 | </el-select> | 28 | </el-select> |
29 | </el-form-item> | 29 | </el-form-item> |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | </div> | 54 | </div> |
55 | </template> | 55 | </template> |
56 | <script> | 56 | <script> |
57 | import { mapGetters } from 'vuex' | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import { datas, sendThis } from "./ybxdata"; | 59 | import { datas, sendThis } from "./ybxdata"; |
59 | export default { | 60 | export default { |
... | @@ -63,6 +64,9 @@ export default { | ... | @@ -63,6 +64,9 @@ export default { |
63 | mounted () { | 64 | mounted () { |
64 | sendThis(this); | 65 | sendThis(this); |
65 | }, | 66 | }, |
67 | computed: { | ||
68 | ...mapGetters(['dictData']) | ||
69 | }, | ||
66 | data () { | 70 | data () { |
67 | return { | 71 | return { |
68 | queryForm: { | 72 | queryForm: { |
... | @@ -76,9 +80,6 @@ export default { | ... | @@ -76,9 +80,6 @@ export default { |
76 | size: 10, | 80 | size: 10, |
77 | total: 2, | 81 | total: 2, |
78 | }, | 82 | }, |
79 | |||
80 | ywlys: datas.ywlys(), | ||
81 | |||
82 | tableData: { | 83 | tableData: { |
83 | columns: datas.columns(), | 84 | columns: datas.columns(), |
84 | data: [ | 85 | data: [ | ... | ... |
... | @@ -63,21 +63,11 @@ class data extends filter { | ... | @@ -63,21 +63,11 @@ class data extends filter { |
63 | align: 'center', | 63 | align: 'center', |
64 | fixed: 'right', | 64 | fixed: 'right', |
65 | render: (h, scope) => { | 65 | render: (h, scope) => { |
66 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> | 66 | return <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> |
67 | } | 67 | } |
68 | } | 68 | } |
69 | ] | 69 | ] |
70 | } | 70 | } |
71 | |||
72 | ywlys(){ | ||
73 | return[ | ||
74 | { value: 1, label: "办事大厅" }, | ||
75 | { value: 2, label: "微信小程序" }, | ||
76 | { value: 3, label: "法院端" }, | ||
77 | { value: 4, label: "银行端" }, | ||
78 | ] | ||
79 | } | ||
80 | |||
81 | } | 71 | } |
82 | let datas = new data() | 72 | let datas = new data() |
83 | export { | 73 | export { | ... | ... |
-
Please register or sign in to post a comment