|
|
@@ -50,14 +50,15 @@ export default defineComponent({
|
|
|
if (r?.resp_code == 0 && r?.datas?.length) {
|
|
|
var a = r.datas.find(i => i.resInfo.SERVICEID == e.SERVICEID);
|
|
|
if (a) {
|
|
|
- var shyj = [];
|
|
|
- if (a?.shlc?.length > 1) {
|
|
|
- a.shlc.map((i, index) => {
|
|
|
- if (index != 0 && index != a.shlc.length - 1) {
|
|
|
- shyj.push(i.USER_NAME + ":" + i.CHECKINFO)
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ // var shyj = [];
|
|
|
+ // if (a?.shlc?.length > 1) {
|
|
|
+ // a.shlc.map((i, index) => {
|
|
|
+ // if (index != 0 && index != a.shlc.length - 1) {
|
|
|
+ // shyj.push(i.USER_NAME + ":" + i.CHECKINFO)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ var shyj = a?.shlc?.slice(1, -1).map(i => i.USER_NAME + ":" + i.CHECKINFO) || [];
|
|
|
shyjInfo.value = shyj.join(";");
|
|
|
info.value = a;
|
|
|
}
|