瀏覽代碼

初步完成台账管理、招商资讯。

soft5566 2 年之前
父節點
當前提交
1224edcf50

+ 1 - 1
.env.development

@@ -2,4 +2,4 @@
 ENV = 'development'
 
 # base api
-VUE_APP_BASE_API = '/api'
+VUE_APP_BASE_API = ''

+ 1 - 1
.env.production

@@ -2,4 +2,4 @@
 ENV = 'production'
 
 # base api
-VUE_APP_BASE_API = 'https://www.xn--gmq052a5d255v.com/hotelReservation'
+VUE_APP_BASE_API = 'https://www.jinganrenjiams.com/hotelReservation'

+ 1 - 7
src/App.vue

@@ -1,5 +1,5 @@
 <template>
-	<div id="app" @wheel.prevent="handleScroll">
+	<div id="app">
 		<router-view />
 	</div>
 </template>
@@ -77,12 +77,6 @@
 			// // 超时退出 end
 		},
 		methods: {
-			handleScroll(event) {
-				// 在这里可以添加其他逻辑,比如判断是否按下了Ctrl键
-				if (event.ctrlKey) {
-					event.preventDefault();
-				}
-			},
 			currentTime() { // 超时退出     
 				const currentTime = new Date();
 				if (currentTime - this.lastTime > 1000 * 60 * 60 * 6) {

+ 73 - 0
src/api/businessInfo.js

@@ -0,0 +1,73 @@
+import request from '@/utils/request'
+
+// 获取充值记录,表格数据
+export function getTableData(forData) {
+	let data = new FormData()
+	data.append('page', forData.page)
+	data.append('rows', forData.rows)
+	
+	if (forData.search_datatime !== undefined && forData.search_datatime !== null) {
+		data.append('start_date', forData.search_datatime[0])
+		data.append('end_date', forData.search_datatime[1])
+	}
+	
+	if (typeof forData.keyword !== 'undefined') {
+		data.append('key', forData.keyword)
+	}
+	
+	if (typeof forData.is_top !== 'undefined') {
+		data.append('is_top', forData.is_top)
+	}
+	
+	return request({
+		url: '/mhotel/appnewlist.action',
+		method: 'post',
+		data
+	})
+}
+
+// 获取文章
+export function getArticle() {
+	
+	return request({
+		url: '/mhotel/appautoInsertNews.action',
+		method: 'post'
+	})
+}
+
+// 更新文章
+export function updateArticle(forData) {
+	let data = new FormData()
+	data.append('id', forData[0])
+	
+	return request({
+		url: '/mhotel/appupdateNews.action',
+		method: 'post',
+		data
+	})
+}
+
+// 删除文章
+export function delArticle(forData) {
+	let data = new FormData()
+	data.append('id', forData[0])
+	
+	return request({
+		url: '/mhotel/appdelNews.action',
+		method: 'post',
+		data
+	})
+}
+
+// 置顶/取消置顶
+export function topArticle(forData) {
+	let data = new FormData()
+	data.append('id', forData[0])
+	data.append('is_top', forData[1])
+	
+	return request({
+		url: '/mhotel/appupdateTop.action',
+		method: 'post',
+		data
+	})
+}

+ 48 - 0
src/api/stdbookMgr.js

@@ -19,6 +19,9 @@ export function getTableData(forData) {
 		data.append('payStartTime', forData.search_datatime[0])
 		data.append('payEndTime', forData.search_datatime[1])
 	}
+	if (typeof forData.qz_id !== 'undefined') {
+		data.append('saccountState', forData.qz_id)
+	}
 	if (typeof forData.keyword !== 'undefined') {
 		data.append('ledgerParam', forData.keyword)
 	}
@@ -66,4 +69,49 @@ export function downloadExcel(forData) {
 		method: 'post',
 		data
 	})
+}
+
+// 清账/取消清账
+export function bookmodifyAaccountStatus(forData) {
+	const data = {
+	  saccountState: forData.saccountState,
+	  hotelConfigList: forData.hotelConfigList
+	};
+	
+	return request({
+		url: '/mhotel/bookmodifyAaccountStatus.action',
+		method: 'post',
+		data
+	})
+}
+
+// 台账统计查询
+export function bookqueryLedgerTj(forData) {
+	let data = new FormData()
+
+	if (typeof forData.id !== 'undefined') {
+		data.append('hotelTownship', forData.id)
+	}
+	if (typeof forData.amount1 !== 'undefined') {
+		data.append('minTotalPrice', forData.amount1)
+	}
+	if (typeof forData.amount2 !== 'undefined') {
+		data.append('maxTotalPrice', forData.amount2)
+	}
+	if (forData.search_datatime !== undefined && forData.search_datatime !== null) {
+		data.append('payStartTime', forData.search_datatime[0])
+		data.append('payEndTime', forData.search_datatime[1])
+	}
+	if (typeof forData.qz_id !== 'undefined') {
+		data.append('saccountState', forData.qz_id)
+	}
+	if (typeof forData.keyword !== 'undefined') {
+		data.append('ledgerParam', forData.keyword)
+	}
+	
+	return request({
+		url: '/mhotel/bookqueryLedgerTj.action',
+		method: 'post',
+		data
+	})
 }

+ 13 - 13
src/js/common.js

@@ -54,17 +54,17 @@ export function getDateComponents(date, ...components) {
 
 // 检测是否为空
 export function isEmpty(value) {
-	if (value === null || value === undefined) {
-		return true;
-	}
-
-	if (typeof value === 'string' && value.trim() === '') {
-		return true;
-	}
-
-	if (typeof value === 'object' && Object.keys(value).length === 0) {
-		return true;
-	}
-
-	return false;
+  if (value === null || value === undefined) {
+    return true;
+  }
+  if (Array.isArray(value) && value.length === 0) {
+    return true;
+  }
+  if (typeof value === 'string' && value.trim() === '') {
+    return true;
+  }
+  if (typeof value === 'object' && Object.keys(value).length === 0) {
+    return true;
+  }
+  return false;
 }

+ 0 - 1
src/views/accountMgr/index.vue

@@ -816,7 +816,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							::v-deep .el-pagination {
 								display: flex;

+ 0 - 1
src/views/audited/index.vue

@@ -502,7 +502,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 

+ 25 - 13
src/views/businessInfo/index.vue

@@ -71,7 +71,8 @@
 							</el-table-column>
 							<el-table-column label="是否置顶" align="center" width="90">
 								<template slot-scope="scope">
-									<span>{{ scope.row.is_top }}</span>
+									<span v-if="scope.row.is_top == 1" style="color: #0f0;">已置顶</span>
+									<span v-else style="color: #f00;">未置顶</span>
 								</template>
 							</el-table-column>
 							<el-table-column label="操作" width="130" align="center">
@@ -126,10 +127,19 @@
 		</el-dialog>
 		<el-dialog custom-class="dialog-have-title" :visible.sync="dialog_show_article" title="资讯详情" width="50%">
 			<div>
-				<h3 style="text-align: center;">{{ article_detail.title }}</h3>
-				<p style="text-align: center;" v-if="article_detail.is_top == 0">作者:{{ article_detail.author }} 【已置顶】</p>
-				<p style="text-align: center;" v-else>作者:{{ article_detail.author }} 【未置顶】</p>
-				<p style="text-align: center;">时间:{{ article_detail.time }}</p>
+				<div style="display: flex; justify-content: space-around;">
+					<div style="width: 75%;">
+						<h3 style="text-align: center;" v-if="article_detail.is_top == 1">{{ article_detail.title }}<span style="color: #f00;">【已置顶】</span></h3>
+						<h3 style="text-align: center;" v-else>{{ article_detail.title }}</h3>
+						<p style="text-align: center;">作者:{{ article_detail.author }}</p>
+						<p style="text-align: center;">时间:{{ article_detail.time }}</p>
+					</div>
+					<div style="width: 25%;">
+						<viewer>
+							<img :src="article_detail.first_img" style="height: 100px;" />
+						</viewer>
+					</div>
+				</div>
 				<div v-html="article_detail.content" class="show-article"></div>
 			</div>
 		</el-dialog>
@@ -200,7 +210,9 @@
 					title: '',
 					author: '',
 					time: '',
-					content: ''
+					content: '',
+					is_top: '',
+					first_img: ''
 				}
 			}
 		},
@@ -226,6 +238,7 @@
 				this.article_detail.author = row.author
 				this.article_detail.content = row.content
 				this.article_detail.time = row.update_time
+				this.article_detail.is_top = row.is_top
 				this.article_detail.first_img = row.first_img
 
 				this.dialog_show_article = true
@@ -323,19 +336,19 @@
 			},
 			// 更新文章
 			article_update() {
-				if (!isEmpty(this.update_ids)) {
-					this.dialog_update_article = true
-				} else {
+				if (isEmpty(this.update_ids)) {
 					this.$message.warning('请选择要【更新】的文章!')
+					return
 				}
+				this.dialog_update_article = true
 			},
 			// 删除文章
 			article_del() {
-				if (!isEmpty(this.del_ids)) {
-					this.dialog_del_article = true
-				} else {
+				if (isEmpty(this.del_ids)) {
 					this.$message.warning('请选择要【删除】的文章!')
+					return
 				}
+				this.dialog_del_article = true
 			},
 			/**
 			 * 获取消费记录,表格数据
@@ -525,7 +538,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							::v-deep .el-pagination {
 								display: flex;

+ 0 - 1
src/views/complaintMgr/index.vue

@@ -543,7 +543,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 

+ 0 - 1
src/views/discountCouponMgr/index.vue

@@ -1613,7 +1613,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 

+ 7 - 1
src/views/login/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<div class="login-container">
+	<div class="login-container" @wheel.prevent="handleScroll">
 		<div class="login-left">
 			<div class="login-left-tbig">欢迎登陆</div>
 			<div class="login-left-tlittle">靖安乡村民宿管理端</div>
@@ -85,6 +85,12 @@
 			}
 		},
 		methods: {
+			handleScroll(event) {
+				// 在这里可以添加其他逻辑,比如判断是否按下了Ctrl键
+				if (event.ctrlKey) {
+					event.preventDefault();
+				}
+			},
 			showPwd() {
 				if (this.passwordType === 'password') {
 					this.passwordType = ''

+ 0 - 1
src/views/myAgent/index.vue

@@ -544,7 +544,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 

+ 0 - 1
src/views/perimeterMgr/index.vue

@@ -1675,7 +1675,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 

+ 0 - 1
src/views/residentialhostelMgr/index.vue

@@ -2114,7 +2114,6 @@
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 								color: rgba(212, 48, 48, 1);

+ 135 - 79
src/views/stdbookMgr/index.vue

@@ -10,19 +10,19 @@
 					</div>
 					<div class="calc">
 						<div class="calc-item">
-							<div class="calc-item-text">18888888.00</div>
+							<div class="calc-item-text">{{ tongji.orderT }}</div>
 							<div class="calc-item-desc">订单总额(元)</div>
 						</div>
 						<div class="calc-item">
-							<div class="calc-item-text">18888.00</div>
+							<div class="calc-item-text">{{ tongji.payT }}</div>
 							<div class="calc-item-desc">支付总额(元)</div>
 						</div>
 						<div class="calc-item">
-							<div class="calc-item-text">18888.888</div>
+							<div class="calc-item-text">{{ tongji.refundT }}</div>
 							<div class="calc-item-desc">退款总额(元)</div>
 						</div>
 						<div class="calc-item">
-							<div class="calc-item-text">18888.888</div>
+							<div class="calc-item-text">{{ tongji.inT }}</div>
 							<div class="calc-item-desc">入账总额(元)</div>
 						</div>
 					</div>
@@ -48,8 +48,8 @@
 									</el-date-picker>
 								</el-form-item>
 								<el-form-item label="清账状态">
-									<el-select v-model="formInline.id" clearable placeholder="请选择" style="width: 120px;">
-										<el-option v-for="item in formInline.options" :key="item.id" :label="item.hotelTownship" :value="item.id">
+									<el-select v-model="formInline.qz_id" clearable placeholder="请选择" style="width: 120px;">
+										<el-option v-for="item in formInline.clear_qz" :key="item.qz_id" :label="item.label" :value="item.qz_id">
 										</el-option>
 									</el-select>
 								</el-form-item>
@@ -63,60 +63,15 @@
 							</el-form>
 							<div class="btns">
 								<el-button type="primary" class="qingzhang" @click="toggle_qingzhang">清账/取消</el-button>
-								<el-button type="primary" icon="el-icon-download" class="export" @click="exportExcel">导出订单</el-button>
+								<el-button type="primary" icon="el-icon-download" class="btn-export" @click="exportExcel">导出订单</el-button>
 							</div>
 						</div>
-						<el-table :data="tableData" height="466" style="width: 100%" :cell-style="cell_style" v-loading="loading" :key='Math.random()'
-							:header-cell-style="header_cell_style">
+						<el-table :data="tableData" height="466" style="width: 100%" :cell-style="cell_style" v-loading="loading"
+							:header-cell-style="header_cell_style" @selection-change="handle_table_change">
 							<el-table-column type="selection" width="50"></el-table-column>
-							<el-table-column type="expand" width="38" fixed="left">
-								<template slot-scope="props">
-									<el-form label-position="left" inline class="demo-table-expand">
-										<el-form-item label="民宿联系人">
-											<span>{{ props.row.hotelPerson }}</span>
-										</el-form-item>
-										<el-form-item label="民宿联系电话">
-											<span>{{ props.row.hotelPhone }}</span>
-										</el-form-item>
-										<el-form-item label="酒店类型">
-											<span>{{ props.row.hotelType }}</span>
-										</el-form-item>
-										<el-form-item label="酒店位置">
-											<span>{{ props.row.hotelHposition }}</span>
-										</el-form-item>
-										<el-form-item label="酒店名称">
-											<span>{{ props.row.hotelName }}</span>
-										</el-form-item>
-										<el-form-item label="酒店位置经纬度">
-											<span>{{ props.row.hotelHpositionWens }}</span>
-										</el-form-item>
-										<el-form-item label="接单设置">
-											<span>{{ props.row.hotelIsCanorder == 1 ? '自动接单' : '手动接单' }}</span>
-										</el-form-item>
-										<el-form-item label="酒店状态(1 营业 2.休息)">
-											<span>{{ props.row.hotelStatus }}</span>
-										</el-form-item>
-										<el-form-item label="开业时间">
-											<span>{{ props.row.openTime }}</span>
-										</el-form-item>
-										<el-form-item label="装修时间">
-											<span>{{ props.row.fitupTime }}</span>
-										</el-form-item>
-										<el-form-item label="订单创建时间">
-											<span>{{ props.row.createTime }}</span>
-										</el-form-item>
-										<el-form-item label="入住时间">
-											<span>{{ props.row.liveTime }}</span>
-										</el-form-item>
-										<el-form-item label="离店时间">
-											<span>{{ props.row.checkOutTime }}</span>
-										</el-form-item>
-									</el-form>
-								</template>
-							</el-table-column>
 							<el-table-column label="交易时间" align="center" width="155" fixed="left">
 								<template slot-scope="scope">
-									<span>{{ scope.row.hotelTownshipName }}</span>
+									<span>{{ scope.row.payTime }}</span>
 								</template>
 							</el-table-column>
 							<el-table-column label="所属乡镇" align="center" width="120" fixed="left">
@@ -141,12 +96,12 @@
 							</el-table-column>
 							<el-table-column label="支付金额(元)" align="center" width="150">
 								<template slot-scope="scope">
-									<span>{{ scope.row.houseTotalPrice }}</span>
+									<span>{{ scope.row.payAccount }}</span>
 								</template>
 							</el-table-column>
 							<el-table-column label="退款金额(元)" align="center" width="150">
 								<template slot-scope="scope">
-									<span>{{ scope.row.houseTotalPrice }}</span>
+									<span>{{ scope.row.refundAmount }}</span>
 								</template>
 							</el-table-column>
 							<el-table-column label="入账金额(元)" align="center" width="160">
@@ -161,17 +116,17 @@
 							</el-table-column>
 							<el-table-column label="清账状态" align="center" width="100" fixed="right">
 								<template slot-scope="scope">
-									<span>{{ scope.row.houseTotalPrice }}</span>
+									<span v-if="scope.row.saccountState == 1" style="color: rgba(10, 118, 78, 1.0);">已清账</span>
+									<span v-else style="color: rgba(248, 138, 100, 1.0);">未清账</span>
 								</template>
 							</el-table-column>
 							<el-table-column label="清账时间" align="center" width="155" fixed="right">
 								<template slot-scope="scope">
-									<span>{{ scope.row.checkOutTime }}</span>
+									<span>{{ scope.row.saccountTime }}</span>
 								</template>
 							</el-table-column>
 						</el-table>
 						<div class="pagination-table">
-							<div class="txt-notice">订单总额:<span>{{ sumAccount }}元</span></div>
 							<el-pagination @current-change="currentPageChange" :current-page.sync="pagination.currentPage" :page-size="pagination.pageSize"
 								layout="prev, pager, next, jumper" :total="pagination.total">
 							</el-pagination>
@@ -188,7 +143,7 @@
 			</div>
 			<div slot="footer" class="dialog-footer">
 				<el-button class="add-user-cancel-btn" @click="dialog_qingzhang = false"> 取消 </el-button>
-				<el-button class="add-user-confirm-btn" @click=""> 确定 </el-button>
+				<el-button class="add-user-confirm-btn" @click="handle_qingzhang"> 确定 </el-button>
 			</div>
 		</el-dialog>
 	</div>
@@ -198,8 +153,13 @@
 	import {
 		getTableData,
 		getTowns,
-		downloadExcel
+		downloadExcel,
+		bookmodifyAaccountStatus,
+		bookqueryLedgerTj
 	} from '@/api/stdbookMgr'
+	import {
+		isEmpty
+	} from '@/js/common'
 
 	export default {
 		data() {
@@ -207,7 +167,6 @@
 				currentUserLevel: this.$store.state.user.level, // 当前用户的权限
 				dialogImageUrl: '',
 				formLabelWidth: '120px',
-				sumAccount: '', // 总金额
 				// 表格单元格样式
 				cell_style: {
 					color: '#1A202B',
@@ -228,6 +187,14 @@
 					amount1: '',
 					amount2: '',
 					search_datatime: '',
+					clear_qz: [{
+						qz_id: 1,
+						label: '已清账'
+					}, {
+						qz_id: 0,
+						label: '未清账'
+					}],
+					qz_id: '',
 					keyword: ''
 				},
 				tableData: [],
@@ -239,7 +206,17 @@
 					total: 0
 				},
 				loading: true,
-				dialog_qingzhang: false
+				dialog_qingzhang: false,
+				bookmodifyAaccountStatus_data: {
+					saccountState: 1,
+					hotelConfigList: []
+				},
+				tongji: {
+					orderT: 0.00.toFixed(2),
+					payT: 0.00.toFixed(2),
+					refundT: 0.00.toFixed(2),
+					inT: 0.00.toFixed(2)
+				}
 			}
 		},
 		created() {
@@ -252,6 +229,8 @@
 			}
 			// 获取消费记录,表格数据
 			this.get_table_data('list')
+			// 调用台账统计查询
+			this.bookqueryLedgerTj()
 			// 获取乡镇
 			this.get_towns()
 		},
@@ -259,8 +238,83 @@
 			document.getElementsByClassName("el-pagination__jump")[0].childNodes[0].nodeValue = "跳至";
 		},
 		methods: {
+			// 台账统计查询实现
+			bookqueryLedgerTj() {
+				this.get_condtion();
+				
+				var that = this
+				bookqueryLedgerTj(this.cond_data).then((res) => {
+					// console.log(res);
+					if (res.code === 200) {
+						that.tongji.orderT = res.orderT.tj.toFixed(2)
+						that.tongji.payT = res.payT.tj.toFixed(2)
+						that.tongji.refundT = res.refundT.tj.toFixed(2)
+						that.tongji.inT = res.inT.tj.toFixed(2)
+					} else {
+						that.tongji.orderT = 0.00.toFixed(2)
+						that.tongji.payT = 0.00.toFixed(2)
+						that.tongji.refundT = 0.00.toFixed(2)
+						that.tongji.inT = 0.00.toFixed(2)
+					}
+				}).catch((err) => {
+					that.$message.error(err.message)
+				});
+			},
+			// 获取选择的文章ids
+			handle_table_change(selection) {
+				// console.log(selection);
+				// 保存要删除和更新的ids
+				var qz = 0
+				var clear_qz = 0
+				this.bookmodifyAaccountStatus_data.hotelConfigList = []
+				selection.forEach(row => {
+					this.bookmodifyAaccountStatus_data.hotelConfigList.push(row.id)
+					if (row.saccountState == 1) {
+						clear_qz++
+					} else {
+						qz++
+					}
+				});
+
+				if (qz > 0 && clear_qz > 0) {
+					const h = this.$createElement;
+					this.$msgbox({
+						title: '消息',
+						message: h('p', null, [
+							h('div', {
+								style: 'color: red; text-align: center;'
+							}, '选择存在【待清账】和【待取消清账】:'),
+							h('div', {
+								style: 'color: teal; text-align: center;'
+							}, '【待清账】 ' + qz + ' 条'),
+							h('div', {
+								style: 'color: teal; text-align: center;'
+							}, '【待取消】 ' + clear_qz + ' 条')
+						]),
+						confirmButtonText: '我知道了',
+					}).then(action => {});
+				}
+			},
+			// 清账/取消清账
+			handle_qingzhang() {
+				bookmodifyAaccountStatus(this.bookmodifyAaccountStatus_data).then((res) => {
+					if (res.code === 200) {
+						this.get_table_data('list')
+						this.$message.success(res.message)
+						this.dialog_qingzhang = false
+					} else {
+						this.$message.warning(res.message)
+					}
+				}).catch((err) => {
+					this.$message.error(err.message)
+				});
+			},
 			// 清账切换
 			toggle_qingzhang() {
+				if (isEmpty(this.bookmodifyAaccountStatus_data.hotelConfigList)) {
+					this.$message.warning('请选择记录')
+					return
+				}
 				this.dialog_qingzhang = true
 			},
 			// 获取乡镇列表
@@ -312,8 +366,6 @@
 						for (var i = 0; i < d.bookIPage.pageList.length; i++) {
 							that.tableData.push(d.bookIPage.pageList[i])
 						}
-
-						that.sumAccount = d.sumAccount.toFixed(2)
 					} else {
 						that.tableData = []
 						that.$message.warning('没有符合条件的数据!')
@@ -348,6 +400,10 @@
 				if (this.formInline.search_datatime !== '') {
 					data.search_datatime = this.formInline.search_datatime
 				}
+				
+				if (this.formInline.qz_id !== '') {
+					data.qz_id = this.formInline.qz_id
+				}
 
 				if (this.formInline.keyword !== '') {
 					data.keyword = this.formInline.keyword
@@ -379,6 +435,7 @@
 			 * 搜索
 			 */
 			btn_search() {
+				this.bookqueryLedgerTj()
 				this.get_table_data('search')
 			},
 			/**
@@ -504,7 +561,7 @@
 								flex-wrap: wrap;
 								align-items: center;
 								justify-content: flex-start;
-								
+
 								.el-form-item {
 									margin-bottom: 16px;
 									margin-right: 5px;
@@ -528,7 +585,7 @@
 								border: none;
 							}
 
-							.export {
+							.btn-export {
 								background: rgba(9, 101, 98, 1);
 								font-size: 14px;
 								color: #FFFFFF;
@@ -536,7 +593,7 @@
 								border-radius: 5px;
 								border: none;
 							}
-							
+
 							.btns {
 								display: flex;
 								align-items: center;
@@ -546,11 +603,10 @@
 
 						.pagination-table {
 							display: flex;
-							justify-content: space-between;
+							justify-content: flex-end;
 							align-items: center;
 							height: 30px;
 							margin-top: 20px;
-							padding-right: 100px;
 
 							.txt-notice {
 
@@ -610,18 +666,18 @@
 				}
 			}
 		}
-		
+
 		.dialog-qingzhang-body {
 			display: flex;
 			flex-direction: column;
 			justify-content: center;
 			align-items: center;
 			height: 180px;
-		
+
 			img {
 				width: 72px;
 			}
-		
+
 			.dialog-qingzhang-body-txt {
 				height: 38px;
 				line-height: 38px;
@@ -654,29 +710,29 @@
 		margin-bottom: 0;
 		width: 33%;
 	}
-	
+
 	.dialog-footer {
 		display: flex;
 		justify-content: flex-end;
 		margin-top: -10px;
 	}
-	
+
 	.dialog-qingzhang {
 		height: 300px !important;
 		width: 500px !important;
 		margin-top: 330px !important;
 		border-radius: 8px;
 	}
-	
+
 	.dialog-qingzhang .el-dialog__header {
 		display: none !important;
 	}
-	
+
 	.add-user-cancel-btn {
 		color: rgba(9, 101, 98, 1) !important;
 		border: 1px solid rgba(9, 101, 98, 1) !important;
 	}
-	
+
 	.add-user-confirm-btn {
 		border: none !important;
 		background: rgba(9, 101, 98, 1) !important;

+ 3 - 4
vue.config.js

@@ -38,16 +38,15 @@ module.exports = {
 		},
 		proxy: {
 			['^' + process.env.VUE_APP_BASE_API]: {
-				target: 'https://www.xn--gmq052a5d255v.com/hotelReservation',
-				// target: 'https://chtech.ncjti.edu.cn/hotelReservation/mhotel',
-				// target: 'http://101.42.162.31/mhotel',
+				// target: 'https://www.jinganrenjiams.com/hotelReservation',
+				target: 'https://chtech.ncjti.edu.cn/hotelReservation',
 				changeOrigin: true,
 				pathRewrite: {
 					['^' + process.env.VUE_APP_BASE_API]: ''
 				}
 			},
 			['^' + process.env.VUE_APP_BASE_FILE]: { // 图片上传
-				target: 'https://www.xn--gmq052a5d255v.com/hotelReservation',
+				target: 'https://www.jinganrenjiams.com/hotelReservation',
 				// target: 'https://chtech.ncjti.edu.cn/hotelReservation/fileload',
 				changeOrigin: true,
 				pathRewrite: {