|
@@ -59,7 +59,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import { getLastMonthData } from "@/api/technicianRoster";
|
|
|
|
|
|
|
+import { getLastMonthData } from "@/api/basicResource/technicianRoster";
|
|
|
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 UploadExcelDialog from "@/components/upload-excel-dialog";
|
|
import UploadExcelDialog from "@/components/upload-excel-dialog";
|
|
@@ -161,6 +161,7 @@ export default window.$crudCommon({
|
|
|
getLastMonthData({ yearAndMonth: this.params.yearAndMonth}).then(res => {
|
|
getLastMonthData({ yearAndMonth: this.params.yearAndMonth}).then(res => {
|
|
|
let data = res.data;
|
|
let data = res.data;
|
|
|
if (data.success) {
|
|
if (data.success) {
|
|
|
|
|
+
|
|
|
this.$message.success('读取成功!');
|
|
this.$message.success('读取成功!');
|
|
|
this.page.currentPage = 1;
|
|
this.page.currentPage = 1;
|
|
|
this.getList(this.page);
|
|
this.getList(this.page);
|
|
@@ -171,7 +172,7 @@ export default window.$crudCommon({
|
|
|
},
|
|
},
|
|
|
}, {
|
|
}, {
|
|
|
// 模块路径
|
|
// 模块路径
|
|
|
- name: 'technicianRoster',
|
|
|
|
|
|
|
+ name: 'basicResource/technicianRoster',
|
|
|
res: ({ data }) => {
|
|
res: ({ data }) => {
|
|
|
data.records = data.records.map(item => {
|
|
data.records = data.records.map(item => {
|
|
|
item.gender = item.gender ? String(item.gender) : '';
|
|
item.gender = item.gender ? String(item.gender) : '';
|