通道昵称

master
fanluyan 2 years ago
parent f56f5f75b2
commit 9e6d856fea

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

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

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

Loading…
Cancel
Save