GuLiMmo
2023-12-25 36cf6c5a265d3300a286e2aff6058b82bca8227e
src/views/evaluate/components/addDialog.vue
@@ -200,7 +200,7 @@
        },
        handleSubmit() {
            this.$refs.addFormRef.validate(valid => {
                this.addForm.evaluateState = 1
                this.params.type && (this.addForm.evaluateState = 1)
                add(this.addForm).then(
                    () => {
                        this.$message({
@@ -261,8 +261,9 @@
                }
            })
            const depts_list = _.cloneDeep(deptList)
            this.depts = []
            for (const dept of depts_list) {
                const employeeRes = await getList(1, 99999, {}, dept.id)
                const employeeRes = await getList(1, 99999, { userType: 2 }, dept.id)
                const { records } = employeeRes.data.data
                this.depts.push({
                    deptId: dept.id,