Commit 7cef2e29 authored by zhengke's avatar zhengke

1

parent 0e6967e0
......@@ -133,7 +133,7 @@
</el-form>
<q-btn color="accent" size="sm" @click="isShowVform=!isShowVform,SaveVisitor()" style="float:right;margin-bottom:10px;" label="保存" />
</div>
<q-btn color="accent" slot="reference" size="sm" icon="add" label="添加访客" />
<q-btn color="accent" slot="reference" size="sm" icon="add" @click="clearAddMsg" label="添加访客" />
</el-popover>
</div>
</template>
......@@ -326,7 +326,6 @@
},
created() {
this.getGuestBasics();
console.log("saveObj", this.saveObj);
},
mounted() {
this.getVisitoryPage();
......@@ -337,7 +336,6 @@
getGuestBasicsEnumList({}).then(res => {
if (res.Code == 1) {
this.GBList = res.Data;
console.log(this.GBList, 'GBlIST');
}
});
},
......@@ -355,7 +353,6 @@
getVisitoryPage() {
this.loading = true;
queryVisitorPage(this.msg).then(res => {
console.log(res);
this.loading = false
this.data = res.Data.PageData;
this.pageCount = res.Data.PageCount;
......@@ -378,7 +375,7 @@
this.addMsg.WeChatNum = tempData.WeChatNum;
this.addMsg.CourseName = tempData.CourseName;
this.addMsg.StudyTime = tempData.StudyTime;
this.addMsg.LevelType = tempData.LevelType;
this.addMsg.LevelType = JSON.parse(tempData.LevelType);
this.addMsg.PlanId = tempData.PlanId;
}
}
......@@ -401,7 +398,6 @@
SaveVisitor() {
this.addMsg.PlanId = this.saveObj.Id;
setVisitor(this.addMsg).then(res => {
console.log("res", res);
this.$refs.fkdj.click();
this.isShowVform=false;
this.getVisitoryPage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment