|
@@ -35,7 +35,7 @@
|
|
|
</PageWrapper>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent, onMounted, ref } from 'vue';
|
|
|
+import { defineComponent, onMounted, ref, onActivated } from 'vue';
|
|
|
import { PageWrapper } from '/@/components/Page';
|
|
|
import {
|
|
|
BasicTable,
|
|
@@ -102,7 +102,7 @@ export default defineComponent({
|
|
|
},
|
|
|
{
|
|
|
title: '售后工程师',
|
|
|
- dataIndex: 'repairManName',
|
|
|
+ dataIndex: 'saleName',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
@@ -151,12 +151,31 @@ export default defineComponent({
|
|
|
},
|
|
|
schemas: [
|
|
|
{
|
|
|
- field: 'customerName',
|
|
|
- component: 'Input',
|
|
|
- label: '客户名称',
|
|
|
+ field: 'cameraType',
|
|
|
+ component: 'Select',
|
|
|
+ label: '产品类型',
|
|
|
colProps: {
|
|
|
xl: 7,
|
|
|
xxl: 7,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: t('routes.device.type.1'),
|
|
|
+ value: 0,
|
|
|
+ key: '0',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: t('routes.device.type.2'),
|
|
|
+ value: 1,
|
|
|
+ key: '1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: t('routes.device.type.3'),
|
|
|
+ value: 2,
|
|
|
+ key: '2',
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -168,30 +187,6 @@ export default defineComponent({
|
|
|
xxl: 7,
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- field: 'trackingNum',
|
|
|
- component: 'Input',
|
|
|
- label: '快递单号',
|
|
|
- colProps: {
|
|
|
- xl: 7,
|
|
|
- xxl: 7,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- field: 'timeList',
|
|
|
- label: '报修日期',
|
|
|
- component: 'RangePicker',
|
|
|
- componentProps: {
|
|
|
- maxLength: 100,
|
|
|
- format: 'YYYY-MM-DD',
|
|
|
- valueFormat: 'YYYY-MM-DD',
|
|
|
- showTime: true,
|
|
|
- },
|
|
|
- colProps: {
|
|
|
- xl: 7,
|
|
|
- xxl: 7,
|
|
|
- },
|
|
|
- },
|
|
|
],
|
|
|
};
|
|
|
const [registerRecovery, { openModal }] = useModal();
|
|
@@ -224,6 +219,10 @@ export default defineComponent({
|
|
|
function handleOrder() {
|
|
|
openModal(true);
|
|
|
}
|
|
|
+
|
|
|
+ onActivated(()=>{
|
|
|
+ reload();
|
|
|
+ })
|
|
|
function changeTable(val: string) {
|
|
|
tableType.value = val;
|
|
|
reload();
|