|
@@ -345,18 +345,13 @@ export default {
|
|
|
return obj;
|
|
|
},
|
|
|
openSalary() {
|
|
|
- let now = new Date();
|
|
|
- let month = new Date(
|
|
|
- Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
|
|
|
- )
|
|
|
- .toISOString()
|
|
|
- .slice(0, 7);
|
|
|
+
|
|
|
this.$confirm("您确定开启课酬确认?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
- openSalaryConfirm({ month }).then(res => {
|
|
|
+ openSalaryConfirm({ month:this.searchForm.month }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("开启成功");
|
|
|
this.getList();
|