优化数据权限

This commit is contained in:
Your Name 2023-04-19 00:04:44 +08:00
parent 8a67d43920
commit 3cd443cb1e
2 changed files with 13 additions and 8 deletions

View File

@ -4,7 +4,7 @@
<div class="ibox">
<div class="ibox-title">
<h5>
<span><vc:i18n name="添加车辆" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="添加车辆" namespace="hireParkingSpace"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-white btn-sm" v-on:click="_goBack()">
@ -17,7 +17,7 @@
<div>
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="车牌号" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="车牌号" namespace="hireParkingSpace"></vc:i18n>
</label>
<div class="col-sm-4">
<input v-model="hireParkingSpaceInfo.carNum" type="text"
@ -25,7 +25,7 @@
class="form-control">
</div>
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="汽车品牌" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="汽车品牌" namespace="hireParkingSpace"></vc:i18n>
</label>
<div class="col-sm-4">
<input v-model="hireParkingSpaceInfo.carBrand" type="text"
@ -70,7 +70,7 @@
</div>
<div class="form-group row" v-show="hireParkingSpaceInfo.leaseType == 'H'">
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="起租时间" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="起租时间" namespace="hireParkingSpace"></vc:i18n>
</label>
<div class="col-sm-4">
<input v-model="hireParkingSpaceInfo.startTime" type="text"
@ -78,7 +78,7 @@
class="form-control addStartTime">
</div>
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="结租时间" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="结租时间" namespace="hireParkingSpace"></vc:i18n>
</label>
<div class="col-sm-4">
<input v-model="hireParkingSpaceInfo.endTime" type="text"
@ -90,7 +90,7 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="业主" namespace="hireParkingSpace"></vc:i18n></span>
<vc:i18n name="业主" namespace="hireParkingSpace"></vc:i18n>
</label>
<div class="col-sm-3">
<input v-model="hireParkingSpaceInfo.ownerName" disabled type="text"
@ -101,6 +101,7 @@
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_openChooseOwner()">选择业主
</button>
<a v-if="vc.hasPrivilege('500201904010')" target="_blank" href="/#/pages/property/listOwner?tab=业主信息" class="margin-left-xs" >添加</a>
</div>
<label class="col-sm-2 col-form-label text-right">
<span><vc:i18n name="车位" namespace="hireParkingSpace"></vc:i18n></span>
@ -114,6 +115,7 @@
<button type="button" class="btn btn-primary btn-sm"
v-on:click="openSearchParkingSpaceModel()">选择车位
</button>
<a v-if="vc.hasPrivilege('500201906017')" target="_blank" href="/#/pages/property/listParkingSpace?tab=车位信息" class="margin-left-xs" >添加</a>
</div>
</div>
<!-- dev - 属性管理 - 属性 - owner_car_attr -->

View File

@ -3,7 +3,7 @@
*
* @author 吴学文
*
* @version 0.3
* @version 1.5
*
* @description 完成组件化编程思想
*
@ -56,7 +56,7 @@
};
vcFramework = {
version: "v0.0.3",
version: "v1.5",
name: "vcFramework",
author: '吴学文',
email: '928255095@qq.com',
@ -1049,6 +1049,8 @@
Vue.http.headers.common['TRANSACTION-ID'] = vcFramework.uuid();
Vue.http.headers.common['REQ-TIME'] = vcFramework.getDateYYYYMMDDHHMISS();
Vue.http.headers.common['SIGN'] = '';
Vue.http.headers.common['VERSION'] = 'v1.5';
if (api.indexOf('/') >= 0) {
_api = '/app' + api;
} else {
@ -1119,6 +1121,7 @@
Vue.http.headers.common['REQ-TIME'] = vcFramework.getDateYYYYMMDDHHMISS();
Vue.http.headers.common['SIGN'] = '';
Vue.http.headers.common['USER-ID'] = '-1';
Vue.http.headers.common['VERSION'] = 'v1.5';
if (api.indexOf('/') >= 0) {
_api = '/app' + api;