加班管理
This commit is contained in:
parent
e69abd3cca
commit
c4a522b8b6
@ -358,7 +358,7 @@ const total = ref(0) // 列表的总页数
|
|||||||
|
|
||||||
const pageNo = ref<number>(1)
|
const pageNo = ref<number>(1)
|
||||||
const calendar = ref<CalendarInstance>()
|
const calendar = ref<CalendarInstance>()
|
||||||
const selectDate = (val: CalendarDateType) => {
|
const selectDate = async (val: CalendarDateType) => {
|
||||||
if (!calendar.value) return
|
if (!calendar.value) return
|
||||||
calendar.value.selectDate(val)
|
calendar.value.selectDate(val)
|
||||||
}
|
}
|
||||||
@ -389,8 +389,8 @@ const more = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 处理审批按钮 */
|
/** 处理审批按钮 */
|
||||||
const handleAudit = (row: any) => {
|
const handleAudit =async (row: any) => {
|
||||||
push({
|
await push({
|
||||||
name: 'BpmProcessInstanceDetail',
|
name: 'BpmProcessInstanceDetail',
|
||||||
query: {
|
query: {
|
||||||
id: row.processInstance.id
|
id: row.processInstance.id
|
||||||
@ -398,8 +398,8 @@ const handleAudit = (row: any) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
/** 处理审批按钮 */
|
/** 处理审批按钮 */
|
||||||
const handleAudit2 = (row: any) => {
|
const handleAudit2 =async (row: any) => {
|
||||||
push({
|
await push({
|
||||||
name: 'BpmProcessInstanceDetail',
|
name: 'BpmProcessInstanceDetail',
|
||||||
query: {
|
query: {
|
||||||
id: row.processInstanceId
|
id: row.processInstanceId
|
||||||
@ -497,13 +497,13 @@ const dialogTitle = ref('') // 弹窗的标题
|
|||||||
const openDialog = async (type:number,id?:number) => {
|
const openDialog = async (type:number,id?:number) => {
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
dialogTitle.value = type===1?'公告':'通知'
|
dialogTitle.value = type===1?'公告':'通知'
|
||||||
resetForm()
|
await resetForm()
|
||||||
if (id) {
|
if (id) {
|
||||||
formData.value = await imgApi.getimg(id)
|
formData.value = await imgApi.getimg(id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** 重置表单 */
|
/** 重置表单 */
|
||||||
const resetForm = () => {
|
const resetForm = async () => {
|
||||||
formData.value = {
|
formData.value = {
|
||||||
Id: undefined,
|
Id: undefined,
|
||||||
newsName: undefined,
|
newsName: undefined,
|
||||||
@ -595,23 +595,14 @@ const getAllApi = async () => {
|
|||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
getAllApi()
|
|
||||||
|
|
||||||
/** 初始化 **/
|
/** 初始化 **/
|
||||||
onMounted(() => {
|
onMounted(async () => {
|
||||||
getList()
|
await getAllApi()
|
||||||
|
await getList()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.el-carousel__item h3 {
|
|
||||||
opacity: 0.75;
|
|
||||||
line-height: 200px;
|
|
||||||
margin: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
.el-table .warning-row {
|
.el-table .warning-row {
|
||||||
@ -620,6 +611,12 @@ onMounted(() => {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.el-carousel__item h3 {
|
||||||
|
opacity: 0.75;
|
||||||
|
line-height: 200px;
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
.SystemThem {
|
.SystemThem {
|
||||||
background-color: var(--el-color-primary);
|
background-color: var(--el-color-primary);
|
||||||
}
|
}
|
||||||
|
@ -284,7 +284,7 @@ const handleExport = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 初始化 **/
|
/** 初始化 **/
|
||||||
onMounted(() => {
|
onMounted(async () => {
|
||||||
getList()
|
await getList()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -288,8 +288,8 @@ const handleExport = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** 初始化 **/
|
/** 初始化 **/
|
||||||
onMounted(() => {
|
onMounted(async () => {
|
||||||
getList()
|
await getList()
|
||||||
// const dataT = ref(null)
|
// const dataT = ref(null)
|
||||||
// getConfigKey("test4").then((res) => {
|
// getConfigKey("test4").then((res) => {
|
||||||
// if (!res || res.length === 0){
|
// if (!res || res.length === 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user