Commit 7cef2e29 authored by zhengke's avatar zhengke

1

parent 0e6967e0
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</el-form> </el-form>
<q-btn color="accent" size="sm" @click="isShowVform=!isShowVform,SaveVisitor()" style="float:right;margin-bottom:10px;" label="保存" /> <q-btn color="accent" size="sm" @click="isShowVform=!isShowVform,SaveVisitor()" style="float:right;margin-bottom:10px;" label="保存" />
</div> </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> </el-popover>
</div> </div>
</template> </template>
...@@ -326,7 +326,6 @@ ...@@ -326,7 +326,6 @@
}, },
created() { created() {
this.getGuestBasics(); this.getGuestBasics();
console.log("saveObj", this.saveObj);
}, },
mounted() { mounted() {
this.getVisitoryPage(); this.getVisitoryPage();
...@@ -337,7 +336,6 @@ ...@@ -337,7 +336,6 @@
getGuestBasicsEnumList({}).then(res => { getGuestBasicsEnumList({}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.GBList = res.Data; this.GBList = res.Data;
console.log(this.GBList, 'GBlIST');
} }
}); });
}, },
...@@ -355,7 +353,6 @@ ...@@ -355,7 +353,6 @@
getVisitoryPage() { getVisitoryPage() {
this.loading = true; this.loading = true;
queryVisitorPage(this.msg).then(res => { queryVisitorPage(this.msg).then(res => {
console.log(res);
this.loading = false this.loading = false
this.data = res.Data.PageData; this.data = res.Data.PageData;
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
...@@ -378,7 +375,7 @@ ...@@ -378,7 +375,7 @@
this.addMsg.WeChatNum = tempData.WeChatNum; this.addMsg.WeChatNum = tempData.WeChatNum;
this.addMsg.CourseName = tempData.CourseName; this.addMsg.CourseName = tempData.CourseName;
this.addMsg.StudyTime = tempData.StudyTime; this.addMsg.StudyTime = tempData.StudyTime;
this.addMsg.LevelType = tempData.LevelType; this.addMsg.LevelType = JSON.parse(tempData.LevelType);
this.addMsg.PlanId = tempData.PlanId; this.addMsg.PlanId = tempData.PlanId;
} }
} }
...@@ -401,7 +398,6 @@ ...@@ -401,7 +398,6 @@
SaveVisitor() { SaveVisitor() {
this.addMsg.PlanId = this.saveObj.Id; this.addMsg.PlanId = this.saveObj.Id;
setVisitor(this.addMsg).then(res => { setVisitor(this.addMsg).then(res => {
console.log("res", res);
this.$refs.fkdj.click(); this.$refs.fkdj.click();
this.isShowVform=false; this.isShowVform=false;
this.getVisitoryPage(); 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