|
|
@@ -40,11 +40,11 @@
|
|
|
</template>
|
|
|
|
|
|
<template slot="xmIdForm">
|
|
|
- <project-select placeholder="请选择项目名称" v-model="form.xmId" :params="{ yearAndMonth: params.yearAndMonth }" :noDetail="true" @change="handleProjectChange"></project-select>
|
|
|
+ <project-select placeholder="请选择项目名称" v-model="form.xmId" :params="{ yearAndMonth: params.yearAndMonth }" :noDetail="true"></project-select>
|
|
|
</template>
|
|
|
|
|
|
<template slot="unicodeForm">
|
|
|
- <project-person-select v-model="form.unicode" :startDate="projectStartMonth" :disabled="!form.xmId" />
|
|
|
+ <person-select v-model="form.unicode" :yearAndMonth="params.yearAndMonth" />
|
|
|
</template>
|
|
|
|
|
|
</avue-crud>
|
|
|
@@ -69,7 +69,7 @@ import 'nprogress/nprogress.css';
|
|
|
import {getToken} from "@/util/auth";
|
|
|
import {downloadXls} from "@/util/util";
|
|
|
import projectSelect from "@/components/project-select";
|
|
|
-import projectPersonSelect from "@/components/project-person-select";
|
|
|
+import personSelect from "@/components/person-select";
|
|
|
import {yyysbmd} from "@/api/techPerson/monthSjcyry"
|
|
|
|
|
|
|
|
|
@@ -77,7 +77,7 @@ export default window.$crudCommon({
|
|
|
components: {
|
|
|
YearMonthSelect,
|
|
|
projectSelect,
|
|
|
- projectPersonSelect
|
|
|
+ personSelect
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -89,9 +89,6 @@ export default window.$crudCommon({
|
|
|
|
|
|
wideTableColumns: [],
|
|
|
printTitle: "",
|
|
|
-
|
|
|
- // 项目开始月份
|
|
|
- projectStartMonth: ''
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -134,9 +131,6 @@ export default window.$crudCommon({
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- handleProjectChange(data) {
|
|
|
- this.projectStartMonth = moment(data.xmkssj).format('yyyyMM');
|
|
|
- },
|
|
|
handleExport() {
|
|
|
this.$confirm("是否导出吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|