Commit 6133b7bf by tianlonglong

tll

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