修改
This commit is contained in:
parent
c50fdb27b6
commit
6dde8e62e3
@ -5,7 +5,7 @@ VUE_APP_TITLE = 幼儿园体质检测管理系统
|
|||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
||||||
# 若依管理系统/开发环境
|
# 若依管理系统/开发环境
|
||||||
VUE_APP_BASE_API = 'http://192.168.16.62:8090'
|
VUE_APP_BASE_API = 'http://192.168.16.64:8080'
|
||||||
#'/dev-api'
|
#'/dev-api'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
|
|||||||
@ -3,8 +3,8 @@ import request from '@/utils/request'
|
|||||||
// 查询
|
// 查询
|
||||||
export function ClassList(query) {
|
export function ClassList(query) {
|
||||||
return request({
|
return request({
|
||||||
url: 'system/testItemAvgScore/ClassList',
|
url: '/system/testItemAvgScore/ClassList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -10,7 +10,7 @@ export function getRoleInfo() {
|
|||||||
// 查询身体素质
|
// 查询身体素质
|
||||||
export function testBodyScoreInfo(query) {
|
export function testBodyScoreInfo(query) {
|
||||||
return request({
|
return request({
|
||||||
url: 'system/testBodyScoreInfo/listBody',
|
url: '/system/testBodyScoreInfo/listBody',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||||||
// 查询
|
// 查询
|
||||||
export function StudentList(query) {
|
export function StudentList(query) {
|
||||||
return request({
|
return request({
|
||||||
url: 'system/testAll/StudentList',
|
url: '/system/testAll/StudentList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
@ -14,8 +14,8 @@ export function StudentList(query) {
|
|||||||
// 查询
|
// 查询
|
||||||
export function ClassList(query) {
|
export function ClassList(query) {
|
||||||
return request({
|
return request({
|
||||||
url: 'system/testAll/ClassList',
|
url: '/system/testAll/ClassList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -658,7 +658,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击批次
|
//点击批次
|
||||||
batchCodeshowclick() {
|
batchCodeshowclick() {
|
||||||
if (this.analysisqueryParams.studentId == "") {
|
if (this.queryParams.studentId == "") {
|
||||||
this.$message.error("请先选择学生");
|
this.$message.error("请先选择学生");
|
||||||
} else {
|
} else {
|
||||||
this.testScore();
|
this.testScore();
|
||||||
|
|||||||
@ -632,7 +632,7 @@ export default {
|
|||||||
max: el.maxScore,
|
max: el.maxScore,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
console.log(seriesData, yindicator);
|
// console.log(seriesData, yindicator);
|
||||||
|
|
||||||
var myChart = echarts.init(document.getElementById("chart"));
|
var myChart = echarts.init(document.getElementById("chart"));
|
||||||
|
|
||||||
|
|||||||
@ -917,7 +917,6 @@ export default {
|
|||||||
listClassinfo(this.classqueryParams).then((response) => {
|
listClassinfo(this.classqueryParams).then((response) => {
|
||||||
this.classinfoList = response.rows;
|
this.classinfoList = response.rows;
|
||||||
this.total2 = response.total;
|
this.total2 = response.total;
|
||||||
|
|
||||||
// console.log(this.classinfoList);
|
// console.log(this.classinfoList);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -91,7 +91,7 @@
|
|||||||
>删除</el-button
|
>删除</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="warning"
|
type="warning"
|
||||||
plain
|
plain
|
||||||
@ -101,7 +101,7 @@
|
|||||||
v-hasPermi="['system:testItemScore:export']"
|
v-hasPermi="['system:testItemScore:export']"
|
||||||
>导出</el-button
|
>导出</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
<right-toolbar
|
<right-toolbar
|
||||||
:showSearch.sync="showSearch"
|
:showSearch.sync="showSearch"
|
||||||
@queryTable="getList"
|
@queryTable="getList"
|
||||||
@ -327,9 +327,9 @@
|
|||||||
<el-form ref="form" :model="form2" :rules="rules" label-width="130px">
|
<el-form ref="form" :model="form2" :rules="rules" label-width="130px">
|
||||||
<el-form-item label="所属幼儿园" prop="classId">
|
<el-form-item label="所属幼儿园" prop="classId">
|
||||||
<el-button
|
<el-button
|
||||||
this.xmname="row.className;"
|
|
||||||
type=""
|
type=""
|
||||||
@click="yryinnerVisible = true"
|
@click="yryinnerVisible = true"
|
||||||
|
v-if="kindergartenName == '请选择幼儿园'"
|
||||||
style="
|
style="
|
||||||
width: 360px;
|
width: 360px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -337,14 +337,12 @@
|
|||||||
color: #c0c4cc;
|
color: #c0c4cc;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
"
|
"
|
||||||
>请选择所属幼儿园</el-button
|
>{{ kindergartenName }}</el-button
|
||||||
>
|
>
|
||||||
|
|
||||||
<!-- <el-button
|
<el-button
|
||||||
this.xmname="row.className;"
|
|
||||||
type=""
|
type=""
|
||||||
@click="innerVisible = true"
|
@click="yryinnerVisible = true"
|
||||||
v-if="xmname == '请选择所属幼儿园'"
|
|
||||||
v-else
|
v-else
|
||||||
style="
|
style="
|
||||||
width: 360px;
|
width: 360px;
|
||||||
@ -352,15 +350,14 @@
|
|||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
"
|
"
|
||||||
>{{ xmname }}</el-button
|
>{{ kindergartenName }}</el-button
|
||||||
> -->
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="所属班级" prop="classId">
|
<el-form-item label="所属班级" prop="classId">
|
||||||
<el-button
|
<el-button
|
||||||
this.xmname="row.className;"
|
|
||||||
type=""
|
type=""
|
||||||
@click="innerVisible = true"
|
@click="handleQuery2"
|
||||||
v-if="xmname == '请选择所属班级'"
|
v-if="xmname == '请选择所属班级'"
|
||||||
style="
|
style="
|
||||||
width: 360px;
|
width: 360px;
|
||||||
@ -373,9 +370,8 @@
|
|||||||
>
|
>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
this.xmname="row.className;"
|
|
||||||
type=""
|
type=""
|
||||||
@click="innerVisible = true"
|
@click="handleQuery2"
|
||||||
v-else
|
v-else
|
||||||
style="
|
style="
|
||||||
width: 360px;
|
width: 360px;
|
||||||
@ -546,6 +542,79 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
<!-- //幼儿园 -->
|
||||||
|
<el-dialog
|
||||||
|
width="850px"
|
||||||
|
title="选择所属幼儿园"
|
||||||
|
:visible.sync="yryinnerVisible"
|
||||||
|
append-to-body
|
||||||
|
:before-close="kindergartencancel"
|
||||||
|
>
|
||||||
|
<el-table :data="kindergartenList">
|
||||||
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
style="width: 15px; height: 15px"
|
||||||
|
circle
|
||||||
|
@click="kindergartenNameclick(scope.row)"
|
||||||
|
v-if="kindergartenId == scope.row.id"
|
||||||
|
></el-button>
|
||||||
|
|
||||||
|
<el-button
|
||||||
|
v-else
|
||||||
|
style="width: 15px; height: 15px"
|
||||||
|
circle
|
||||||
|
@click="kindergartenNameclick(scope.row)"
|
||||||
|
></el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column
|
||||||
|
property="kindergartenName"
|
||||||
|
label="幼儿园名字"
|
||||||
|
width="150"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
property="kindergartenAddress"
|
||||||
|
label="幼儿园地址"
|
||||||
|
width="150"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="幼儿园所在组织"
|
||||||
|
align="center"
|
||||||
|
prop="organizeName"
|
||||||
|
width="150"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
property="contacts"
|
||||||
|
label="联系人"
|
||||||
|
width="150"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
property="phone"
|
||||||
|
label="联系电话"
|
||||||
|
width="150"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<pagination
|
||||||
|
v-show="total6 > 0"
|
||||||
|
:total="total6"
|
||||||
|
:page.sync="kqueryParams.pageNum"
|
||||||
|
:limit.sync="kqueryParams.pageSize"
|
||||||
|
@pagination="getList"
|
||||||
|
/>
|
||||||
|
</el-dialog>
|
||||||
|
|
||||||
<!--所属班级 弹窗 -->
|
<!--所属班级 弹窗 -->
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@ -1156,7 +1225,10 @@ import {
|
|||||||
testItems,
|
testItems,
|
||||||
testScoreBatch,
|
testScoreBatch,
|
||||||
} from "@/api/system/testItemScore";
|
} from "@/api/system/testItemScore";
|
||||||
import { tKindergartenInfo } from "@/api/system/kindergartenInfo";
|
import {
|
||||||
|
tKindergartenInfo,
|
||||||
|
listKindergartenInfo,
|
||||||
|
} from "@/api/system/kindergartenInfo";
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
export default {
|
export default {
|
||||||
name: "TestItemScore",
|
name: "TestItemScore",
|
||||||
@ -1219,7 +1291,7 @@ export default {
|
|||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
itemScore: "",
|
itemScore: "",
|
||||||
|
yryinnerVisible: false,
|
||||||
testItemScoreLists: [],
|
testItemScoreLists: [],
|
||||||
xmname: "请选择所属班级",
|
xmname: "请选择所属班级",
|
||||||
|
|
||||||
@ -1235,7 +1307,23 @@ export default {
|
|||||||
testScoreBatchs: [],
|
testScoreBatchs: [],
|
||||||
innerVisible4: false,
|
innerVisible4: false,
|
||||||
itemNumbername: "请选择批次编号",
|
itemNumbername: "请选择批次编号",
|
||||||
|
//幼儿园查询参数
|
||||||
|
kqueryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
organizeId: null,
|
||||||
|
kindergartenName: null,
|
||||||
|
kindergartenAddress: null,
|
||||||
|
kindergartenType: null,
|
||||||
|
phone: null,
|
||||||
|
contacts: null,
|
||||||
|
},
|
||||||
|
//幼儿园list
|
||||||
|
kindergartenList: [],
|
||||||
|
//幼儿园名字
|
||||||
|
kindergartenName: "请选择幼儿园",
|
||||||
|
//幼儿园ID
|
||||||
|
kindergartenId: "",
|
||||||
// 选中数组
|
// 选中数组
|
||||||
ids: [],
|
ids: [],
|
||||||
|
|
||||||
@ -1251,6 +1339,7 @@ export default {
|
|||||||
total3: 0,
|
total3: 0,
|
||||||
total4: 0,
|
total4: 0,
|
||||||
total5: 0,
|
total5: 0,
|
||||||
|
total6: 0,
|
||||||
// 班级信息表格数据
|
// 班级信息表格数据
|
||||||
classInfos: [],
|
classInfos: [],
|
||||||
// 个人成绩录入管理表格数据
|
// 个人成绩录入管理表格数据
|
||||||
@ -1278,7 +1367,9 @@ export default {
|
|||||||
queryParams2: {
|
queryParams2: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
kindergartenId: "",
|
||||||
className: null,
|
className: null,
|
||||||
|
classType: null,
|
||||||
},
|
},
|
||||||
// 学生姓名
|
// 学生姓名
|
||||||
queryParams3: {
|
queryParams3: {
|
||||||
@ -1396,6 +1487,18 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
//幼儿园左侧点击
|
||||||
|
kindergartenNameclick(row) {
|
||||||
|
this.form2.kindergartenId = row.id;
|
||||||
|
this.queryParams2.kindergartenId = row.id;
|
||||||
|
this.kindergartenName = row.kindergartenName;
|
||||||
|
this.kindergartenId = row.id;
|
||||||
|
this.yryinnerVisible = false;
|
||||||
|
},
|
||||||
|
//幼儿园关闭
|
||||||
|
kindergartencancel() {
|
||||||
|
this.yryinnerVisible = false;
|
||||||
|
},
|
||||||
//只能输入一位小数点
|
//只能输入一位小数点
|
||||||
NumberCheck(num) {
|
NumberCheck(num) {
|
||||||
let str = this.form2.itemScore;
|
let str = this.form2.itemScore;
|
||||||
@ -1435,45 +1538,42 @@ export default {
|
|||||||
NumberCheck3(num) {
|
NumberCheck3(num) {
|
||||||
let str = this.form.itemScore;
|
let str = this.form.itemScore;
|
||||||
//限制只能输入一个小数点
|
//限制只能输入一个小数点
|
||||||
if (Number.isNaN(Number.parseFloat(str))) {
|
if (Number.isNaN(Number.parseFloat(str))) {
|
||||||
} else {
|
} else {
|
||||||
//限制只能输入一个小数点
|
//限制只能输入一个小数点
|
||||||
if (str.indexOf(".") != -1) {
|
if (str.indexOf(".") != -1) {
|
||||||
var str_ = str.substr(str.indexOf(".") +1);
|
var str_ = str.substr(str.indexOf(".") + 1);
|
||||||
if (str_.indexOf(".") != -1) {
|
if (str_.indexOf(".") != -1) {
|
||||||
str = str.substr(0, str.indexOf(".") + str_.indexOf(".") + 1);
|
str = str.substr(0, str.indexOf(".") + str_.indexOf(".") + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//正则替换,保留数字和小数点
|
//正则替换,保留数字和小数点
|
||||||
str = parseFloat(str).toFixed(3)
|
str = parseFloat(str).toFixed(3);
|
||||||
this.realVal = str.substring(0, str.length - 1)
|
this.realVal = str.substring(0, str.length - 1);
|
||||||
|
|
||||||
|
|
||||||
// str = str.replace(/[^\d^\.]+/g, "");
|
// str = str.replace(/[^\d^\.]+/g, "");
|
||||||
// this.form.itemAvgScore = str;
|
// this.form.itemAvgScore = str;
|
||||||
console.log(this.realVal)
|
console.log(this.realVal);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
NumberCheck4(num) {
|
NumberCheck4(num) {
|
||||||
let str = this.form.itemFraction;
|
let str = this.form.itemFraction;
|
||||||
//限制只能输入一个小数点
|
//限制只能输入一个小数点
|
||||||
if (Number.isNaN(Number.parseFloat(str))) {
|
if (Number.isNaN(Number.parseFloat(str))) {
|
||||||
} else {
|
} else {
|
||||||
//限制只能输入一个小数点
|
//限制只能输入一个小数点
|
||||||
if (str.indexOf(".") != -1) {
|
if (str.indexOf(".") != -1) {
|
||||||
var str_ = str.substr(str.indexOf(".") +1);
|
var str_ = str.substr(str.indexOf(".") + 1);
|
||||||
if (str_.indexOf(".") != -1) {
|
if (str_.indexOf(".") != -1) {
|
||||||
str = str.substr(0, str.indexOf(".") + str_.indexOf(".") + 1);
|
str = str.substr(0, str.indexOf(".") + str_.indexOf(".") + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//正则替换,保留数字和小数点
|
//正则替换,保留数字和小数点
|
||||||
str = parseFloat(str).toFixed(3)
|
str = parseFloat(str).toFixed(3);
|
||||||
this.realVal = str.substring(0, str.length - 1)
|
this.realVal = str.substring(0, str.length - 1);
|
||||||
|
|
||||||
|
|
||||||
// str = str.replace(/[^\d^\.]+/g, "");
|
// str = str.replace(/[^\d^\.]+/g, "");
|
||||||
// this.form.itemAvgScore = str;
|
// this.form.itemAvgScore = str;
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 班级信息
|
// 班级信息
|
||||||
@ -1561,28 +1661,24 @@ export default {
|
|||||||
this.form2.batchCode = row.batchCode;
|
this.form2.batchCode = row.batchCode;
|
||||||
},
|
},
|
||||||
/** 查询个人成绩录入管理列表 */
|
/** 查询个人成绩录入管理列表 */
|
||||||
|
|
||||||
getList() {
|
getList() {
|
||||||
//查询班级信息
|
//查询班级信息
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
classInfo(this.queryParams2).then((res) => {
|
|
||||||
this.classInfos = res.rows;
|
|
||||||
this.total2 = res.total;
|
|
||||||
this.loading = false;
|
|
||||||
});
|
|
||||||
|
|
||||||
// 查询测试项目
|
// 查询测试项目
|
||||||
|
|
||||||
testItems(this.queryParams4).then((res) => {
|
testItems(this.queryParams4).then((res) => {
|
||||||
console.log(res);
|
|
||||||
this.testItemss = res.rows;
|
this.testItemss = res.rows;
|
||||||
this.total4 = res.total;
|
this.total4 = res.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
|
//获取幼儿园list
|
||||||
|
listKindergartenInfo(this.kqueryParams).then((response) => {
|
||||||
|
this.kindergartenList = response.rows;
|
||||||
|
this.total6 = response.total;
|
||||||
|
});
|
||||||
// 查询测试成绩批次编号
|
// 查询测试成绩批次编号
|
||||||
|
|
||||||
testScoreBatch(this.queryParams5).then((res) => {
|
testScoreBatch(this.queryParams5).then((res) => {
|
||||||
console.log(res);
|
|
||||||
this.testScoreBatchs = res.rows;
|
this.testScoreBatchs = res.rows;
|
||||||
this.total5 = res.total;
|
this.total5 = res.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
@ -1590,7 +1686,6 @@ export default {
|
|||||||
|
|
||||||
listTestItemScore(this.queryParams).then((response) => {
|
listTestItemScore(this.queryParams).then((response) => {
|
||||||
this.testItemScoreList = response.rows;
|
this.testItemScoreList = response.rows;
|
||||||
console.log(this.testItemScoreList);
|
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
@ -1600,13 +1695,14 @@ export default {
|
|||||||
this.itemResultTypelist = res.data;
|
this.itemResultTypelist = res.data;
|
||||||
this.ResultType1 = this.itemResultTypelist[0];
|
this.ResultType1 = this.itemResultTypelist[0];
|
||||||
this.ResultType2 = this.itemResultTypelist[1];
|
this.ResultType2 = this.itemResultTypelist[1];
|
||||||
console.log(this.ResultType1);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.kindergartenName = "请选择幼儿园";
|
||||||
|
this.kindergartenId = "";
|
||||||
this.xmname = "请选择所属班级";
|
this.xmname = "请选择所属班级";
|
||||||
this.stname = "请选择学生姓名";
|
this.stname = "请选择学生姓名";
|
||||||
this.testname = "请选择测试项目名称";
|
this.testname = "请选择测试项目名称";
|
||||||
@ -1615,6 +1711,8 @@ export default {
|
|||||||
this.itemId3 = "";
|
this.itemId3 = "";
|
||||||
this.itemId4 = "";
|
this.itemId4 = "";
|
||||||
this.itemId5 = "";
|
this.itemId5 = "";
|
||||||
|
this.queryParams2.kindergartenId = "";
|
||||||
|
this.queryParams3.classId = "";
|
||||||
},
|
},
|
||||||
cancel2() {
|
cancel2() {
|
||||||
this.open2 = false;
|
this.open2 = false;
|
||||||
@ -1666,12 +1764,16 @@ export default {
|
|||||||
// 所属班级
|
// 所属班级
|
||||||
handleQuery2() {
|
handleQuery2() {
|
||||||
this.queryParams2.pageNum = 1;
|
this.queryParams2.pageNum = 1;
|
||||||
classInfo(this.queryParams).then((response) => {
|
if (this.queryParams2.kindergartenId == "") {
|
||||||
this.classInfo = response.rows;
|
this.$message.error("请先选择幼儿园");
|
||||||
this.total = response.total;
|
} else {
|
||||||
this.loading = false;
|
classInfo(this.queryParams2).then((response) => {
|
||||||
this.getList();
|
this.classInfos = response.rows;
|
||||||
});
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
this.innerVisible = true;
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 学生姓名
|
// 学生姓名
|
||||||
handleQuery3() {
|
handleQuery3() {
|
||||||
@ -1760,6 +1862,7 @@ export default {
|
|||||||
this.form.itemFraction = this.realVal;
|
this.form.itemFraction = this.realVal;
|
||||||
this.form.itemScore = this.realVal;
|
this.form.itemScore = this.realVal;
|
||||||
this.form2.itemFraction = this.realVal;
|
this.form2.itemFraction = this.realVal;
|
||||||
|
console.log(this.form2);
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user