Commit 453860fe authored by 王飞龙's avatar 王飞龙

bug修改

parent 925e9b73
<template> <template>
<div> <div>
<div style="background-color: #fff;height: 100%;">
<div class="app-container-container"> <div class="app-container-container">
<div style=" text-align: center;padding-top: 35px;height: 90px;"> <div class="box-card">
<span style="font-size: 24px;font-weight: bold; color: #333333;line-height: 20px;">新增</span> <div class="topTitle">
<span style="font-size: 24px;font-weight: bold; color: #333333;line-height: 24px;">新增</span>
</div> </div>
<el-form ref="form" :model="form" :rules="rules" :inline="true" label-width="auto"> <div style="width: 100%">
<el-form ref="form" :model="form" :rules="rules" label-width="125px">
<div style=" display: flex;position: relative;left: 32px;padding-bottom: 20px;"> <div style=" display: flex;position: relative;left: 32px;padding-bottom: 20px;">
<div class="title-paragraph"> <div class="title-paragraph">
<span class="title-text">当前设备信息</span> <span class="title-text">基本信息</span>
</div> </div>
</div> </div>
<!-- 1--> <!-- 1-->
<el-row> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="设备名称" prop="deviceName"> <el-form-item label="设备名称" prop="deviceName">
<el-input v-model.trim="form.deviceName" placeholder="请输入设备名称" class="inputWidth" maxlength="20" /> <el-input v-model.trim="form.deviceName" placeholder="请输入设备名称" class="inputWidth" maxlength="20" />
...@@ -49,7 +50,7 @@ ...@@ -49,7 +50,7 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 2--> <!-- 2-->
<el-row> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="负责人" prop="head"> <el-form-item label="负责人" prop="head">
<el-input v-model.trim="form.head" placeholder="请输入负责人" class="inputWidth" /> <el-input v-model.trim="form.head" placeholder="请输入负责人" class="inputWidth" />
...@@ -76,8 +77,8 @@ ...@@ -76,8 +77,8 @@
</el-row> </el-row>
<!-- 3--> <!-- 3-->
<el-row> <el-row>
<el-col :span="16"> <el-col :span="6">
<el-form-item label="服务地点" prop="selectedOptions"> <el-form-item label="服务地点" prop="selectedOptions" :span="6" >
<el-cascader <el-cascader
v-model="form.selectedOptions" v-model="form.selectedOptions"
size="large" size="large"
...@@ -85,26 +86,28 @@ ...@@ -85,26 +86,28 @@
:disabled="serviceAreaShow" :disabled="serviceAreaShow"
placeholder="请选择服务地点" placeholder="请选择服务地点"
expand-trigger="hover" expand-trigger="hover"
clearable
class="inputWidth" class="inputWidth"
clearable
@change="handleChangeCascader" @change="handleChangeCascader"
/> />
</el-form-item> </el-form-item>
<el-form-item prop="address"> </el-col>
<el-col :span="9" style="margin-left:0.3125rem " >
<el-form-item prop="address" :span="9" class="custom-form-item" >
<el-input <el-input
v-model.trim="form.address" v-model.trim="form.address"
:disabled="serviceAreaShow" :disabled="serviceAreaShow"
class="inputWidth"
placeholder="请输入详细地址(街道、楼牌号等)" placeholder="请输入详细地址(街道、楼牌号等)"
maxlength="40" maxlength="40"
clearable clearable
class="address"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8" style="margin-left: 3.125rem">
<el-form-item label="单位时段服务数" prop="useNum"> <el-form-item label="单位时段服务数" prop="useNum" style="margin-left: 2.0625rem">
<el-input-number <el-input-number
v-model.trim="form.useNum" v-model.trim="form.useNum"
:min="0" :min="0"
...@@ -120,7 +123,7 @@ ...@@ -120,7 +123,7 @@
</el-row> </el-row>
<!-- 4--> <!-- 4-->
<el-row> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="预约方式" prop="reservationMethod"> <el-form-item label="预约方式" prop="reservationMethod">
<el-select v-model="form.reservationMethod" placeholder="请选择预约方式" class="inputWidth"> <el-select v-model="form.reservationMethod" placeholder="请选择预约方式" class="inputWidth">
...@@ -173,7 +176,7 @@ ...@@ -173,7 +176,7 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 5--> <!-- 5-->
<el-row> <el-row :gutter="24">
<el-col :span="8" style="margin-left: 33.3%"> <el-col :span="8" style="margin-left: 33.3%">
<el-form-item label="下午开始时间" prop="useTime.pms"> <el-form-item label="下午开始时间" prop="useTime.pms">
...@@ -215,7 +218,7 @@ ...@@ -215,7 +218,7 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 6--> <!-- 6-->
<el-row> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="权重" prop="sort"> <el-form-item label="权重" prop="sort">
<el-input-number <el-input-number
...@@ -250,7 +253,7 @@ ...@@ -250,7 +253,7 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 7--> <!-- 7-->
<el-row> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<div class="deep-form"> <div class="deep-form">
<el-form-item label="备注" prop="remark"> <el-form-item label="备注" prop="remark">
...@@ -259,7 +262,7 @@ ...@@ -259,7 +262,7 @@
type="textarea" type="textarea"
placeholder="请输入备注(2~200字)" placeholder="请输入备注(2~200字)"
maxlength="200" maxlength="200"
class="remark_with" class="inputWidth"
:rows="4" :rows="4"
/> />
</el-form-item> </el-form-item>
...@@ -268,7 +271,7 @@ ...@@ -268,7 +271,7 @@
</el-row> </el-row>
<!-- 8--> <!-- 8-->
<el-row> <el-row>
<el-col> <el-col :gutter="24">
<el-form-item label="支持服务地区" prop="serviceArea"> <el-form-item label="支持服务地区" prop="serviceArea">
<el-cascader <el-cascader
v-model="form.serviceArea" v-model="form.serviceArea"
...@@ -280,17 +283,17 @@ ...@@ -280,17 +283,17 @@
collapse-tags collapse-tags
expand-trigger="hover" expand-trigger="hover"
clearable clearable
style="width: 250px" class="remark_with"
@change="handleChangeServiceArea" @change="handleChangeServiceArea"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 9--> <!-- 9-->
<el-row> <el-row :gutter="24" class="lastRow">
<el-col> <el-col>
<el-form-item label="支持检查项目" prop="checkType"> <el-form-item label="支持检查项目" prop="checkType">
<el-select v-model="form.checkType" placeholder="请选择支持检查项目" style="width: 250px" multiple collapse-tags clearable> <el-select v-model="form.checkType" placeholder="请选择支持检查项目" class="remark_with" multiple collapse-tags clearable>
<el-option <el-option
v-for=" (item,index) in checkItemOptions" v-for=" (item,index) in checkItemOptions"
:key="index" :key="index"
...@@ -302,6 +305,7 @@ ...@@ -302,6 +305,7 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</div>
<el-row> <el-row>
<el-col class="sbuButton"> <el-col class="sbuButton">
<el-button :loading="submitShow" class="queryBtn" size="mini" icon="el-icon-check" @click="submitForm"> <el-button :loading="submitShow" class="queryBtn" size="mini" icon="el-icon-check" @click="submitForm">
...@@ -841,21 +845,42 @@ export default { ...@@ -841,21 +845,42 @@ export default {
//left: 0; //left: 0;
} }
.title-paragraph { .title-paragraph {
margin-bottom: 15px; margin-top: 40px;
border-left: 5px solid #5FB54B; margin-bottom: 30px;
border-left: 3px solid #5FB54B;
border-radius: 2px;
height: 24px;
.title-text { .title-text {
font-weight: bold;
margin-left: 10px; margin-left: 10px;
font-size: 16px;
color: #333333;
line-height: 24px;
}
}
.box-card{
padding-right: 48px;
padding-left: 32px;
background-color: #fff;
height: 100%;
.topTitle {
text-align: center;
padding-top: 30px;
}
.lastRow {
::v-deep .el-form-item {
margin-bottom: 0;
}
} }
.title { .inputWidth{
color: #666666; width: 100%;
font-weight: 600; }
font-size: 17px .inputWidth1{
width: 30%;
} }
} }
.headerTitle { .headerTitle {
width: 100%; width: 100%;
height: 50px; height: 50px;
...@@ -881,20 +906,26 @@ export default { ...@@ -881,20 +906,26 @@ export default {
} }
.address{ .address{
width: 535px; width: 30%;
}
.inputWidth{
width: 300px;
} }
.inputNumber_Width{ .inputNumber_Width{
width: 270px; width: 93%;
} }
.text{ .text{
margin-left: 10px; margin-left: 10px;
} }
.remark_with{ .remark_with{
width: 1390px; width: 30%;;
}
.custom-form-item {
::v-deep.el-form-item__content {
margin-left: 0 !important;
line-height: 2.25rem;
}
} }
::v-deep.el-input-number.is-without-controls .el-input__inner { ::v-deep.el-input-number.is-without-controls .el-input__inner {
//width: 100px; //width: 100px;
line-height: 30px; line-height: 30px;
...@@ -906,12 +937,6 @@ export default { ...@@ -906,12 +937,6 @@ export default {
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
} }
//::v-deep.el-time-select-item:hover {
// background: #F6fcf5;
// color: #5FB54B;
// font-weight: bold;
// cursor: pointer
//}
</style> </style>
<style lang="scss"> <style lang="scss">
.equipment-use-time { .equipment-use-time {
...@@ -929,7 +954,7 @@ export default { ...@@ -929,7 +954,7 @@ export default {
.sbuButton{ .sbuButton{
display: flex; display: flex;
justify-content: left; justify-content: left;
margin: 15px 0 50px 32px margin: 30px 0 50px 32px
} }
</style> </style>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备名称" align="left" prop="deviceName" min-width="100" :show-overflow-tooltip="true"> <el-table-column label="设备名称" align="left" prop="deviceName" min-width="120" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.deviceName || '-' }}</span> <span>{{ scope.row.deviceName || '-' }}</span>
</template> </template>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<span>{{ scope.row.deviceCode || '-' }}</span> <span>{{ scope.row.deviceCode || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="检查项目" align="left" prop="checkItemsName" min-width="100" :show-overflow-tooltip="true"> <el-table-column label="检查项目" align="left" prop="checkItemsName" min-width="120" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.checkItemsName || '-' }}</span> <span>{{ scope.row.checkItemsName || '-' }}</span>
</template> </template>
...@@ -120,12 +120,12 @@ ...@@ -120,12 +120,12 @@
<dict-tag :options="dict.type.pet_insure" :value="scope.row.insure" /> <dict-tag :options="dict.type.pet_insure" :value="scope.row.insure" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="宠主姓名" align="left" prop="ownerNikename" min-width="120" :show-overflow-tooltip="true"> <el-table-column label="宠主姓名" align="left" prop="ownerNikename" min-width="100" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.ownerNickname || '-' }}</span> <span>{{ scope.row.ownerNickname || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="宠主手机号" align="left" min-width="120" prop="phoneNumber"> <el-table-column label="宠主手机号" align="left" min-width="100" prop="phoneNumber">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.ownerPhone || '-' }}</span> <span>{{ scope.row.ownerPhone || '-' }}</span>
</template> </template>
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
>{{ showStatus(scope.row.status) || '-' }}</span> >{{ showStatus(scope.row.status) || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="left" class-name="small-padding fixed-width" min-width="120"> <el-table-column label="操作" align="left" class-name="small-padding fixed-width" min-width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-hasPermi="['business:use:query']" v-hasPermi="['business:use:query']"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment