b0bb1ffe by 任超

style:字典管理

1 parent 8f3625b2
...@@ -63,7 +63,7 @@ class data extends filter { ...@@ -63,7 +63,7 @@ class data extends filter {
63 label: "操作", 63 label: "操作",
64 width: 100, 64 width: 100,
65 render: (h, scope) => { 65 render: (h, scope) => {
66 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button> 66 return <el-button type="text" icon='el-icon-printer' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button>
67 } 67 }
68 }, 68 },
69 69
......
...@@ -110,12 +110,11 @@ export default { ...@@ -110,12 +110,11 @@ export default {
110 handleViewClick (scope) { 110 handleViewClick (scope) {
111 var sqcxBsm = scope.row.bsmSqcx; 111 var sqcxBsm = scope.row.bsmSqcx;
112 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { 112 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
113 height: 700,
113 formData: { 114 formData: {
114 sqcxBsm: sqcxBsm, 115 sqcxBsm: sqcxBsm,
115 }, 116 }
116 cancel: function () { }, //取消事件的回调 117 })
117 confirm: function () { },
118 });
119 }, 118 },
120 }, 119 },
121 }; 120 };
......
...@@ -179,6 +179,7 @@ export default { ...@@ -179,6 +179,7 @@ export default {
179 }, 179 },
180 'details.bsmDict': { 180 'details.bsmDict': {
181 handler: function (newValue) { 181 handler: function (newValue) {
182 if (!this.value) return
182 this.$startLoading(); 183 this.$startLoading();
183 getChildDictList(newValue).then(res => { 184 getChildDictList(newValue).then(res => {
184 this.$endLoading(); 185 this.$endLoading();
......
...@@ -39,14 +39,13 @@ import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user. ...@@ -39,14 +39,13 @@ import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.
39 import { datas, sendThis } from "./dictionaries" 39 import { datas, sendThis } from "./dictionaries"
40 import editDialog from "./components/editDialog.vue" 40 import editDialog from "./components/editDialog.vue"
41 export default { 41 export default {
42 name: "djbcx", 42 name: "dictionaries",
43 components: { 43 components: {
44 editDialog 44 editDialog
45 }, 45 },
46 mixins: [table], 46 mixins: [table],
47 mounted () { 47 mounted () {
48 sendThis(this); 48 sendThis(this);
49 this.queryClick()
50 }, 49 },
51 data () { 50 data () {
52 return { 51 return {
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
34 :column="tableData.columns" :data="tableData.data"> 34 :column="tableData.columns" :data="tableData.data">
35 </lb-table> 35 </lb-table>
36 </div> 36 </div>
37 <!-- <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> -->
38 <component-dialog :dialogVisible="dialogVisible" v-if="sqqlRule && flag" :sqqlRule="sqqlRule" 37 <component-dialog :dialogVisible="dialogVisible" v-if="sqqlRule && flag" :sqqlRule="sqqlRule"
39 @update:dialogVisible="dialogVisibles"></component-dialog> 38 @update:dialogVisible="dialogVisibles"></component-dialog>
40 </div> 39 </div>
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
32 key: 0, 32 key: 0,
33 dataIndex: 0, 33 dataIndex: 0,
34 dialog: false, 34 dialog: false,
35 isaddupdate:false, 35 isaddupdate: false,
36 details: {}, 36 details: {},
37 tableDataList: [], 37 tableDataList: [],
38 InformationTable: [ 38 InformationTable: [
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
56 } 56 }
57 }, 57 },
58 { 58 {
59 label: '身份证读卡器2', 59 label: '身份证读卡器',
60 align: 'center', 60 align: 'center',
61 render: (h, scope) => { 61 render: (h, scope) => {
62 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button> 62 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
...@@ -98,7 +98,6 @@ export default { ...@@ -98,7 +98,6 @@ export default {
98 icon="el-icon-edit-outline" 98 icon="el-icon-edit-outline"
99 type="text" 99 type="text"
100 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> 100 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
101
102 } 101 }
103 </div> 102 </div>
104 ) 103 )
...@@ -151,12 +150,12 @@ export default { ...@@ -151,12 +150,12 @@ export default {
151 }, 150 },
152 methods: { 151 methods: {
153 handleupdateDetail (value) { 152 handleupdateDetail (value) {
154 if(this.isaddupdate){ 153 if (this.isaddupdate) {
155 if (!_.isEqual(value, this.tableData)) { 154 if (!_.isEqual(value, this.tableData)) {
156 this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); 155 this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
157 this.$emit('upDateQlrxxList', this.tableDataList) 156 this.$emit('upDateQlrxxList', this.tableDataList)
158 } 157 }
159 }else{ 158 } else {
160 if (!_.isEqual(value, this.tableData)) { 159 if (!_.isEqual(value, this.tableData)) {
161 this.tableDataList[this.dataIndex] = _.cloneDeep(value); 160 this.tableDataList[this.dataIndex] = _.cloneDeep(value);
162 this.$emit('upDateQlrxxList', this.tableDataList) 161 this.$emit('upDateQlrxxList', this.tableDataList)
...@@ -167,7 +166,7 @@ export default { ...@@ -167,7 +166,7 @@ export default {
167 // 新增 166 // 新增
168 addClick () { 167 addClick () {
169 this.dialog = true 168 this.dialog = true
170 this.isaddupdate=true 169 this.isaddupdate = true
171 }, 170 },
172 171
173 // 删除 172 // 删除
...@@ -190,7 +189,7 @@ export default { ...@@ -190,7 +189,7 @@ export default {
190 this.dataIndex = index 189 this.dataIndex = index
191 this.dialog = true 190 this.dialog = true
192 this.details = row 191 this.details = row
193 this.isaddupdate=false 192 this.isaddupdate = false
194 }, 193 },
195 queryViewClick () { 194 queryViewClick () {
196 this.dialog = true 195 this.dialog = true
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row> 6 <el-row>
7 <el-col :span="10"> 7 <el-col :span="10">
8 <el-form-item label="不动产单元号2"> 8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> 9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
......