优化代码

This commit is contained in:
java110 2020-09-11 01:06:13 +08:00
parent bfe240d8a9
commit 24016047c4
4 changed files with 9 additions and 5 deletions

8
app.js
View File

@ -34,10 +34,10 @@ let opts = {
//app.use('/callComponent',proxy('https://app.demo.winqi.cn/',opts));
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012/',opts));
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
app.use('/app',proxy('http://192.168.1.16:8012',opts));
app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
//app.listen(3000);
app.use(express.json());

View File

@ -142,7 +142,7 @@
saveFeeSharingInfo: function () {
if($that.feeSharingInfo.scope == '1001'){
$that.feeSharingInfo.objId = vc.getCurrentCommunity().communityId;
}else if($that.feeSharingInfo.scope == '1001'){
}else if($that.feeSharingInfo.scope == '2002'){
$that.feeSharingInfo.objId = $that.feeSharingInfo.floorId;
}else{
$that.feeSharingInfo.objId = $that.feeSharingInfo.unitId;

View File

@ -63,6 +63,7 @@
<th class="text-center">导入ID</th>
<th class="text-center">费用类型</th>
<th class="text-center">创建时间</th>
<th class="text-center">备注</th>
<th class="text-right">操作</th>
@ -73,6 +74,7 @@
<td class="text-center">{{fee.importFeeId}}</td>
<td class="text-center">{{fee.feeTypeCdName}}</td>
<td class="text-center">{{fee.createTime}}</td>
<td class="text-center">{{fee.remark}}</td>
<td class="text-right">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openImportFeeDetail(fee)">详情

View File

@ -74,6 +74,7 @@
<th class="text-center">开始时间</th>
<th class="text-center">结束时间</th>
<th class="text-center">总金额</th>
<th class="text-center">备注</th>
<th class="text-center">状态</th>
</tr>
</thead>
@ -86,6 +87,7 @@
<td class="text-center">{{detail.startTime}}</td>
<td class="text-center">{{detail.endTime}}</td>
<td class="text-center">{{detail.amount}}</td>
<td class="text-center">{{detail.remark}}</td>
<td class="text-center">
<span class="badge badge-success" v-if="detail.state == '1000'">导入成功</span>
<span class="badge badge-danger" v-else>导入失败</span>