Commit 2c927d90 by 前端

修复一系列BUG

1 parent 51c479ec
...@@ -21,13 +21,18 @@ ...@@ -21,13 +21,18 @@
v-model="detail.staffSceneLabelArr[index]" v-model="detail.staffSceneLabelArr[index]"
disabled /> disabled />
</span> --> </span> -->
<el-checkbox-group v-model="detail.staffSceneLabelArr"> <div v-if="detail.staffSceneLabelArr && detail.staffSceneLabelArr.length > 0">
<el-checkbox v-for="(item,index) in detail.staffSceneLabelArr" <el-checkbox-group v-model="detail.staffSceneLabelArr">
:label="item" <el-checkbox v-for="(item,index) in detail.staffSceneLabelArr"
:key="index" :label="item"
disabled :key="index"
style="width: 50px;" /> disabled
</el-checkbox-group> style="width: 50px;" />
</el-checkbox-group>
</div>
<div v-else>
-
</div>
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>员工角色:</label> <label>员工角色:</label>
...@@ -40,29 +45,32 @@ ...@@ -40,29 +45,32 @@
<div class="info-wrap"> <div class="info-wrap">
<div class="info-item-line"> <div class="info-item-line">
<label>服务门店:</label> <label>服务门店:</label>
<div> <div v-if="detail.shopMerchantList && detail.shopMerchantList.length > 0">
<div v-for="(item, index) in detail.shopMerchantList" <div v-for="(item, index) in detail.shopMerchantList"
:key="index" :key="index"
class="line-div"> class="line-div">
<span class="mr-10">{{ item.merchantName }}</span> <span class="mr-10">{{ item.merchantName }}</span>
<span class="mr-10"> <span class="mr-10"
:title="item.carBrandListString">
<!-- <template v-for="brand in item.carBrandList"> <!-- <template v-for="brand in item.carBrandList">
{{ brand.name }} {{ brand.name }}
</template> --> </template> -->
{{ item.carBrandListString }} {{ item.carBrandListString }}
</span> </span>
<span> <span>
最后订单时间:{{ item.orderTimeString }} 最后订单时间:{{ item.orderTimeString || '-' }}
</span> </span>
<el-button type="text" <el-button type="text"
class="secureBtn" class="secureBtn"
@click="handleSecure(item)">解绑该服务门店</el-button> @click="handleSecure(item)">解绑该服务门店</el-button>
</div> </div>
</div> </div>
<div v-else
class="line-div">-</div>
</div> </div>
<div class="info-item-line"> <div class="info-item-line">
<label>归属商户:</label> <label>归属商户:</label>
<div> <div v-if="detail.belongList && detail.belongList.length > 0">
<div v-for="(item, index) in detail.belongList" <div v-for="(item, index) in detail.belongList"
:key="index" :key="index"
class="line-div"> class="line-div">
...@@ -72,6 +80,8 @@ ...@@ -72,6 +80,8 @@
</span> </span>
</div> </div>
</div> </div>
<div v-else
class="line-div">-</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -117,7 +127,7 @@ ...@@ -117,7 +127,7 @@
</div> </div>
</div> </div>
<div class="btnCon"> <div class="btnCon">
<el-button class="cancel-btn" <el-button type="primary"
@click="handleCancel"> 返回 </el-button> @click="handleCancel"> 返回 </el-button>
</div> </div>
...@@ -484,7 +494,7 @@ export default { ...@@ -484,7 +494,7 @@ export default {
// } // }
.btnCon { .btnCon {
width: 710px; width: 100%;
margin-top: 40px; margin-top: 40px;
text-align: center; text-align: center;
} }
...@@ -566,7 +576,7 @@ export default { ...@@ -566,7 +576,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #1d1d1d; color: #1d1d1d;
display: inline-block; display: inline-block;
cursor: pointer; // cursor: pointer;
max-width: 500px; max-width: 500px;
overflow: hidden; overflow: hidden;
/* 防止文本换行 */ /* 防止文本换行 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!