|
@@ -174,6 +174,17 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <el-dialog
|
|
|
+ title="课酬调整"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="width"
|
|
|
+ >
|
|
|
+ <div></div>
|
|
|
+ <div slot="footer">
|
|
|
+ <el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -199,6 +210,7 @@ export default {
|
|
|
month: null,
|
|
|
confirmStatus: null
|
|
|
},
|
|
|
+ dialogVisible:true,
|
|
|
isOpen: null,
|
|
|
teacherList: [],
|
|
|
tableList: [],
|
|
@@ -295,13 +307,19 @@ export default {
|
|
|
)
|
|
|
.toISOString()
|
|
|
.slice(0, 7);
|
|
|
-
|
|
|
- openSalaryConfirm({month}).then(res=>{
|
|
|
+ this.$confirm("您确定开启课酬确认?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(()=>{
|
|
|
+ openSalaryConfirm({month}).then(res=>{
|
|
|
if(res.code == 200){
|
|
|
this.$message.success('开启成功')
|
|
|
this.getList()
|
|
|
}
|
|
|
})
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
closeSalary(){
|
|
|
let now = new Date();
|
|
@@ -310,13 +328,19 @@ export default {
|
|
|
)
|
|
|
.toISOString()
|
|
|
.slice(0, 7);
|
|
|
-
|
|
|
- closeSalaryConfirm({month}).then(res=>{
|
|
|
+ this.$confirm("您确定关闭课酬确认?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(()=>{
|
|
|
+ closeSalaryConfirm({month}).then(res=>{
|
|
|
if(res.code == 200){
|
|
|
- this.$message.success('开启成功')
|
|
|
+ this.$message.success('关闭成功')
|
|
|
this.getList()
|
|
|
}
|
|
|
})
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
onExport() {
|
|
|
let url = "/api-web/export/isSettlementCourseSalarys";
|