b0bb1ffe by 任超

style:字典管理

1 parent 8f3625b2
......@@ -63,7 +63,7 @@ class data extends filter {
label: "操作",
width: 100,
render: (h, scope) => {
return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button>
return <el-button type="text" icon='el-icon-printer' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button>
}
},
......
......@@ -110,12 +110,11 @@ export default {
handleViewClick (scope) {
var sqcxBsm = scope.row.bsmSqcx;
this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
height: 700,
formData: {
sqcxBsm: sqcxBsm,
},
cancel: function () { }, //取消事件的回调
confirm: function () { },
});
}
})
},
},
};
......
......@@ -179,6 +179,7 @@ export default {
},
'details.bsmDict': {
handler: function (newValue) {
if (!this.value) return
this.$startLoading();
getChildDictList(newValue).then(res => {
this.$endLoading();
......
......@@ -39,14 +39,13 @@ import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.
import { datas, sendThis } from "./dictionaries"
import editDialog from "./components/editDialog.vue"
export default {
name: "djbcx",
name: "dictionaries",
components: {
editDialog
},
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......
......@@ -34,7 +34,6 @@
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<!-- <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> -->
<component-dialog :dialogVisible="dialogVisible" v-if="sqqlRule && flag" :sqqlRule="sqqlRule"
@update:dialogVisible="dialogVisibles"></component-dialog>
</div>
......
......@@ -32,7 +32,7 @@ export default {
key: 0,
dataIndex: 0,
dialog: false,
isaddupdate:false,
isaddupdate: false,
details: {},
tableDataList: [],
InformationTable: [
......@@ -56,7 +56,7 @@ export default {
}
},
{
label: '身份证读卡器2',
label: '身份证读卡器',
align: 'center',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
......@@ -98,7 +98,6 @@ export default {
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
}
</div>
)
......@@ -151,12 +150,12 @@ export default {
},
methods: {
handleupdateDetail (value) {
if(this.isaddupdate){
if (this.isaddupdate) {
if (!_.isEqual(value, this.tableData)) {
this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
this.$emit('upDateQlrxxList', this.tableDataList)
}
}else{
} else {
if (!_.isEqual(value, this.tableData)) {
this.tableDataList[this.dataIndex] = _.cloneDeep(value);
this.$emit('upDateQlrxxList', this.tableDataList)
......@@ -167,7 +166,7 @@ export default {
// 新增
addClick () {
this.dialog = true
this.isaddupdate=true
this.isaddupdate = true
},
// 删除
......@@ -190,7 +189,7 @@ export default {
this.dataIndex = index
this.dialog = true
this.details = row
this.isaddupdate=false
this.isaddupdate = false
},
queryViewClick () {
this.dialog = true
......
......@@ -5,7 +5,7 @@
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-row>
<el-col :span="10">
<el-form-item label="不动产单元号2">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
</el-input>
</el-form-item>
......