优化
This commit is contained in:
parent
9e079060cf
commit
8ecd50f01c
@ -35,7 +35,7 @@ export default {
|
||||
if (typeof val !== 'string') return
|
||||
const themeCluster = this.getThemeCluster(val.replace('#', ''))
|
||||
const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
|
||||
console.log(themeCluster, originalCluster)
|
||||
//console.log(themeCluster, originalCluster)
|
||||
|
||||
const $message = this.$message({
|
||||
message: ' Compiling the theme',
|
||||
|
@ -7,7 +7,7 @@ const mutations = {
|
||||
ADD_VISITED_VIEW: (state, view) => {
|
||||
if (state.visitedViews.some(v => v.path === view.path)) return
|
||||
let title = view.meta.title || 'no-name';
|
||||
console.log(view)
|
||||
//console.log(view)
|
||||
if(view && view.query && view.query.dayflowassessmentteacherdetails) {
|
||||
title = view.query.dayflowassessmentteacherdetails;
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ export default {
|
||||
},
|
||||
//控制按钮可用
|
||||
checkRemoveable(row) {
|
||||
console.log(row.remark);
|
||||
//console.log(row.remark);
|
||||
var remark = row.remark;
|
||||
if (remark == "" || remark == null) {
|
||||
return false;
|
||||
|
@ -387,7 +387,7 @@ export default {
|
||||
this.reset();
|
||||
const id = row.id || this.ids;
|
||||
getFiles(id).then((response) => {
|
||||
console.log(response);
|
||||
//console.log(response);
|
||||
this.form = response.data;
|
||||
var roleArr = [];
|
||||
if (response.roles != null) {
|
||||
|
@ -276,7 +276,7 @@ export default {
|
||||
const id = row.id || this.ids;
|
||||
getMath(id).then(response => {
|
||||
this.form = response.data;
|
||||
console.log(this.form);
|
||||
//console.log(this.form);
|
||||
this.open = true;
|
||||
this.title = "修改游戏数学";
|
||||
});
|
||||
|
@ -96,7 +96,7 @@ export default {
|
||||
// 节点单击事件
|
||||
handleNodeClick(data) {
|
||||
this.id = data.id;
|
||||
console.log(data.id);
|
||||
//console.log(data.id);
|
||||
if (data.id >= 9999) {
|
||||
} else {
|
||||
this.title = data.label;
|
||||
|
@ -293,7 +293,7 @@ export default {
|
||||
getDeptList() {
|
||||
listDept(null).then((response) => {
|
||||
this.deptOptions = response.data;
|
||||
console.log(response.data);
|
||||
//console.log(response.data);
|
||||
});
|
||||
},
|
||||
// 用户列表
|
||||
|
@ -418,9 +418,9 @@ export default {
|
||||
this.queryParams.wpid = response.data.id;
|
||||
this.defaultThemeweekType = response.data.id;
|
||||
|
||||
console.log(
|
||||
"月份:" + response.data.month + " " + "周次:" + response.data.zc
|
||||
);
|
||||
// console.log(
|
||||
// "月份:" + response.data.month + " " + "周次:" + response.data.zc
|
||||
// );
|
||||
|
||||
//查找活动id
|
||||
this.queryParams_MonPlan.month = response.data.month;
|
||||
@ -431,7 +431,7 @@ export default {
|
||||
this.queryParams_MonPlanItem.zc = response.data.zc;
|
||||
listMonthplanitem(this.queryParams_MonPlanItem).then(
|
||||
(resMonPlanItem) => {
|
||||
console.log(resMonPlanItem.rows);
|
||||
//console.log(resMonPlanItem.rows);
|
||||
var activityids = resMonPlanItem.rows[0].activityid.split(";");
|
||||
var array = [];
|
||||
//console.log(arr);
|
||||
|
@ -223,7 +223,7 @@ export default {
|
||||
//获取周教学计划详情
|
||||
getThemeWeekPlan(themeweekplanid) {
|
||||
getWeekplan(themeweekplanid).then((response) => {
|
||||
console.log(response.data.classid);
|
||||
//console.log(response.data.classid);
|
||||
this.queryParams.wpid = response.data.id;
|
||||
this.title = response.data.name;
|
||||
this.zc = response.data.zc;
|
||||
@ -238,7 +238,7 @@ export default {
|
||||
this.queryParams_MonPlan.xnxq = response.data.xnxq;
|
||||
this.queryParams_MonPlan.classid=response.data.classid;
|
||||
listMonthplan(this.queryParams_MonPlan).then((resMonPlan) => {
|
||||
console.log(resMonPlan.rows);
|
||||
//console.log(resMonPlan.rows);
|
||||
//获取的月主题
|
||||
var monththemeids = resMonPlan.rows[0].themes;
|
||||
|
||||
|
@ -224,7 +224,7 @@ export default {
|
||||
methods: {
|
||||
handleAvatarSuccess(res, file) {
|
||||
this.imageUrl = URL.createObjectURL(file.raw);
|
||||
console.log(res);
|
||||
//console.log(res);
|
||||
if (res.code == "200") {
|
||||
this.form.imgurl = res.fileName;
|
||||
} else {
|
||||
@ -311,7 +311,7 @@ export default {
|
||||
submitForm: function() {
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
console.log(this.form.imgurl);
|
||||
//console.log(this.form.imgurl);
|
||||
if (this.form.id != undefined) {
|
||||
updateLecturer(this.form).then(response => {
|
||||
if (response.code === 200) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user