mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
讲师管理bug
This commit is contained in:
@@ -81,9 +81,9 @@
|
||||
</a-form>
|
||||
<div style="width: 100%;"></div>
|
||||
<div style="display: flex; margin-bottom: 20px">
|
||||
<a-button @click="addTeacher()" type="primary" class="langbtn">
|
||||
<!-- <a-button @click="addTeacher()" type="primary" class="langbtn">
|
||||
<div class="search"></div> 添加授课记录
|
||||
</a-button>
|
||||
</a-button> -->
|
||||
<!-- <div style="margin-left: 20px ;">
|
||||
<a-button @click="addTeacher()" class="langbtn">
|
||||
<UploadOutlined /> 一键生成讲师费
|
||||
|
||||
@@ -65,9 +65,9 @@
|
||||
<div class="search"></div> 新增讲师
|
||||
</a-button>
|
||||
<div>
|
||||
<a-button @click="handleExport()" class="resetbtn">
|
||||
<!-- <a-button @click="handleExport()" class="resetbtn">
|
||||
<UploadOutlined /> 导出
|
||||
</a-button>
|
||||
</a-button> -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 表格 -->
|
||||
|
||||
@@ -94,13 +94,13 @@
|
||||
</a-form>
|
||||
<div style="width: 100%;"></div>
|
||||
<div style="display: flex; margin-bottom: 20px">
|
||||
<a-button @click="addTeacher()" type="primary" class="langbtn">
|
||||
<!-- <a-button @click="addTeacher()" type="primary" class="langbtn">
|
||||
<div class="search"></div> 添加授课记录
|
||||
</a-button>
|
||||
</a-button> -->
|
||||
<!-- <a-upload multiple :headers="headers" :show-upload-list="false" :before-upload="beforeUpload2"> -->
|
||||
<a-button class="resetbtn" @click="handleImport()">
|
||||
<!-- <a-button class="resetbtn" @click="handleImport()">
|
||||
<DownloadOutlined /> 导入
|
||||
</a-button>
|
||||
</a-button> -->
|
||||
<!-- </a-upload> -->
|
||||
<a-button @click="handleExport()" class="resetbtn">
|
||||
<UploadOutlined /> 导出
|
||||
@@ -291,7 +291,7 @@
|
||||
/>
|
||||
授课/课程日期 :
|
||||
</template>
|
||||
<a-date-picker class="draitem" v-model:value="teachingDate" style="width:100%" format="YYYY-MM-DD HH:mm"
|
||||
<a-date-picker :locale="locale" class="draitem" v-model:value="teachingDate" style="width:100%" format="YYYY-MM-DD HH:mm"
|
||||
:show-time="{ format: 'HH:mm' }" type="datetime" placeholder="请选择课程日期" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -502,6 +502,8 @@ import {
|
||||
DownloadOutlined
|
||||
} from '@ant-design/icons-vue';
|
||||
import dayjs from "dayjs";
|
||||
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
// import Editor from "@/components/project/Editor";
|
||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||
import { message } from "ant-design-vue";
|
||||
@@ -1521,7 +1523,8 @@ export default {
|
||||
// searchTimeChange,
|
||||
cancelTeachingDialog,
|
||||
// editTimeChange,
|
||||
scoreChange
|
||||
scoreChange,
|
||||
locale
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
/>
|
||||
授课/课程日期 :
|
||||
</template>
|
||||
<a-date-picker class="draitem" v-model:value="teachingDate" style="width:100%" :show-time="{ format: 'HH:mm' }" format="YYYY-MM-DD HH:mm" valueFormat="YYYY-MM-DD HH:mm"
|
||||
<a-date-picker :locale="locale" class="draitem" v-model:value="teachingDate" style="width:100%" :show-time="{ format: 'HH:mm' }" format="YYYY-MM-DD HH:mm" valueFormat="YYYY-MM-DD HH:mm"
|
||||
placeholder="请选择课程日期" @select="handleSelect" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -575,6 +575,8 @@
|
||||
import { reactive, toRefs, ref ,watch,onMounted} from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import dayjs from "dayjs";
|
||||
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
import {
|
||||
DownOutlined,
|
||||
UpOutlined,
|
||||
@@ -1874,6 +1876,7 @@ const column = ref([
|
||||
scoreNumber,
|
||||
clearPayableExpense,
|
||||
payExpense,
|
||||
locale,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
v-on:keydown.enter="enterPressHadlerSearch"/>
|
||||
</a-form-item>
|
||||
<a-form-item class="select " >
|
||||
<a-date-picker picker="month" style="width: 235px; height: 40px; border-radius: 8px" v-model:value="searchdate"
|
||||
<a-date-picker :locale="locale" picker="month" style="width: 235px; height: 40px; border-radius: 8px" v-model:value="searchdate"
|
||||
:placeholder="[ '请选择汇总周期']" @change="searchTimeChange" format="YYYY-MM" valueFormat="YYYY-MM"
|
||||
v-on:keydown.enter="enterPressHadlerSearch" />
|
||||
</a-form-item >
|
||||
@@ -171,6 +171,8 @@
|
||||
<MonthlyStatistics v-model:visible="opendrawer" :id="drawerId" ></MonthlyStatistics>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
import { reactive, toRefs, ref, watch,onMounted } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import dayjs from "dayjs";
|
||||
@@ -823,7 +825,7 @@ export default {
|
||||
columnstableDetailList,
|
||||
columnstableFeeList,
|
||||
searchResetPrevious,
|
||||
|
||||
locale,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user