|
@@ -2,7 +2,7 @@
|
|
|
<scTable ref="xGridTable" batchDel :apiObj="$API.car_rinse.record" :formConfig="formConfig" :paramsColums="paramsColums" :toolbarConfig="toolbarConfig" :columns="columns" v-bind="props.options">
|
|
<scTable ref="xGridTable" batchDel :apiObj="$API.car_rinse.record" :formConfig="formConfig" :paramsColums="paramsColums" :toolbarConfig="toolbarConfig" :columns="columns" v-bind="props.options">
|
|
|
<template #default_imgUrl="{ row, column }">
|
|
<template #default_imgUrl="{ row, column }">
|
|
|
<template v-if="XEUtils.get(row, `folders.${column.field}.entities[0].path`)">
|
|
<template v-if="XEUtils.get(row, `folders.${column.field}.entities[0].path`)">
|
|
|
- <sc-image style="cursor: pointer;" :fileName="XEUtils.get(row, `folders.${column.field}.entities[0].name`)" :path="XEUtils.get(row, `folders.${column.field}.entities[0].path`)" width="40" height="40"></sc-image>
|
|
|
|
|
|
|
+ <sc-image style="cursor: pointer;" :fileName="XEUtils.get(row, `folders.${column.field}.entities[0].name`)" :path="config.API_URL + XEUtils.get(row, `folders.${column.field}.entities[0].path`)" width="40" height="40"></sc-image>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -23,6 +23,7 @@
|
|
|
import moment from "moment";
|
|
import moment from "moment";
|
|
|
import XEUtils from "xe-utils";
|
|
import XEUtils from "xe-utils";
|
|
|
import API from "@/api";
|
|
import API from "@/api";
|
|
|
|
|
+import config from "@/config"
|
|
|
import TOOL from "@/utils/tool";
|
|
import TOOL from "@/utils/tool";
|
|
|
import { mapFormItemInput, mapFormItemSelect, mapFormItemDatePicker } from "@/components/scTable/helper";
|
|
import { mapFormItemInput, mapFormItemSelect, mapFormItemDatePicker } from "@/components/scTable/helper";
|
|
|
import { dataSource } from "@/utils/basicDic";
|
|
import { dataSource } from "@/utils/basicDic";
|