|
@@ -8,9 +8,9 @@
|
|
|
:inline="true"
|
|
|
v-show="showSearch"
|
|
|
>
|
|
|
- <el-form-item label="线路名称" prop="lineName">
|
|
|
+ <el-form-item label="线路名称" prop="lineNm">
|
|
|
<el-input
|
|
|
- v-model="queryParams.lineName"
|
|
|
+ v-model="queryParams.lineNm"
|
|
|
placeholder="请输入线路名称"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
@@ -24,14 +24,14 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="研判停电性质" prop="stopType">
|
|
|
+ <el-form-item label="研判停电性质" prop="judgePoweroffNatureDsc">
|
|
|
<el-select
|
|
|
- v-model="queryParams.stopType"
|
|
|
+ v-model="queryParams.judgePoweroffNatureDsc"
|
|
|
placeholder="请选择"
|
|
|
clearable
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="item in stopTypeList"
|
|
|
+ v-for="item in judgePoweroffNatureDscList"
|
|
|
:key="item.dictLabel"
|
|
|
:label="item.dictLabel"
|
|
|
:value="item.dictValue"
|
|
@@ -80,7 +80,7 @@
|
|
|
<el-table-column
|
|
|
label="事件序号"
|
|
|
align="center"
|
|
|
- prop="stopNo"
|
|
|
+ prop="eventSn"
|
|
|
width="100"
|
|
|
fixed
|
|
|
>
|
|
@@ -88,14 +88,14 @@
|
|
|
<a
|
|
|
style="color: #00afff; cursor: pointer"
|
|
|
@click="handleDetail(scope.row)"
|
|
|
- >{{ scope.row.stopNo }}</a
|
|
|
+ >{{ scope.row.eventSn }}</a
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
label="线路名称"
|
|
|
align="center"
|
|
|
- prop="lineName"
|
|
|
+ prop="lineNm"
|
|
|
:show-overflow-tooltip="true"
|
|
|
width="160"
|
|
|
fixed
|
|
@@ -111,13 +111,13 @@
|
|
|
<el-table-column
|
|
|
label="数据状态"
|
|
|
align="center"
|
|
|
- prop="dataStatus"
|
|
|
+ prop="excpStDsc"
|
|
|
fixed
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="推送状态"
|
|
|
align="center"
|
|
|
- prop="pushStatus"
|
|
|
+ prop="pushStDsc"
|
|
|
fixed
|
|
|
/>
|
|
|
<el-table-column
|
|
@@ -130,21 +130,25 @@
|
|
|
<el-table-column
|
|
|
label="是否纯专变"
|
|
|
align="center"
|
|
|
- prop="isPureSpecia"
|
|
|
+ prop="isPrivEvent"
|
|
|
width="100"
|
|
|
fixed
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.isPrivEvent == "1" ? "是" : "否" }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
label="事件类型"
|
|
|
align="center"
|
|
|
- prop="eventType"
|
|
|
+ prop="endEventTypDsc"
|
|
|
width="100"
|
|
|
fixed
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="停电起始时间"
|
|
|
align="center"
|
|
|
- prop="startDate"
|
|
|
+ prop="poweroffStartTm"
|
|
|
width="120"
|
|
|
fixed
|
|
|
>
|
|
@@ -152,7 +156,7 @@
|
|
|
<el-table-column
|
|
|
label="停电终止时间"
|
|
|
align="center"
|
|
|
- prop="endDate"
|
|
|
+ prop="poweroffTermTm"
|
|
|
width="120"
|
|
|
fixed
|
|
|
>
|
|
@@ -160,35 +164,26 @@
|
|
|
<el-table-column
|
|
|
label="停电时户数"
|
|
|
align="center"
|
|
|
- prop="stopNum"
|
|
|
+ prop="hourNum"
|
|
|
width="100"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="研判停电性质"
|
|
|
align="center"
|
|
|
- prop="stopType"
|
|
|
+ prop="judgePoweroffNatureDsc"
|
|
|
width="140"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div v-for="(ite, i) in stopTypeList" :key="i">
|
|
|
- <span v-if="ite.dictValue == scope.row.stopType">
|
|
|
- <el-tag type="danger" effect="dark">{{
|
|
|
- ite.dictLabel
|
|
|
- }}</el-tag></span
|
|
|
- >
|
|
|
- </div>
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
label="所属市公司"
|
|
|
align="center"
|
|
|
- prop="cityCompanyName"
|
|
|
+ prop="stdCityOrgNm"
|
|
|
width="150"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="所属县公司"
|
|
|
align="center"
|
|
|
- prop="countyCompanyName"
|
|
|
+ prop="stdCountyOrgNm"
|
|
|
width="150"
|
|
|
/>
|
|
|
<el-table-column
|
|
@@ -197,23 +192,19 @@
|
|
|
prop="powerStationName"
|
|
|
width="150"
|
|
|
/>
|
|
|
- <el-table-column label="单位编码" align="center" prop="companyNo" />
|
|
|
+ <el-table-column label="单位编码" align="center" prop="orgNo" />
|
|
|
<el-table-column
|
|
|
label="变电站名称"
|
|
|
align="center"
|
|
|
- prop="siteName"
|
|
|
+ prop="subsNm"
|
|
|
width="100"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="停电户次数"
|
|
|
align="center"
|
|
|
- prop="powerOutageHouseholds"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- label="停电线次数"
|
|
|
- align="center"
|
|
|
- prop="powerOutageLine"
|
|
|
+ prop="householdNum"
|
|
|
/>
|
|
|
+ <el-table-column label="停电线次数" align="center" prop="lineNum" />
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
class="page-box"
|
|
@@ -252,30 +243,30 @@ export default {
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
- eventNo: null,
|
|
|
- lineName: null,
|
|
|
+ eventSn: null,
|
|
|
+ lineNm: null,
|
|
|
branchName: null,
|
|
|
- stopType: null,
|
|
|
+ judgePoweroffNatureDsc: null,
|
|
|
},
|
|
|
// 选中数组
|
|
|
selectedRows: [],
|
|
|
// 研判停电类型
|
|
|
- stopTypeList: [],
|
|
|
+ judgePoweroffNatureDscList: [],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getStopTypeList();
|
|
|
+ this.getjudgePoweroffNatureDscList();
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
// 风险类型
|
|
|
- async getStopTypeList() {
|
|
|
+ async getjudgePoweroffNatureDscList() {
|
|
|
const { data } = await this.getDicts("stop_type");
|
|
|
- this.stopTypeList = data;
|
|
|
+ this.judgePoweroffNatureDscList = data;
|
|
|
},
|
|
|
//标红table指定行
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
- if (row.stopType == 1) {
|
|
|
+ if (row.judgePoweroffNatureDsc == 1) {
|
|
|
return "warning-row";
|
|
|
}
|
|
|
return "";
|