Commit 6133b7bf by tianlonglong

tll

2 parents 527169c5 1d669e9f
......@@ -95,8 +95,7 @@
this.getTableData();
},
bindRow(row){
console.log(this.areaObj)
// this.$refs.bindDevModel.dialogInit(row);
this.$refs.bindDevModel.dialogInit(this.areaObj.pic,this.gateList);
},
searchFun(){
this.currentPage = 1;
......@@ -198,7 +197,7 @@
.draw_desks {
position: relative;
width: 100%;
height: 700px;
// height: 700px;
}
.gateWrap{
position: relative;
......
......@@ -12,6 +12,10 @@
<el-input v-model="addForm.code" :placeholder="$t('pholder.input')"></el-input>
<i class="error-tip">*</i>
</el-form-item>
<el-form-item :label="$t('dialog.deviceNum')" prop="deviceSerialNum">
<el-input v-model="addForm.deviceSerialNum" :placeholder="$t('pholder.input')"></el-input>
<i class="error-tip">*</i>
</el-form-item>
<el-form-item :label="$t('table.counterType')" prop="counterType">
<el-select v-model="addForm.counterType" :placeholder="$t('pholder.select')">
<el-option v-for="item in counterTypeData" :key="item.key" :label="item.value" :value="item.key" />
......@@ -76,7 +80,12 @@ export default {
required: true,
message: this.$t('pholder.select'),
trigger: 'blur'
}]
}],
deviceSerialNum:[{
required: true,
message: this.$t('pholder.input'),
trigger: 'blur'
}],
}
}
},
......@@ -87,7 +96,8 @@ export default {
name: '',
areaId:"",
code:'',
counterType:''
counterType:'',
deviceSerialNum:''
};
this.isEdit = type
if(data){
......@@ -187,7 +197,7 @@ export default {
<style scoped lang="less">
.dialog_lj{
/deep/.el-dialog__body{
height: 270px;
height: 320px;
}
/deep/.el-form-item__label{
line-height: 30px;
......
......@@ -10,8 +10,11 @@
.searchFormSocial .el-form-item{
margin-bottom: 0;
}
.single-report-header{
margin-bottom: 0 !important;
}
.socialHeader{
padding-top: 10px;
padding-top: 0px;
margin-right: 10px !important;
}
.contentSocial{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!