|
|
@ -11,6 +11,7 @@
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
:options="beLongCompanyIdOptions"
|
|
|
|
:options="beLongCompanyIdOptions"
|
|
|
|
:props="beLongCompanyIdProps"
|
|
|
|
:props="beLongCompanyIdProps"
|
|
|
|
|
|
|
|
@change="getbeLongStationIdOptions"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</JnpfSelect>
|
|
|
|
</JnpfSelect>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -154,9 +155,11 @@
|
|
|
|
algin="left"
|
|
|
|
algin="left"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span style="color: blue;cursor: pointer;" @click="fnShowDeviceInfo(scope.row)">{{
|
|
|
|
<span
|
|
|
|
scope.row.deviceName
|
|
|
|
style="color: blue;cursor: pointer;"
|
|
|
|
}}</span>
|
|
|
|
@click="fnShowDeviceInfo(scope.row)"
|
|
|
|
|
|
|
|
>{{ scope.row.deviceName }}</span
|
|
|
|
|
|
|
|
>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<!-- <el-table-column
|
|
|
|
<!-- <el-table-column
|
|
|
@ -365,7 +368,11 @@
|
|
|
|
ref="Detail"
|
|
|
|
ref="Detail"
|
|
|
|
@refresh="detailVisible = false"
|
|
|
|
@refresh="detailVisible = false"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<DeviceInfo v-if="deviceInfoVisible" ref="DeviceInfo" @refresh="deviceInfoVisible = false"/>
|
|
|
|
<DeviceInfo
|
|
|
|
|
|
|
|
v-if="deviceInfoVisible"
|
|
|
|
|
|
|
|
ref="DeviceInfo"
|
|
|
|
|
|
|
|
@refresh="deviceInfoVisible = false"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<ToFormDetail
|
|
|
|
<ToFormDetail
|
|
|
|
v-if="toFormDetailVisible"
|
|
|
|
v-if="toFormDetailVisible"
|
|
|
|
ref="toFormDetail"
|
|
|
|
ref="toFormDetail"
|
|
|
@ -484,11 +491,10 @@ export default {
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getColumnList(), this.initSearchDataAndListData();
|
|
|
|
this.getColumnList(), this.initSearchDataAndListData();
|
|
|
|
this.getbeLongCompanyIdOptions();
|
|
|
|
this.getbeLongCompanyIdOptions();
|
|
|
|
this.getbeLongStationIdOptions();
|
|
|
|
|
|
|
|
this.queryData = JSON.parse(JSON.stringify(this.query));
|
|
|
|
this.queryData = JSON.parse(JSON.stringify(this.query));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|
fnNavToRecyclecleanorder(deviceCode) {
|
|
|
|
fnNavToRecyclecleanorder(deviceCode) {
|
|
|
|
this.$router.push({
|
|
|
|
this.$router.push({
|
|
|
|
path: "/recyclecleanorder",
|
|
|
|
path: "/recyclecleanorder",
|
|
|
@ -662,7 +668,22 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getbeLongStationIdOptions() {
|
|
|
|
getbeLongStationIdOptions() {
|
|
|
|
getDataInterfaceRes("563705984451619653").then(res => {
|
|
|
|
this.query.beLongStationId = undefined
|
|
|
|
|
|
|
|
let template = {
|
|
|
|
|
|
|
|
paramList: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
dataType: "varchar",
|
|
|
|
|
|
|
|
defaultValue: this.query.beLongCompanyId,
|
|
|
|
|
|
|
|
field: "company_id",
|
|
|
|
|
|
|
|
fieldName: "公司id",
|
|
|
|
|
|
|
|
id: "Oe3gDA2",
|
|
|
|
|
|
|
|
jnpfKey: "select",
|
|
|
|
|
|
|
|
relationField: "beLongCompanyId",
|
|
|
|
|
|
|
|
required: "0"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
getDataInterfaceRes("563705984451619653",template).then(res => {
|
|
|
|
let data = res.data;
|
|
|
|
let data = res.data;
|
|
|
|
this.beLongStationIdOptions = data;
|
|
|
|
this.beLongStationIdOptions = data;
|
|
|
|
});
|
|
|
|
});
|
|
|
|