|
@@ -99,7 +99,7 @@
|
|
|
<img v-if="item.type == 2 && !item.avatar" src="@/assets/ZDimages/basicsModules/tx_cion.png">
|
|
|
<img v-if="item.type == 2 && item.avatar" :src="item.avatar">
|
|
|
<p class="user-for-name">{{item.name}}</p>
|
|
|
- <p class="user-for-add el-icon-circle-plus-outline"></p>
|
|
|
+ <p class="user-for-add el-icon-circle-plus-outline" @click="addMinItem(index)"></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-bottom-box">
|
|
@@ -122,7 +122,7 @@
|
|
|
<img v-if="item.type == 2 && !item.avatar" src="@/assets/ZDimages/basicsModules/tx_cion.png">
|
|
|
<img v-if="item.type == 2 && item.avatar" :src="item.avatar">
|
|
|
<p class="user-for-name">{{item.name}}</p>
|
|
|
- <p class="user-for-del el-icon-circle-close"></p>
|
|
|
+ <p class="user-for-del el-icon-circle-close" @click="delMinItem(index)"></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-bottom-box">
|
|
@@ -236,6 +236,19 @@
|
|
|
this.$set(this,'rightTableType',type);
|
|
|
}
|
|
|
},
|
|
|
+ //添加人员/身份
|
|
|
+ addMinItem(index){
|
|
|
+ let obj = JSON.parse(JSON.stringify(this.userListLeft[index]))
|
|
|
+ this.userListLeft.splice(index,1);
|
|
|
+ this.userListRight.push(obj)
|
|
|
+
|
|
|
+ },
|
|
|
+ //删除人员/身份
|
|
|
+ delMinItem(index){
|
|
|
+ let obj = JSON.parse(JSON.stringify(this.userListRight[index]))
|
|
|
+ this.userListRight.splice(index,1);
|
|
|
+ this.userListLeft.push(obj)
|
|
|
+ },
|
|
|
//添加流程
|
|
|
addItem(index,type){
|
|
|
if (this.newDataList[4]){
|
|
@@ -533,7 +546,7 @@
|
|
|
width:235px;
|
|
|
height:40px;
|
|
|
line-height:38px;
|
|
|
- padding:0 20px;
|
|
|
+ padding:0 15px;
|
|
|
margin:0 0 0 10px;
|
|
|
border-radius:4px;
|
|
|
border:1px solid #dedede;
|