|
@@ -156,7 +156,7 @@
|
|
|
<div style="position: relative;" @click="imge(itemg)">
|
|
|
<!-- defaultSettings.urls+baseUrl +itemt.url -->
|
|
|
<!-- +baseUrl -->
|
|
|
- <img :src="defaultSettings.urls +itemg" alt="" style="width: 100%;height: 150px;">
|
|
|
+ <img :src="defaultSettings.urls+baseUrl +itemg" alt="" style="width: 100%;height: 150px;">
|
|
|
<!-- <p style="position: absolute;bottom: 0;left: 0;font-weight: 500; height: 24px;background-color: rgba(0,0,0,.5);color: #fff;font-size: 14px;width: 100%;padding-left: 10px;line-height: 24px;margin: 0;">{{itemt.title}}</p> -->
|
|
|
</div>
|
|
|
</el-carousel-item>
|
|
@@ -173,7 +173,7 @@
|
|
|
<p ><span style="color:#28C529 ;" @click="handleUpdate(item)" v-if="item.examine !=2">修改</span> </p>
|
|
|
<p style="border-left: 1px solid #DADADAd;" @click="handleUpdatef(item)" :class="item.examine !=2?'':'wide'">查看</p>
|
|
|
<!-- <span @click="handleUpdatef(item)">查看</span> -->
|
|
|
- <p style="color:red" @click="handleDelete(item)">删除</p>
|
|
|
+ <!-- <p v-if="item.examine !=2" style="color:red" @click="handleDelete(item)">删除</p> -->
|
|
|
</div>
|
|
|
<img v-if="item.isnum == true" src="../assets/images/icon_htgl_kp_gx.png" alt="" style="width: 35px;height: 35px;position: absolute;bottom: 0;right: 0;">
|
|
|
</div>
|
|
@@ -295,7 +295,7 @@
|
|
|
<el-dialog title="查看图片" :visible.sync="openg" width="440px" append-to-body>
|
|
|
<div>
|
|
|
<!-- +baseUrl -->
|
|
|
- <img :src="defaultSettings.urls+ imgurw" alt="" style="width: 100%;">
|
|
|
+ <img :src="defaultSettings.urls +baseUrl+ imgurw" alt="" style="width: 100%;">
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -360,7 +360,7 @@ export default {
|
|
|
{ required: true, message: "员工姓名不能为空", trigger: "blur" }
|
|
|
],
|
|
|
staffCategory: [
|
|
|
- { required: true, message: "员工类别,1:保安 2:维修人员 3:物业管理不能为空", trigger: "change" }
|
|
|
+ { required: true, message: "员工类别不能为空", trigger: "change" }
|
|
|
],
|
|
|
|
|
|
phoneNumber: [
|
|
@@ -636,14 +636,12 @@ export default {
|
|
|
},
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
- // const staffIds = row.staffId || this.ids;
|
|
|
- let staffIds={'staffId':row.staffId,'userId':row.userId,'tenantId':row.tenantId,'examine':row.examine}
|
|
|
- this.$modal.confirm('是否确认删除员工的数据项?').then(function() {
|
|
|
- return deleteStaffManage(staffIds);
|
|
|
- }).then(() => {
|
|
|
- this.getList();
|
|
|
- this.$modal.msgSuccess("删除成功");
|
|
|
- }).catch(() => {});
|
|
|
+ const staffIds = row.staffId || this.ids;
|
|
|
+ // let staffIds={'staffId':row.staffId,'userId':row.userId,'tenantId':row.tenantId,'examine':row.examine}
|
|
|
+ delStaffManage(staffIds).then(response => {
|
|
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|