This commit is contained in:
邱贞招 2024-07-27 10:06:04 +08:00
parent f52b62144b
commit 238229ecec

View File

@ -73,8 +73,8 @@
</template>
</el-table-column>
<el-table-column label="收费方式" align="center" prop="ruleStr" :show-overflow-tooltip="true"/>
<el-table-column label="联系人" align="center" prop="contact" />
<el-table-column label="联系人电话" align="center" prop="phone" />
<!-- <el-table-column label="联系人" align="center" prop="contact" />-->
<!-- <el-table-column label="联系人电话" align="center" prop="phone" />-->
<el-table-column label="状态" align="center" key="status">
<template slot-scope="scope">
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1"
@ -139,24 +139,6 @@
<el-input v-model="form.areaName" placeholder="请输入运营区" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="运营区域">
<el-select v-model="form.province" clearable size="small" placeholder="请选择省" class="filter-item"
style="width: 90px" @change="provinceChange($event)">
<el-option v-for="item in form.provinceList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
<el-select v-model="form.city" clearable size="small" placeholder="请选择城市" class="filter-item"
style="width: 100px" @change="cityChange($event)">
<el-option v-for="item in form.cityList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
<el-select v-model="form.county" clearable size="small" placeholder="请选择区县" class="filter-item"
style="width: 100px">
<el-option v-for="item in form.countyList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -165,23 +147,41 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="运营个性化标语" prop="slogan" label-width="120px">
<el-input v-model="form.slogan" placeholder="请输入运营个性化标语" style="" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="联系人" prop="contact">
<el-input v-model="form.contact" placeholder="请输入联系人" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="联系人电话" label-width="90" prop="phone">
<el-input v-model="form.phone" style="width: 75%" placeholder="请输入联系人电话" />
<el-form-item label="运营区域">
<el-select v-model="form.province" clearable size="small" placeholder="请选择省" class="filter-item"
style="width: 90px" @change="provinceChange($event)">
<el-option v-for="item in form.provinceList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
<el-select v-model="form.city" clearable size="small" placeholder="请选择城市" class="filter-item"
style="width: 100px" @change="cityChange($event)">
<el-option v-for="item in form.cityList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
<el-select v-model="form.county" clearable size="small" placeholder="请选择区县" class="filter-item"
style="width: 100px">
<el-option v-for="item in form.countyList" :key="item.name" :label="item.name" :value="item.name" />
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="运营个性化标语" prop="slogan" label-width="120px">-->
<!-- <el-input v-model="form.slogan" placeholder="请输入运营个性化标语" style="" />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
</el-row>
<!-- <el-row>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="联系人" prop="contact">-->
<!-- <el-input v-model="form.contact" placeholder="请输入联系人" />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="联系人电话" label-width="90" prop="phone">-->
<!-- <el-input v-model="form.phone" style="width: 75%" placeholder="请输入联系人电话" />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<el-row>
<el-col :span="12">
<el-form-item label="运营时间" prop="areaTime">
@ -466,8 +466,8 @@ export default {
//
rules: {
areaName: [{ required: true, message: "运营区域不能为空", trigger: "blur" }],
contact: [{ required: true, message: "联系人不能为空", trigger: "blur" }],
phone: [{ required: true, message: "联系人电话不能为空", trigger: "blur" }],
// contact: [{ required: true, message: "", trigger: "blur" }],
// phone: [{ required: true, message: "", trigger: "blur" }],
autoReplacementOrder: [{ required: true, message: "最低电量不能为空", trigger: "blur" }],
deptId: [{ required: true, message: "运营商不能为空", trigger: "blur" }],
},
@ -803,4 +803,14 @@ export default {
.el-dialog:not(.is-fullscreen) {
margin-top: 2vh !important;
}
.el-upload--picture-card {
width: 60px !important;
height: 60px !important;
line-height: 70px !important;
}
.el-upload-list--picture-card .el-upload-list__item {
width: 60px !important;
height: 60px !important;
}
</style>