|
@@ -48,6 +48,11 @@
|
|
|
<year-month-select v-model="params.yearAndMonth" :showMonth="false"></year-month-select>
|
|
<year-month-select v-model="params.yearAndMonth" :showMonth="false"></year-month-select>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+
|
|
|
|
|
+ <div v-for="key of watchUpdateKey" :slot="key" slot-scope="scope" :key="key">
|
|
|
|
|
+ <updated-text v-if="scope.row[key+'Edit'] === 1" :text="scope.row[key]"></updated-text>
|
|
|
|
|
+ <span v-else>{{ scope.row[key] }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
</avue-crud>
|
|
</avue-crud>
|
|
|
|
|
|
|
@@ -71,6 +76,7 @@
|
|
|
import { getLastMonthData } from "@/api/technicianMonthAvgSales";
|
|
import { getLastMonthData } from "@/api/technicianMonthAvgSales";
|
|
|
import {exportBloByPost} from "@/api/common";
|
|
import {exportBloByPost} from "@/api/common";
|
|
|
import YearMonthSelect from "@/components/year-month-select";
|
|
import YearMonthSelect from "@/components/year-month-select";
|
|
|
|
|
+import UpdatedText from "@/components/updated-text";
|
|
|
import moment from "moment";
|
|
import moment from "moment";
|
|
|
import NProgress from 'nprogress';
|
|
import NProgress from 'nprogress';
|
|
|
import 'nprogress/nprogress.css';
|
|
import 'nprogress/nprogress.css';
|
|
@@ -82,6 +88,7 @@ import Decimal from "decimal.js";
|
|
|
export default window.$crudCommon({
|
|
export default window.$crudCommon({
|
|
|
components: {
|
|
components: {
|
|
|
YearMonthSelect,
|
|
YearMonthSelect,
|
|
|
|
|
+ UpdatedText,
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|