| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416 |
- <!--
- * @Title:
- * @Description: 测站基础信息
- * @Author: swp
- * @Date: 2022-08-24 10:49:21
- * @LastEditors:
- * @LastEditTime: 2022-08-24 10:49:21
- -->
- <template>
- <basic-container>
- <el-form ref="form">
- <el-card shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>测站基本信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="测站名称:" labelWidth="150px">
- <div style="color: black;">{{ rtuInfo.rtuName }}</div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="测站编码:" labelWidth="150px">
- <div style="color: black;">{{ rtuInfo.rtuCode }}</div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="站点类型:" labelWidth="150px">
- <label style="color: black;">{{ rtuInfo.rtuKindDesc }}</label>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="通信网络类型:" labelWidth="150px">
- <div>
- <label v-if="(rtuInfo.isSatellite == 1)" style="color: black;">北斗通信</label>
- <label v-else style="color: black;">4G/5G移动网络通信</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="运维单位:" labelWidth="150px">
- <div>
- <label style="color: black;">{{ rtuInfo.manageCompany }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>测站地理位置信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="盟市:" labelWidth="150px">
- <div>
- <label style="color: black;">{{ rtuInfo.adCity }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="旗县区:" labelWidth="150px">
- <div>
- <label style="color: black;">{{ rtuInfo.adDist }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="经纬度:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.lng }},{{ rtuInfo.lat }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <!-- <el-form-item label="纬度:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.lat }}</label>
- </div>
- </el-form-item> -->
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="站点具体位置描述:" labelWidth="150px">
- <label style="color: black;">{{ rtuInfo.locationDesc }}</label>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>RTU信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="RTU品牌:" labelWidth="150px">
- <div class="block">
- <label style="color: black;"> {{ rtuInfo.rtuBrand }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!--
- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="RTU型号:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.rtuModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="RTU更换时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.rtuReplaceDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="RTU报送单位:" labelWidth="150px">
- <label v-if="rtuInfo.datagramToSheng = 1 && rtuInfo.datagramToShi == 1 && rtuInfo.datagramToQu == 1"
- style="color: black;">自治区/盟市/旗县区</label>
- <label v-else-if="rtuInfo.datagramToSheng = 1 && rtuInfo.datagramToShi == 1"
- style="color: black;">自治区/盟市</label>
- <label v-else-if="rtuInfo.datagramToSheng = 1 && rtuInfo.datagramToQu == 1"
- style="color: black;">自治区/旗县区</label>
- <label v-else-if="rtuInfo.datagramToShi == 1 && rtuInfo.datagramToQu == 1"
- style="color: black;">盟市/旗县区</label>
- <label v-else-if="rtuInfo.datagramToSheng = 1" style="color: black;">自治区</label>
- <label v-else-if="rtuInfo.datagramToShi == 1" style="color: black;">盟市</label>
- <label v-else-if="rtuInfo.datagramToQu == 1" style="color: black;">旗县区</label>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card v-if="rtuInfo.isRain == 1" shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>雨量传感器信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="雨量计品牌:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.rainSensorBrand }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="雨量计型号:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.rainSensorModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="雨量计更换时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.rainSensorReplaceDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card v-if="(rtuInfo.isRiver == 1 || rtuInfo.isRes == 1)" shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>水位计传感器信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="水位计传感器类型:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.waterSensorTypeText }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="水位计品牌:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.waterSensorBrand }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="水位计型号:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.waterSensorModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="水位计更换时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.waterSensorReplaceDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card v-if="rtuInfo.isGround == 1" shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>墒情传感器信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="墒情站传感器类型:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.groundSensorTypeText }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="墒情传感器品牌:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.groundSensorBrand }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="墒情传感器型号:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.groundSensorModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="墒情传感器更换时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.groundSensorReplaceDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>供电系统信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="蓄电池容量(AH):" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.batteryModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="蓄电池更换时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.batteryReplaceDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="太阳能板(w):" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.sunPowerModel }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card v-if="rtuInfo.isSatellite == 1" shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>卫星通讯</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="通讯模式:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.satelliteModelText }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- <el-card v-else shadow="hover" style="margin-top: 10px;">
- <div slot="header">
- <span>SIM卡信息</span>
- </div>
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="SIM卡号:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.networkSimId }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="SIM卡开卡单位:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.networkPayer }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- <!-- <el-row type="flex">
- <el-col :span="24"> -->
- <el-form-item label="SIM卡缴费截止时间:" labelWidth="150px">
- <div class="block">
- <label style="color: black;">{{ rtuInfo.networkPayEndDate }}</label>
- </div>
- </el-form-item>
- <!-- </el-col>
- </el-row> -->
- </el-card>
- </el-form>
- </basic-container>
- </template>
- <script>
- import { getDetail } from "@/api/baseinfo/rtu.js";
- export default {
- components: {
- },
- props: {
- id: {
- type: [Number],
- required: true
- },
- },
- name: 'rtudetail',
- data() {
- return {
- activeName: 'base',
- query: {},
- rtuInfo: [],
- }
- },
- created() {
- this.init();
- },
- methods: {
- init() {
- this.onLoad();
- },
- onLoad() {
- this.loading = true;
- getDetail(this.id).then((res) => {
- console.log(JSON.stringify(res.data));
- this.rtuInfo = res.data.data;
- this.loading = false;
- });
- },
- }
- }
- </script>
- <style></style>
|