发展档案bug
This commit is contained in:
parent
493f7e3c7b
commit
2d13c6f58c
@ -456,7 +456,7 @@ export default {
|
|||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const ids = row.id || this.ids;
|
const ids = row.id || this.ids;
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
'是否确认删除幼儿考勤编号为"' + ids + '"的数据项?',
|
'是否确认删除幼儿考勤的数据项?',
|
||||||
"警告",
|
"警告",
|
||||||
{
|
{
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
|
@ -509,7 +509,11 @@ export default {
|
|||||||
phone: undefined,
|
phone: undefined,
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {
|
||||||
|
// csrq: [
|
||||||
|
// { required: true, message: "出生日期不能为空", trigger: "blur" },
|
||||||
|
// ],
|
||||||
|
},
|
||||||
// 监护人表单参数
|
// 监护人表单参数
|
||||||
form_jhr: {},
|
form_jhr: {},
|
||||||
};
|
};
|
||||||
|
@ -87,7 +87,6 @@
|
|||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center"
|
align="center"
|
||||||
:selectable="isShow"
|
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
fixed
|
fixed
|
||||||
@ -148,7 +147,7 @@
|
|||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['benyi:themetermplan:edit']"
|
v-hasPermi="['benyi:themetermplan:edit']"
|
||||||
v-show="isShow(scope.row)"
|
|
||||||
>审批</el-button
|
>审批</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@ -305,14 +304,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isShow(row) {
|
|
||||||
// console.log(row.status);
|
|
||||||
if (row.status == "1") {
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 字典翻译
|
// 字典翻译
|
||||||
classFormat(row, column) {
|
classFormat(row, column) {
|
||||||
// return this.selectDictLabel(this.classOptions, row.classid);
|
// return this.selectDictLabel(this.classOptions, row.classid);
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
></el-date-picker>
|
></el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :ms="12" :md="5">
|
<el-col :xs="24" :ms="12" :md="4">
|
||||||
<el-form-item label="所属周次" prop="zc">
|
<el-form-item label="所属周次" prop="zc">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
class="my-date-picker"
|
class="my-date-picker"
|
||||||
|
@ -224,10 +224,13 @@ public class ByAssessmentcontentController extends BaseController {
|
|||||||
int countChild = byAssessmentcontentService.selectCountElementByChild(byAssessmentcontent);
|
int countChild = byAssessmentcontentService.selectCountElementByChild(byAssessmentcontent);
|
||||||
if (scope.equals("1")) {
|
if (scope.equals("1")) {
|
||||||
douArr.add((((double) 48 / count) * countChild));
|
douArr.add((((double) 48 / count) * countChild));
|
||||||
|
System.out.println("48:"+count+"-"+countChild);
|
||||||
} else if (scope.equals("2")) {
|
} else if (scope.equals("2")) {
|
||||||
douArr.add((((double) 60 / count) * countChild));
|
douArr.add((((double) 60 / count) * countChild));
|
||||||
|
System.out.println("60:"+count+"-"+countChild);
|
||||||
} else if (scope.equals("3")) {
|
} else if (scope.equals("3")) {
|
||||||
douArr.add((((double) 72 / count) * countChild));
|
douArr.add((((double) 72 / count) * countChild));
|
||||||
|
System.out.println("72:"+count+"-"+countChild);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ajaxResult.put("statistics", douArr);
|
ajaxResult.put("statistics", douArr);
|
||||||
|
@ -143,6 +143,7 @@ public class BySchoolController extends BaseController
|
|||||||
//通过selectdeptlist来获取deptid
|
//通过selectdeptlist来获取deptid
|
||||||
dept.setDeptId(deptService.selectDeptList(dept).get(0).getDeptId());
|
dept.setDeptId(deptService.selectDeptList(dept).get(0).getDeptId());
|
||||||
dept.setStatus(bySchool.getStatus());
|
dept.setStatus(bySchool.getStatus());
|
||||||
|
dept.setDeptName(bySchool.getSchoolName());
|
||||||
deptService.updateDept(dept);
|
deptService.updateDept(dept);
|
||||||
return toAjax(bySchoolService.updateBySchool(bySchool));
|
return toAjax(bySchoolService.updateBySchool(bySchool));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user