|
@@ -14,7 +14,7 @@
|
|
|
<text>职务:{{getDuty(item.duty)}}</text>
|
|
|
</div>
|
|
|
<div style="display: flex;justify-content: space-around;align-items: center;">
|
|
|
- <button @click="delUser(item)" class="editBtn">删除</button>
|
|
|
+ <button @click="delUser(item)" class="editBtn" style="background-color: red;">删除</button>
|
|
|
<button @click="editUser(item)" class="editBtn">编辑</button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -24,7 +24,7 @@
|
|
|
<div v-for="(person, index) in membersList" :key="index" style="border-bottom: 1px solid black;">
|
|
|
<u--form ref="forms">
|
|
|
<u-form-item class="typeStyle" :prop="'name' + (index + 1)">
|
|
|
- <p style="width: 150rpx;margin-left: 20rpx;">姓名{{(index + 1)}}</p>
|
|
|
+ <p style="width: 150rpx;margin-left: 20rpx;">姓名</p>
|
|
|
<u-input v-model="person.name" id="nameId" @blur="nameBlur" :placeholder="'请输入姓名'" />
|
|
|
<span class="erroring" v-if="nameRules">请输入名称</span>
|
|
|
</u-form-item>
|
|
@@ -84,7 +84,7 @@
|
|
|
</u-popup>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <u-popup :show="showDel" title="确认删除?" mode="center" >
|
|
|
+ <u-popup :show="showDel" title="确认删除?" mode="center">
|
|
|
<div style="width: 300rpx;height: 200rpx;">
|
|
|
<p>是否删除该内容?</p>
|
|
|
<button class="antherBtn" @click="makeSureDel">确认</button>
|
|
@@ -397,13 +397,16 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
-
|
|
|
+ let ids = localStorage.getItem("fireId")
|
|
|
+ if (ids) {
|
|
|
+ this.fireStationId = ids
|
|
|
+ }
|
|
|
},
|
|
|
onShow() {
|
|
|
if (this.$route.query.addId) {
|
|
|
this.getAllFire()
|
|
|
this.getbackid()
|
|
|
- console.log(options, 'options')
|
|
|
+ // console.log(options, 'options')
|
|
|
this.resultId = this.$route.query.addId
|
|
|
if (this.resultId === '2') {
|
|
|
this.tomole = '添加负责人'
|
|
@@ -412,11 +415,7 @@
|
|
|
} else {
|
|
|
this.tomole = '添加人员信息'
|
|
|
}
|
|
|
- let ids = localStorage.getItem("fireId")
|
|
|
- if (ids) {
|
|
|
- this.fireStationId = ids
|
|
|
- // console.log(this.fireStationId, 'fireid');
|
|
|
- }
|
|
|
+
|
|
|
// console.log(this.$route.query, 'query'); // 输出传递的参数值
|
|
|
} else {
|
|
|
return
|
|
@@ -498,7 +497,7 @@
|
|
|
border-radius: 10rpx;
|
|
|
font-size: 20rpx;
|
|
|
margin-bottom: 10rpx;
|
|
|
- margin-right: 10rpx0;
|
|
|
+ margin-right: 10rpx;
|
|
|
}
|
|
|
|
|
|
.modalBox {
|