游戏数学备课

This commit is contained in:
zhanglipeng 2021-09-02 11:54:40 +08:00
parent ff222b6aec
commit 9def2f5508
15 changed files with 75 additions and 81 deletions

View File

@ -321,7 +321,7 @@ export const constantRoutes = [
{
path: "data/:id",
component: () => import("@/views/benyi/mathtermplan/data"),
name: "Mathtermplan1",
name: "Mathtermplanitem",
meta: {
title: "游戏数学学期计划(明细)",
icon: ""
@ -337,7 +337,7 @@ export const constantRoutes = [
{
path: "table/:id",
component: () => import("@/views/benyi/mathtermplan/table"),
name: "Mathtermplan2",
name: "MathTermTable",
meta: {
title: "游戏数学学期计划(表格)",
icon: ""

View File

@ -273,7 +273,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除评估体系介绍编号为"' + ids + '"的数据项?',
'是否确认删除评估体系介绍数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -368,7 +368,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除园历管理(本一)编号为"' + ids + '"的数据项?',
'是否确认删除园历管理(本一)数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -982,7 +982,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除本一-客户关系管理编号为"' + ids + '"的数据项?',
'是否确认删除本一-客户关系管理数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -467,7 +467,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除幼儿园一日流程评估计划编号为"' + ids + '"的数据项?',
'是否确认删除幼儿园一日流程评估计划数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -628,7 +628,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除入班体验申请编号为"' + ids + '"的数据项?',
'是否确认删除入班体验申请数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -443,7 +443,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除儿童学习与发展档案(家长)编号为"' + ids + '"的数据项?',
'是否确认删除儿童学习与发展档案(家长)数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -443,7 +443,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除儿童学习与发展档案(教师)编号为"' + ids + '"的数据项?',
'是否确认删除儿童学习与发展档案(教师)数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -450,7 +450,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除游戏数学方案编号为"' + ids + '"的数据项?',
'是否确认删除游戏数学方案数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -64,16 +64,6 @@
v-show="isShow"
>填充</el-button
>
<el-button
type="danger"
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['benyi:mathtermplan:remove']"
v-show="isShow"
>删除</el-button
>
</div>
<el-table
@ -115,15 +105,6 @@
v-show="isShow"
>填充</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['benyi:mathtermplan:remove']"
v-show="isShow"
>删除</el-button
>
</template>
</el-table-column>
</el-table>
@ -156,6 +137,7 @@
value-format="yyyy-MM"
placeholder="选择月份"
class="my-date-picker"
:disabled="true"
>
</el-date-picker>
</el-form-item>
@ -464,27 +446,27 @@ export default {
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除游戏数学学期计划明细编号为"' + ids + '"的数据项?',
"警告",
{
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}
)
.then(function () {
return delMathtermplanitem(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
.catch(function () {});
},
// /** */
// handleDelete(row) {
// const ids = row.id || this.ids;
// this.$confirm(
// '"' + ids + '"?',
// "",
// {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// }
// )
// .then(function () {
// return delMathtermplanitem(ids);
// })
// .then(() => {
// this.getList();
// this.msgSuccess("");
// })
// .catch(function () {});
// },
},
};
</script>

View File

@ -1,9 +1,15 @@
<template>
<div class="table-container" ref="printMe">
<h2 class="title">{{title}}</h2>
<h2 class="title">{{ title }}</h2>
<div class="table">
<div class="print no-print">
<el-button type="primary" plain size="mini" icon="el-icon-printer" @click="prints"></el-button>
<el-button
type="primary"
plain
size="mini"
icon="el-icon-printer"
@click="prints"
></el-button>
</div>
<table>
<tr class="align-center">
@ -13,32 +19,36 @@
</td>-->
<td class="w140">
<b class="table-title">班级</b>
{{classname}}
{{ classname }}
</td>
<td>
<b class="table-title">学期</b>
{{xnxqFormat(xnxq)}}
{{ xnxqFormat(xnxq) }}
</td>
<td class="w200">
<b class="table-title">制定人</b>
{{tbr}}
{{ tbr }}
</td>
</tr>
<tr class="align-center table-bg">
<td v-for="h in bodyData.title" :key="h.prop">
<b>{{h.label}}</b>
<b>{{ h.label }}</b>
</td>
</tr>
<tr v-for="item in bodyData.termplanitemList" :key="item.id">
<td class="align-center">
<span>{{item.month}}</span>
<span>{{ item.month }}</span>
</td>
<td class="align-center">{{mathFormat(item.mathconent)}}</td>
<td>{{item.remark}}</td>
<td class="align-center">{{ mathFormat(item.mathconent) }}</td>
<td>{{ item.remark }}</td>
</tr>
<tr>
<td class="align-center">备注</td>
<td colspan="2">{{ remark }}</td>
</tr>
<tr>
<td class="align-center">教学主管审批</td>
<td colspan="2">{{spyj}}</td>
<td colspan="2">{{ spyj }}</td>
</tr>
</table>
<!-- <p
@ -58,7 +68,7 @@ import {
import { listPlan } from "@/api/benyi/plan";
export default {
name: "TermTable",
name: "MathTermTable",
data() {
return {
//
@ -69,6 +79,7 @@ export default {
xnxq: "",
classname: "",
tbr: "",
remark: "",
spyj: "",
bodyData: {
title: [
@ -137,6 +148,7 @@ export default {
this.classname = response.classname;
this.xnxq = response.data.xnxq;
this.spyj = response.data.spyj;
this.remark = response.data.remark;
});
this.listMathTermItemPlan();
},

View File

@ -598,23 +598,23 @@ export default {
this.title = "修改周计划(家长和教育部门)";
});
},
/** 审核提交按钮操作 */
handleCheck(row) {
const ids = row.id || this.ids;
this.$confirm('确认提交周计划编号为"' + ids + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return checkPlanweek(ids);
})
.then(() => {
this.getList();
this.msgSuccess("提交成功");
})
.catch(function () {});
},
// /** */
// handleCheck(row) {
// const ids = row.id || this.ids;
// this.$confirm('"' + ids + '"?', "", {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// })
// .then(function () {
// return checkPlanweek(ids);
// })
// .then(() => {
// this.getList();
// this.msgSuccess("");
// })
// .catch(function () {});
// },
isShow(row) {
if (row.status == "1" || row.status == "2") {
return false;

View File

@ -510,7 +510,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除园历管理编号为"' + ids + '"的数据项?',
'是否确认删除园历管理数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -482,7 +482,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除园历管理(班级)编号为"' + ids + '"的数据项?',
'是否确认删除园历管理(班级)数据项?',
"警告",
{
confirmButtonText: "确定",

View File

@ -568,7 +568,7 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$confirm(
'是否确认删除主题整合周计划明细编号为"' + ids + '"的数据项?',
'是否确认删除主题整合周计划明细数据项?',
"警告",
{
confirmButtonText: "确定",