768340a9 by 任超

style;字典模块from的渲染

1 parent 78ddd0cb
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <el-col :span="6"> 7 <el-col :span="6">
8 <el-form-item label="权利类型"> 8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> 9 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
10 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> 10 <el-option v-for="item in dictData['A8']" :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>
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
32 </div> 32 </div>
33 </template> 33 </template>
34 <script> 34 <script>
35 import { mapGetters } from 'vuex'
35 import table from "@/utils/mixin/table" 36 import table from "@/utils/mixin/table"
36 import { datas, sendThis } from "./qtjfjmb" 37 import { datas, sendThis } from "./qtjfjmb"
37 import editDialog from "./components/editDialog.vue" 38 import editDialog from "./components/editDialog.vue"
...@@ -44,6 +45,9 @@ export default { ...@@ -44,6 +45,9 @@ export default {
44 mounted () { 45 mounted () {
45 sendThis(this); 46 sendThis(this);
46 }, 47 },
48 computed: {
49 ...mapGetters(['dictData'])
50 },
47 data () { 51 data () {
48 return { 52 return {
49 isDialog: false, 53 isDialog: false,
......
...@@ -145,6 +145,9 @@ export default { ...@@ -145,6 +145,9 @@ export default {
145 } 145 }
146 }, 146 },
147 methods: { 147 methods: {
148 closeDialog () {
149 this.$emit('input', false)
150 }
148 }, 151 },
149 }; 152 };
150 </script> 153 </script>
......