|
|
@ -41,6 +41,16 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="表具类型" prop="monitorType">
|
|
|
|
|
|
|
|
<el-select v-model="queryParams.monitorType" placeholder="请选择表具类型" clearable>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.energy_type"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="表具类型" prop="isAmmeter">-->
|
|
|
|
<!-- <el-form-item label="表具类型" prop="isAmmeter">-->
|
|
|
|
<!-- <el-select-->
|
|
|
|
<!-- <el-select-->
|
|
|
|
<!-- v-model="queryParams.publicShareType"-->
|
|
|
|
<!-- v-model="queryParams.publicShareType"-->
|
|
|
@ -268,8 +278,15 @@
|
|
|
|
placeholder="请输入计量设备位置"
|
|
|
|
placeholder="请输入计量设备位置"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="类型" prop="monitorType" v-if="false">
|
|
|
|
<el-form-item label="表具类型" prop="monitorType">
|
|
|
|
<el-input v-model="form.monitorType" />
|
|
|
|
<el-radio-group v-model="form.monitorType">
|
|
|
|
|
|
|
|
<el-radio
|
|
|
|
|
|
|
|
v-for="dict in dict.type.energy_type"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="parseInt(dict.value)"
|
|
|
|
|
|
|
|
>{{ dict.label }}
|
|
|
|
|
|
|
|
</el-radio>
|
|
|
|
|
|
|
|
</el-radio-group>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="CBS房间编号" prop="roomCode">-->
|
|
|
|
<!-- <el-form-item label="CBS房间编号" prop="roomCode">-->
|
|
|
|
<!-- <el-input v-model="form.roomCode" placeholder="请输入CBS房间编号" />-->
|
|
|
|
<!-- <el-input v-model="form.roomCode" placeholder="请输入CBS房间编号" />-->
|
|
|
@ -597,7 +614,6 @@ export default {
|
|
|
|
/** 查询计量设备信息列表 */
|
|
|
|
/** 查询计量设备信息列表 */
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
this.queryParams.monitorType = 2;
|
|
|
|
|
|
|
|
listShuiMeasurement(this.queryParams).then((response) => {
|
|
|
|
listShuiMeasurement(this.queryParams).then((response) => {
|
|
|
|
this.list = response.data;
|
|
|
|
this.list = response.data;
|
|
|
|
// response.data.forEach(m=>{
|
|
|
|
// response.data.forEach(m=>{
|
|
|
@ -616,7 +632,6 @@ export default {
|
|
|
|
"parentId"
|
|
|
|
"parentId"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
console.log("this.expandrowid", this.expandrowid);
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -757,7 +772,6 @@ export default {
|
|
|
|
submitForm() {
|
|
|
|
submitForm() {
|
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|
this.form.monitorType = 2;
|
|
|
|
|
|
|
|
this.form.buildId = this.getBuildAllCheckedKeys();
|
|
|
|
this.form.buildId = this.getBuildAllCheckedKeys();
|
|
|
|
// this.form.subentryId = this.getSubentryAllCheckedKeys();
|
|
|
|
// this.form.subentryId = this.getSubentryAllCheckedKeys();
|
|
|
|
// this.form.businessId = this.getBusinessAllCheckedKeys();
|
|
|
|
// this.form.businessId = this.getBusinessAllCheckedKeys();
|
|
|
@ -861,7 +875,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
/** 查询计量设备信息下拉树结构 */
|
|
|
|
/** 查询计量设备信息下拉树结构 */
|
|
|
|
getTreeselect() {
|
|
|
|
getTreeselect() {
|
|
|
|
this.queryParams.monitorType = 2;
|
|
|
|
|
|
|
|
listShuiMeasurement(this.queryParams).then((response) => {
|
|
|
|
listShuiMeasurement(this.queryParams).then((response) => {
|
|
|
|
this.ShuiMeasurementOptions = [];
|
|
|
|
this.ShuiMeasurementOptions = [];
|
|
|
|
const data = { objid: 0, monitorName: "顶级节点", children: [] };
|
|
|
|
const data = { objid: 0, monitorName: "顶级节点", children: [] };
|
|
|
|