|
@@ -7,6 +7,7 @@
|
|
|
:datasource="datasource"
|
|
:datasource="datasource"
|
|
|
cache-key="systemRoleTable"
|
|
cache-key="systemRoleTable"
|
|
|
:pageSize="20"
|
|
:pageSize="20"
|
|
|
|
|
+ :initLoad="false"
|
|
|
>
|
|
>
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</div>
|
|
</div>
|
|
@@ -18,6 +19,7 @@
|
|
|
getSalesWorkOrderById
|
|
getSalesWorkOrderById
|
|
|
} from '@/api/salesServiceManagement/index';
|
|
} from '@/api/salesServiceManagement/index';
|
|
|
import { getByCode } from '@/api/system/dictionary-data';
|
|
import { getByCode } from '@/api/system/dictionary-data';
|
|
|
|
|
+import { init } from 'echarts';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
props: {
|
|
props: {
|
|
@@ -183,6 +185,9 @@
|
|
|
this.getLevelCode('fault_level');
|
|
this.getLevelCode('fault_level');
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ init(){
|
|
|
|
|
+ this.$refs.table.reload({ page: 1 });
|
|
|
|
|
+ },
|
|
|
async getLevelCode(code) {
|
|
async getLevelCode(code) {
|
|
|
const res = await getByCode(code);
|
|
const res = await getByCode(code);
|
|
|
if (res?.code === '0') {
|
|
if (res?.code === '0') {
|
|
@@ -196,6 +201,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
datasource({ page, limit, where, order }) {
|
|
datasource({ page, limit, where, order }) {
|
|
|
|
|
+ console.log('where', this.contactData.id);
|
|
|
// let isDispatch = '1';
|
|
// let isDispatch = '1';
|
|
|
return getSalesWorkOrder({
|
|
return getSalesWorkOrder({
|
|
|
pageNum: page,
|
|
pageNum: page,
|