...
|
...
|
@@ -166,8 +166,6 @@ |
|
|
<el-button type="primary" @click.native="addSubmit" :loading="addLoading">提交</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
<!--电表参数配置修改-->
|
|
|
<el-dialog title="电表参数配置新增" :visible.sync="electrixityeditFormVisible" :close-on-click-modal="false">
|
|
|
<el-form :model="electrixityeditForm" label-width="110px" :rules="editFormRules" ref="electrixityeditForm">
|
...
|
...
|
@@ -252,7 +250,6 @@ |
|
|
<el-button type="primary" @click.native="editSubmit" :loading="editLoading">提交</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--水表实时信息-->
|
|
|
<el-dialog title="水表实施信息" :visible.sync="waterMeterVisible" :close-on-click-modal="false">
|
|
|
<el-form :model="waterMaterForm" label-width="100px" ref="waterMaterForm">
|
...
|
...
|
@@ -285,7 +282,6 @@ |
|
|
<el-button @click.native="waterMeterVisible = false">取消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--电表实时信息-->
|
|
|
<el-dialog title="电表实施信息" :visible.sync="electrixityeditFormVisible" :close-on-click-modal="false">
|
|
|
<el-form v-loading="electrixityLoading" :model="electricityForm" label-width="100px" ref="waterMaterForm">
|
...
|
...
|
@@ -315,7 +311,6 @@ |
|
|
<el-button @click.native="electrixityeditFormVisible = false">取消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--location新增界面-->
|
|
|
<el-dialog title="新增" :visible.sync="addFormLocationVisible" :close-on-click-modal="false">
|
|
|
<el-form :model="addLocationForm" label-width="80px" :rules="addLocationFormRules" ref="addLocationForm">
|
...
|
...
|
@@ -328,7 +323,6 @@ |
|
|
<el-button type="primary" @click.native="addLocationParent" :loading="addLoading">提交</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--location编辑界面-->
|
|
|
<el-dialog title="编辑" :visible.sync="editFormLocationVisible" :close-on-click-modal="false">
|
|
|
<el-form :model="editLocationForm" label-width="80px" :rules="editLocationFormRules" ref="editLocationForm">
|
...
|
...
|
@@ -338,31 +332,15 @@ |
|
|
<el-form-item label="名称" prop="adrName">
|
|
|
<el-input v-model="editLocationForm.adrname" auto-complete="off" placeholder="请输入名称"></el-input>
|
|
|
</el-form-item>
|
|
|
|
|
|
<!-- <el-col v-if="waterNumber === 'waterNum'">-->
|
|
|
<!-- <el-form-item label="水表编号" prop="wmid">-->
|
|
|
<!-- <el-select style="height: 38px; width: 100%"-->
|
|
|
<!-- v-model="editLocationForm.wmid"-->
|
|
|
<!-- filterable-->
|
|
|
<!-- remote-->
|
|
|
<!-- default-first-option-->
|
|
|
<!-- allow-create-->
|
|
|
<!-- placeholder="请输入关键词"-->
|
|
|
<!-- :remote-method="waterMeterAlls"-->
|
|
|
<!-- :loading="listLoading" clearable>-->
|
|
|
<!-- <el-option-->
|
|
|
<!-- v-for="item in waterMeterList"-->
|
|
|
<!-- :key="item.wmId" :label="item.wmId" :value="item.wmId" clearable>-->
|
|
|
<!-- </el-option>-->
|
|
|
<!-- </el-select>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
<el-form-item v-if="waterNumber==='waterNum'" label="水表编号" prop="wmid">
|
|
|
<el-input v-model="editLocationForm.wmid" auto-complete="off" placeholder="请输入水表编号"></el-input>
|
|
|
</el-form-item>
|
|
|
<!-- </el-col>-->
|
|
|
<el-form-item v-if="electricityNumber==='eeNum'" label="电表编号" prop="eeid">
|
|
|
<el-input v-model="editLocationForm.eeid" auto-complete="off" placeholder="请输入电表编号"></el-input>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item label="电话号码" prop="eeid">-->
|
|
|
<!-- <el-input v-model="editLocationForm.eeid" auto-complete="off" placeholder="请输入电话号码"></el-input>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
|
</el-form>
|
...
|
...
|
@@ -371,7 +349,6 @@ |
|
|
<el-button type="primary" @click.native="editLocationAdrName" :loading="addLoading">提交</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
</section>
|
|
|
</template>
|
|
|
<style>
|
...
|
...
|
@@ -746,6 +723,7 @@ |
|
|
},
|
|
|
// 公寓新增
|
|
|
addLocationParent: function () {
|
|
|
this.addLoading = false;
|
|
|
this.$refs.addLocationForm.validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.$confirm('确认提交吗?', '提示', {}).then(() => {
|
...
|
...
|
|