张雄 3 years ago
parent 90f1f8dad4
commit 1985d5c491

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -71,6 +71,18 @@
>
<a-button @click="uploadIndex(index)"> <a-icon type="upload" />点击上传</a-button>
</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>
</div>
@ -186,6 +198,15 @@ export default {
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) {
this.form.beginDate = val[0];
@ -240,7 +261,6 @@ export default {
voteUpdateCandidateDTOList: arr,
imgUrls: [],
};
console.log(this.form)
this.selTime = [res.data.beginDate, res.data.endDate];
if (res.data.imgList.length > 0) {
const pic = [];

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Binary file not shown.
Loading…
Cancel
Save