|
@@ -23,7 +23,7 @@
|
|
|
@page-change="pageChange"
|
|
|
>
|
|
|
<template slot-scope="scope" slot="periodValue">{{
|
|
|
- scope.row.periodType == 1 ? `每周${scope.row.periodValue}` : `每隔${scope.row.periodValue}天`
|
|
|
+ scope.row.periodType == 1 ? `每周${periodValueType(scope.row.periodValue)}` : `每隔${scope.row.periodValue}天`
|
|
|
}}</template>
|
|
|
<template slot-scope="scope" slot="opt">
|
|
|
<div class="opt">
|
|
@@ -142,6 +142,12 @@ export default {
|
|
|
this.isLook = 'index';
|
|
|
this.thisObj = {};
|
|
|
this.mixins_search();
|
|
|
+ },
|
|
|
+ periodValueType(value) {
|
|
|
+ if (!!value) {
|
|
|
+ return value.split(',').sort().toString();
|
|
|
+ }
|
|
|
+ return '--';
|
|
|
}
|
|
|
}
|
|
|
};
|