|
@@ -61,8 +61,8 @@
|
|
<div style="padding-top: 10px;text-align:right">
|
|
<div style="padding-top: 10px;text-align:right">
|
|
<el-button type="success" @click="hSubmit">确定</el-button>
|
|
<el-button type="success" @click="hSubmit">确定</el-button>
|
|
<el-button type="warning" @click="hClose">取消</el-button>
|
|
<el-button type="warning" @click="hClose">取消</el-button>
|
|
- <el-button type="primary" @click="hSubmit">全部启用</el-button>
|
|
|
|
- <el-button type="danger" @click="hClose">全部停用</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="hEnableBts">全部启用</el-button>
|
|
|
|
+ <el-button type="danger" @click="hDisableBts">全部停用</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -212,10 +212,17 @@ export default {
|
|
this.$message({ message: err, type: 'error' })
|
|
this.$message({ message: err, type: 'error' })
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- hEnableBtsBaseParam() {
|
|
|
|
|
|
+ hEnableBts() {
|
|
|
|
+ this.enableBtsBaseParam(1)
|
|
|
|
+ },
|
|
|
|
+ hDisableBts() {
|
|
|
|
+ this.enableBtsBaseParam(0)
|
|
|
|
+ },
|
|
|
|
+ enableBtsBaseParam(enable_flag) {
|
|
let paramData = {}
|
|
let paramData = {}
|
|
paramData.id = parseInt(this.dialogData.editData.data.id)
|
|
paramData.id = parseInt(this.dialogData.editData.data.id)
|
|
paramData.bts_type = parseInt(this.dialogData.editData.data.bts_type);
|
|
paramData.bts_type = parseInt(this.dialogData.editData.data.bts_type);
|
|
|
|
+ paramData.enable_flag = parseInt(enable_flag)
|
|
|
|
|
|
//修改基站基本参数
|
|
//修改基站基本参数
|
|
enableBtsBaseParam(paramData).then(() => {
|
|
enableBtsBaseParam(paramData).then(() => {
|