This commit is contained in:
Iruka 2025-01-17 17:50:47 +08:00
parent 5c86f954b7
commit b2a1abd066
5 changed files with 19 additions and 14 deletions

View File

@ -6,7 +6,7 @@ const config = {
// 应用信息
appInfo: {
// 应用名称
name: "及时雨智能灌溉管理",
name: "及时雨智能灌溉管理系统v1.0",
// 应用logo
logo: "/static/images/login/logo.png",
// 应用版本

View File

@ -1,5 +1,5 @@
{
"name" : "及时雨智能灌溉管理",
"name" : "及时雨智能灌溉管理系统v1.0",
"appid" : "__UNI__5ACF7F6",
"description" : "",
"versionName" : "1.0.0",

View File

@ -15,7 +15,7 @@
<view class="search">
<u-search placeholder="请输入地块名称/编号" @search="onSearchValue" @custom="onSearchValue"
@clear="onSearchValue(null)" shape="square"></u-search>
<uni-forms ref="form" :model="form" labelWidth="0px" >
<uni-forms ref="form" :model="form" labelWidth="0px">
<uni-forms-item label="" name="">
<cxk-dropdown-tree :dataOptions="treeList" labelField="label" valueField="id"
:defaultCheckedKeys="defaultCheckedKeys" @change="handleTreeChange"
@ -28,7 +28,7 @@
</uni-forms>
</view>
<view class="tip-intel">
<view v-show="list.length > 0">地块数量({{ list.length }})</view>
</view>
@ -52,13 +52,14 @@
</view>
</view>
<view class="title-r">
<u-button type="success" size="mini" text="编辑" v-hasPermi="['system:land:edit']" @click="edit(item)"></u-button>
<u-button type="success" size="mini" text="编辑" v-hasPermi="['system:land:edit']"
@click="edit(item)"></u-button>
</view>
</view>
</template>
<view class="content">
<view class="cards-content">
<view class="txt-list" >
<view class="txt-list">
<view class="list1">
<view><text>地块名称</text>{{item.landName}}</view>
<view><text>地块面积</text>{{item.landName}}</view>
@ -69,7 +70,7 @@
v-if="item.companyGroup && item.companyGroup.companyFullName">{{item.companyGroup.companyFullName}}</text>
</view>
</view>
<view class="right">
<view class="right" @click="onItemClick(item)">
<view class="iconfont icon-you">
</view>
</view>
@ -266,19 +267,23 @@
//
::v-deep.uni-forms-item__label {
display: none !important;
display: none !important;
}
.u-search {
padding: 10px 10px 0 10px;
}
.u-checkbox {
margin: 0 !important;
height: 35px;
}
::v-deep.u-search__action--active {
width: 20% !important;
text-align: left !important;
}
.uni-forms-item.is-direction-left {
margin: 0 !important;
}

View File

@ -42,9 +42,11 @@
</view>
<view class="card-font">
<u-button type="success" size="mini" text="其它设备权限"
v-hasPermi="['system:permission:list']"
@click="onClickOtherPermission(item)" />
<u-button type="success" size="mini" text="出水口权限"
@click="onClickOtherPermission(item)" />
v-hasPermi="['system:wateroutletpermission:add']"
@click="onClickPermission(item)" />
</view>
</view>
</view>
@ -125,9 +127,8 @@
}
</script>
<style lang="scss" scoped>
//
//
.u-search {
padding:0 10px 10px;
padding: 0 10px 10px;
}
</style>

View File

@ -75,8 +75,7 @@
}
this.dataList = [];
getUseDevicePermission(this.query).then(res => {
this.dataList = res.data;
this.$refs.paging.complete(this.dataList);
this.$refs.paging.complete(res.data);
});
},
onSearchValue(e) {