Merge branch 'fly' into xy-ly

master
fanluyan 2 years ago
commit 4572640f4f

@ -93,7 +93,13 @@
<span> {{ $moment(item.recvTime).format("HH:mm:ss") }}</span> <span> {{ $moment(item.recvTime).format("HH:mm:ss") }}</span>
</el-tooltip> </el-tooltip>
) )
<span>--通道{{ item.channelId }}</span> <span
>--{{
item.alias !== null && item.alias !== ""
? item.alias
: item.channnelname
}}</span
>
</p> </p>
</div> </div>
<div <div
@ -127,7 +133,7 @@
<span> {{ $moment(item.recvTime).format("HH:mm:ss") }}</span> <span> {{ $moment(item.recvTime).format("HH:mm:ss") }}</span>
</el-tooltip> </el-tooltip>
) )
<span>--通道{{ item.channelId }}</span> <span>--{{ item.channelName }}</span>
</p> </p>
</div> </div>
<div class="smallnoPic" v-else> <div class="smallnoPic" v-else>

@ -48,7 +48,11 @@
<img src="../../assets/img/nopic.jpg" /> <img src="../../assets/img/nopic.jpg" />
</div> </div>
<p class="infoTop"> <p class="infoTop">
{{ item.linename }}-{{ item.displayname }}-{{ item.channnelname }} {{ item.linename }}-{{ item.displayname }}-{{
item.alias !== null && item.alias !== ""
? item.alias
: item.channnelname
}}
</p> </p>
<p class="infoBottom" v-if="item.photoTime !== null"> <p class="infoBottom" v-if="item.photoTime !== null">
{{ $moment(item.photoTime).format("yy-MM-DD HH:mm:ss") }}  {{ $moment(item.photoTime).format("yy-MM-DD HH:mm:ss") }} 

@ -121,7 +121,11 @@
:command="item.value" :command="item.value"
v-for="(item, index) in channelOption" v-for="(item, index) in channelOption"
:key="index" :key="index"
>{{ item.label }}</el-dropdown-item >{{
item.alias !== null && item.alias !== ""
? item.alias
: item.label
}}</el-dropdown-item
> >
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@ -138,7 +142,11 @@
:command="item.value" :command="item.value"
v-for="(item, index) in channelOption" v-for="(item, index) in channelOption"
:key="index" :key="index"
>{{ item.label }}</el-dropdown-item >{{
item.alias !== null && item.alias !== ""
? item.alias
: item.label
}}</el-dropdown-item
> >
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@ -392,6 +400,7 @@ export default {
label: item.channelname, label: item.channelname,
value: item.channelid, value: item.channelid,
termid: item.termId, termid: item.termId,
alias: item.alias,
}); });
this.channelValue.push(item.channelid); // this.channelValue.push(item.channelid); //
}); // select }); // select

@ -49,19 +49,9 @@
<el-option <el-option
v-for="item in tdOptions" v-for="item in tdOptions"
:key="item.id" :key="item.id"
:label=" :label="item.name"
item.alias !== null && item.alias !== ''
? item.alias
: item.name
"
:value="item.id" :value="item.id"
> ></el-option>
{{
item.alias !== null && item.alias !== ""
? item.alias
: item.name
}}
</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="日期"> <el-form-item label="日期">
@ -107,7 +97,7 @@
拍照时间{{ 拍照时间{{
$moment(item.photoTime).format("MM-DD HH:mm") $moment(item.photoTime).format("MM-DD HH:mm")
}} }}
/ {{ item.channnelname }} /
{{ {{
item.alias !== null && item.alias !== "" item.alias !== null && item.alias !== ""
? item.alias ? item.alias
@ -137,7 +127,9 @@
}} }}
</p> </p>
<p class="infoBottom"> <p class="infoBottom">
拍照时间{{ $moment(item.photoTime).format("MM-DD HH:mm") }} 拍照时间{{
$moment(item.photoTime).format("MM-DD HH:mm")
}}
/ /
{{ {{
item.alias !== null && item.alias !== "" item.alias !== null && item.alias !== ""
@ -192,7 +184,7 @@ export default {
xlOptions: [{ id: 0, name: "全部" }], //线 xlOptions: [{ id: 0, name: "全部" }], //线
gtOptions: [{ id: 0, name: "全部" }], // gtOptions: [{ id: 0, name: "全部" }], //
zzOptions: [{ id: 0, name: "全部" }], // zzOptions: [{ id: 0, name: "全部" }], //
tdOptions: [{ id: 0, name: "全部", alias: "" }], // tdOptions: [{ id: 0, name: "全部" }], //
formdata: { formdata: {
dyid: "", dyid: "",
lineid: "", lineid: "",
@ -272,7 +264,7 @@ export default {
getSearchtd() { getSearchtd() {
getSearchInfo({ type: 5, id: this.formdata.termid }) getSearchInfo({ type: 5, id: this.formdata.termid })
.then((res) => { .then((res) => {
this.tdOptions = [{ id: 0, name: "全部", alias: "" }]; this.tdOptions = [{ id: 0, name: "全部" }];
this.tdOptions = this.tdOptions.concat(res.data.list); this.tdOptions = this.tdOptions.concat(res.data.list);
this.formdata.channelid = this.tdOptions[0].id; this.formdata.channelid = this.tdOptions[0].id;
// if (this.signtype == 0) { // if (this.signtype == 0) {

Loading…
Cancel
Save