张雄 3 years ago
parent 90f1f8dad4
commit 1985d5c491

@ -391,7 +391,6 @@ export default {
}, },
async insubmit() { async insubmit() {
// //
console.log(this.inform);
this.$refs.ruleForm.validate(async (valid) => { this.$refs.ruleForm.validate(async (valid) => {
if (valid) { if (valid) {
let res = await moveIn(this.inform); let res = await moveIn(this.inform);
@ -414,7 +413,6 @@ export default {
this.show.in = false; this.show.in = false;
}, },
out(data) { out(data) {
console.log(data);
// //
this.$confirm({ this.$confirm({
title: "是否迁出", title: "是否迁出",
@ -448,7 +446,6 @@ export default {
}, },
// //
handlerBuilding(index) { handlerBuilding(index) {
console.log(index);
} }
}, },
computed: { computed: {

@ -241,7 +241,6 @@ export default {
this.options.floor = 0 this.options.floor = 0
for(let item of this.options.unit){ for(let item of this.options.unit){
if(item.id === data){ if(item.id === data){
console.log(item);
this.options.floor = item.floor this.options.floor = item.floor
} }
} }
@ -296,7 +295,6 @@ export default {
}, },
handleChange({ fileList }) { handleChange({ fileList }) {
this.fileList = fileList; this.fileList = fileList;
console.log(this.fileList);
}, },
beforeUpload(f, l) { beforeUpload(f, l) {
const isLt50M = f.size / 1024 / 1024 < 50; const isLt50M = f.size / 1024 / 1024 < 50;

@ -353,7 +353,6 @@ export default {
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -707,11 +707,9 @@ export default {
this.getData() this.getData()
}, },
Actions(data) { Actions(data) {
console.log(data);
this.activeAction = undefined; this.activeAction = undefined;
}, },
selectionChoosed(data) { selectionChoosed(data) {
console.log(data);
this.tableChoosed = data; this.tableChoosed = data;
}, },
// //

@ -140,7 +140,6 @@ export default {
this.$emit("detailClose"); this.$emit("detailClose");
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -125,7 +125,6 @@ export default {
}, },
methods: { methods: {
search(data) { search(data) {
console.log(data);
this.searchForm = data; this.searchForm = data;
this.getData() this.getData()
}, },
@ -142,14 +141,12 @@ export default {
changeTime(data,start,end){ changeTime(data,start,end){
this.searchForm[start] = data[0] this.searchForm[start] = data[0]
this.searchForm[end] = data[1] this.searchForm[end] = data[1]
console.log(this.searchForm);
}, },
edit(id) { edit(id) {
this.editId = id; this.editId = id;
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -170,13 +167,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -137,7 +137,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await organizerUpdate(this.form); let res = await organizerUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -104,7 +104,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -125,13 +124,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -144,7 +144,6 @@ export default {
} }
}, },
submit() { submit() {
console.log(this.documentList);
// //
let arr = []; let arr = [];
for (let k of this.documentList) { for (let k of this.documentList) {
@ -165,7 +164,6 @@ export default {
} }
} }
this.form.coverImgUrls = pic; this.form.coverImgUrls = pic;
console.log(this.form);
this.$refs.ruleForm.validate(async (valid) => { this.$refs.ruleForm.validate(async (valid) => {
if (valid) { if (valid) {
if (this.editId === null) { if (this.editId === null) {
@ -177,7 +175,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await announcementUpdate(this.form); let res = await announcementUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);
@ -246,7 +243,6 @@ export default {
this.form.coverImgUrls = []; this.form.coverImgUrls = [];
} }
if (res.data.annexImgList.length > 0) { if (res.data.annexImgList.length > 0) {
console.log(res.data.annexImgList);
const file = []; const file = [];
for (let item of res.data.annexImgList) { for (let item of res.data.annexImgList) {
let obj = { let obj = {

@ -98,7 +98,6 @@ export default {
changeTime(data,start,end){ changeTime(data,start,end){
this.searchForm[start] = data[0] this.searchForm[start] = data[0]
this.searchForm[end] = data[1] this.searchForm[end] = data[1]
console.log(this.searchForm);
}, },
async getData() { async getData() {
let res = await announcementList({ let res = await announcementList({
@ -115,7 +114,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -138,14 +136,12 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -210,7 +210,6 @@ export default {
let res = await dynamicInfo({ let res = await dynamicInfo({
communityDynamicId: this.id, communityDynamicId: this.id,
}); });
console.log(res.data)
this.detailData = res.data; this.detailData = res.data;
}, },
async getComment() { async getComment() {
@ -223,7 +222,6 @@ export default {
this.pagination.total = res.data.total; this.pagination.total = res.data.total;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',

@ -156,8 +156,6 @@ export default {
this.getData() this.getData()
}, },
Actions(data) { Actions(data) {
console.log(data);
console.log(this.selectedRowKeys);
this.activeAction = undefined; this.activeAction = undefined;
if(data===1){ if(data===1){
this.del(this.selectedRowKeys) this.del(this.selectedRowKeys)
@ -169,7 +167,6 @@ export default {
this.$router.push({name:'DynamicDetail',params:{data:data.id}}) this.$router.push({name:'DynamicDetail',params:{data:data.id}})
}, },
del(ids){ del(ids){
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -206,11 +203,9 @@ export default {
}, },
selectionChoosed(data) { selectionChoosed(data) {
console.log(data);
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -117,7 +117,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -138,13 +137,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -50,7 +50,7 @@ export const columns = [
}, },
{ {
title: "作废原因", title: "作废原因",
width: "8%", width: "12%",
dataIndex: "nullifyReason", dataIndex: "nullifyReason",
}, },
{ {

@ -4,16 +4,16 @@
<a-space size="large"> <a-space size="large">
<span>预约管理</span> <span>预约管理</span>
<a-radio-group <a-radio-group
v-model="form.type" v-model="form.status"
button-style="solid" button-style="solid"
@change="typeChange" @change="typeChange"
> >
<a-radio-button :value="undefined"> 全部 </a-radio-button> <a-radio-button :value="undefined"> 全部 </a-radio-button>
<a-radio-button :value="1"> 签到 </a-radio-button> <a-radio-button :value="1"> 签到 </a-radio-button>
<a-radio-button :value="2"> 使用中 </a-radio-button> <a-radio-button :value="2"> 已签到 </a-radio-button>
<a-radio-button :value="3"> 使用结束 </a-radio-button> <a-radio-button :value="3"> 已作废 </a-radio-button>
<a-radio-button :value="4"> 取消预约 </a-radio-button> <a-radio-button :value="4"> 取消 </a-radio-button>
<a-radio-button :value="4"> 超时作废 </a-radio-button> <a-radio-button :value="5"> 已结束 </a-radio-button>
</a-radio-group> </a-radio-group>
</a-space> </a-space>
</div> </div>
@ -42,7 +42,7 @@
</div> </div>
<div class="main"> <div class="main">
<a-table :columns="columns" :data-source="tableData" <a-table :columns="columns" :data-source="tableData"
:pagination="pagination" @change="handlerChange" :scroll="{ x: 1800 }" :pagination="pagination" @change="handlerChange" :scroll="{ x: 2100 }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
onChange: selectionChoosed, onChange: selectionChoosed,
@ -60,7 +60,7 @@
<span><a style="margin-left: 8px;color:red" @click=del(record)>删除</a></span> --> <span><a style="margin-left: 8px;color:red" @click=del(record)>删除</a></span> -->
</template> </template>
</a-table> </a-table>
<div class="action"> <!-- <div class="action">
<a-dropdown :disabled="!hasSelected"> <a-dropdown :disabled="!hasSelected">
<a-menu slot="overlay" @click="handleMenuClick"> <a-menu slot="overlay" @click="handleMenuClick">
<a-menu-item key="del"> 批量删除 </a-menu-item> <a-menu-item key="del"> 批量删除 </a-menu-item>
@ -72,7 +72,7 @@
{{ `已选择 ${selectedRowKeys.length}` }} {{ `已选择 ${selectedRowKeys.length}` }}
</template> </template>
</span> </span>
</div> </div> -->
</div> </div>
<a-drawer :title="activeTitle" :width="720" :visible="detailShow" :body-style="{ paddingBottom: '60px' }" @close="detailClose"> <a-drawer :title="activeTitle" :width="720" :visible="detailShow" :body-style="{ paddingBottom: '60px' }" @close="detailClose">
<div class="drawer-content"> <div class="drawer-content">

@ -72,7 +72,6 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -206,7 +206,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await planUpdate(this.form); let res = await planUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -108,17 +108,14 @@ export default {
this.getData() this.getData()
}, },
changeTime(data, start, end) { changeTime(data, start, end) {
console.log(start);
this.searchForm[start] = data[0]; this.searchForm[start] = data[0];
this.searchForm[end] = data[1]; this.searchForm[end] = data[1];
console.log(this.searchForm);
}, },
edit(id) { edit(id) {
this.editId = id; this.editId = id;
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -148,13 +145,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -109,7 +109,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await pointUpdate(this.form); let res = await pointUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -118,7 +118,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -155,13 +154,11 @@ export default {
}); });
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -106,7 +106,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await routeUpdate(this.form); let res = await routeUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -100,7 +100,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -130,13 +129,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -80,7 +80,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await newsItemUpdate(this.form); let res = await newsItemUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -101,7 +101,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -124,14 +123,12 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -74,7 +74,6 @@ export default {
this.$emit("detailClose"); this.$emit("detailClose");
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -113,17 +113,14 @@ export default {
this.formItem[0].option = res.data this.formItem[0].option = res.data
}, },
changeTime(data,start,end){ changeTime(data,start,end){
console.log(start);
this.searchForm[start] = data[0] this.searchForm[start] = data[0]
this.searchForm[end] = data[1] this.searchForm[end] = data[1]
console.log(this.searchForm);
}, },
edit(id) { edit(id) {
this.editId = id; this.editId = id;
this.drawer.show = true; this.drawer.show = true;
}, },
del(ids) { del(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否删除", title: "是否删除",
// okText:'', // okText:'',
@ -144,13 +141,11 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -315,7 +315,6 @@ export default {
}, },
// //
save() { save() {
console.log(this.form)
updateQuestion(this.form).then(res => { updateQuestion(this.form).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -148,7 +148,6 @@ export default {
this.getData(); this.getData();
}, },
Actions(data) { Actions(data) {
console.log(data);
this.activeAction = undefined; this.activeAction = undefined;
}, },
reset(){ reset(){
@ -160,7 +159,6 @@ export default {
this.getData() this.getData()
}, },
selectionChoosed(data) { selectionChoosed(data) {
console.log(data);
this.tableChoosed = data; this.tableChoosed = data;
}, },
async top(data) { async top(data) {

@ -71,6 +71,18 @@
> >
<a-button @click="uploadIndex(index)"> <a-icon type="upload" />点击上传</a-button> <a-button @click="uploadIndex(index)"> <a-icon type="upload" />点击上传</a-button>
</a-upload> </a-upload>
<!-- <a-upload
name="file"
:multiple="true"
:action="`${$upload}`"
:file-list="item.defaultFileList"
accept=".jpg,.JPG,.png,.PNG,.jpeg,.JPEG"
:headers="uploadHeaders"
@change="voteImgChange"
:beforeUpload='beforeUpload'
>
<a-button @click="uploadIndex(index)"> <a-icon type="upload" />点击上传</a-button>
</a-upload> -->
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
</div> </div>
@ -186,6 +198,15 @@ export default {
this.form.voteUpdateCandidateDTOList[this.activeIndex].imgUrls.push(data.file.response.data) this.form.voteUpdateCandidateDTOList[this.activeIndex].imgUrls.push(data.file.response.data)
} }
}, },
// beforeUpload(f, l) {
// const isLt50M = f.size / 1024 / 1024 < 50;
// if (!isLt50M) {
// this.$message.error(f.name + "");
// return false;
// } else {
// return true;
// }
// },
// //
changeTime(val) { changeTime(val) {
this.form.beginDate = val[0]; this.form.beginDate = val[0];
@ -240,7 +261,6 @@ export default {
voteUpdateCandidateDTOList: arr, voteUpdateCandidateDTOList: arr,
imgUrls: [], imgUrls: [],
}; };
console.log(this.form)
this.selTime = [res.data.beginDate, res.data.endDate]; this.selTime = [res.data.beginDate, res.data.endDate];
if (res.data.imgList.length > 0) { if (res.data.imgList.length > 0) {
const pic = []; const pic = [];

@ -155,7 +155,6 @@ export default {
}) })
} else { } else {
let obj = Object.assign(this.form, {id: this.activeId,deleteVoteCandidateIds: this.deleteId}) let obj = Object.assign(this.form, {id: this.activeId,deleteVoteCandidateIds: this.deleteId})
console.log(obj)
updateVote(obj).then(res => { updateVote(obj).then(res => {
if(res.code === 200){ if(res.code === 200){
this.$message.success(res.msg); this.$message.success(res.msg);

@ -57,7 +57,6 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -231,14 +231,12 @@ export default {
this.autoExpandParent = false; this.autoExpandParent = false;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "batchUnBind") { if (data.key === "batchUnBind") {
this.batchUnBind(this.selectedRowKeys); this.batchUnBind(this.selectedRowKeys);
} }
}, },
onSelect(selectedKeys) { onSelect(selectedKeys) {
this.selectedKeys = selectedKeys; this.selectedKeys = selectedKeys;
console.log(selectedKeys);
}, },
onCheck(data) { onCheck(data) {
let ids = []; let ids = [];

@ -370,7 +370,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await chargesUpdate(this.form); let res = await chargesUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);
@ -407,7 +406,6 @@ export default {
watch: { watch: {
id: { id: {
handler(val) { handler(val) {
console.log(val);
if (val !== null) { if (val !== null) {
chargesInfo({ chargesId: val }).then((res) => { chargesInfo({ chargesId: val }).then((res) => {
this.form = res.data; this.form = res.data;

@ -122,14 +122,12 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -224,7 +224,6 @@ export default {
this.form.selTime = [] this.form.selTime = []
}, },
onSubmit() { onSubmit() {
console.log(this.form)
autoGenerateBills(this.form).then(res => { autoGenerateBills(this.form).then(res => {
if(res.code === 200){ if(res.code === 200){
this.$message.success(res.msg) this.$message.success(res.msg)

@ -224,7 +224,6 @@ export default {
this.form.selTime = [] this.form.selTime = []
}, },
onSubmit() { onSubmit() {
console.log(this.form)
autoDeductionBills(this.form).then(res => { autoDeductionBills(this.form).then(res => {
if(res.code === 200){ if(res.code === 200){
this.$message.success(res.msg) this.$message.success(res.msg)

@ -39,7 +39,6 @@
export default { export default {
methods: { methods: {
submit() { submit() {
console.log(this.form);
this.$refs.ruleForm.validate(async (valid) => { this.$refs.ruleForm.validate(async (valid) => {
if (valid) { if (valid) {
if (this.form.id === null) { if (this.form.id === null) {
@ -52,7 +51,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await Update(this.form); let res = await Update(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -81,7 +81,6 @@ export default {
this.$emit('close'); this.$emit('close');
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -174,10 +174,8 @@ export default {
this.drawer.show = false; this.drawer.show = false;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -153,14 +153,12 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -289,7 +289,6 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;
@ -302,7 +301,6 @@ export default {
this.autoExpandParent = false; this.autoExpandParent = false;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }

@ -107,11 +107,9 @@ export default {
this.getData() this.getData()
}, },
selectionChoosed(data) { selectionChoosed(data) {
console.log(data);
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;
@ -123,7 +121,6 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
onSell(ids) { onSell(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否上架", title: "是否上架",
icon: "caret-up", icon: "caret-up",
@ -139,7 +136,6 @@ export default {
}); });
}, },
offSell(ids) { offSell(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否下架", title: "是否下架",
icon: "caret-down", icon: "caret-down",
@ -155,7 +151,6 @@ export default {
}); });
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "on") { if (data.key === "on") {
this.onSell(this.selectedRowKeys); this.onSell(this.selectedRowKeys);
} else if (data.key === "off") { } else if (data.key === "off") {

@ -111,13 +111,11 @@ export default {
this.drawer.show = true; this.drawer.show = true;
}, },
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "on") { if (data.key === "on") {
this.onSell(this.selectedRowKeys); this.onSell(this.selectedRowKeys);
} }
}, },
onSell(ids) { onSell(ids) {
console.log(ids);
this.$confirm({ this.$confirm({
title: "是否上架", title: "是否上架",
icon: "caret-up", icon: "caret-up",
@ -136,7 +134,6 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -152,7 +152,6 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
@ -166,7 +165,6 @@ export default {
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;
@ -178,7 +176,6 @@ export default {
this.drawer.show = false; this.drawer.show = false;
}, },
submit() { submit() {
console.log(this.form);
this.$refs.ruleForm.validate(async (valid) => { this.$refs.ruleForm.validate(async (valid) => {
if (valid) { if (valid) {
if (this.activeMode == 1) { if (this.activeMode == 1) {
@ -191,7 +188,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await shopUpdate(this.form); let res = await shopUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -151,14 +151,12 @@ export default {
}, },
// //
handleMenuClick(data) { handleMenuClick(data) {
console.log(data);
if (data.key === "del") { if (data.key === "del") {
this.del(this.selectedRowKeys); this.del(this.selectedRowKeys);
} }
}, },
// //
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;
@ -171,7 +169,6 @@ export default {
this.drawer.title = '新增供应商'; this.drawer.title = '新增供应商';
}, },
submit() { submit() {
console.log(this.form);
this.$refs.ruleForm.validate(async (valid) => { this.$refs.ruleForm.validate(async (valid) => {
if (valid) { if (valid) {
if (this.form.id === null) { if (this.form.id === null) {
@ -184,7 +181,6 @@ export default {
this.$message.error(res.msg); this.$message.error(res.msg);
} }
} else { } else {
console.log(this.form);
let res = await vendorUpdate(this.form); let res = await vendorUpdate(this.form);
if (res.code === 200) { if (res.code === 200) {
this.$message.success(res.msg); this.$message.success(res.msg);

@ -63,7 +63,6 @@ export default {
this.selectedRowKeys = data; this.selectedRowKeys = data;
}, },
handleTableChange(pagination) { handleTableChange(pagination) {
console.log(pagination);
const pager = { ...this.pagination }; const pager = { ...this.pagination };
pager.current = pagination.current; pager.current = pagination.current;
pager.pageSize = pagination.pageSize; pager.pageSize = pagination.pageSize;

@ -214,7 +214,6 @@ export default {
watch:{ watch:{
Listeners:{ Listeners:{
handler(val){ handler(val){
console.log(val);
this.cardList = val this.cardList = val
}, },
deep: true deep: true

Binary file not shown.
Loading…
Cancel
Save