|
@@ -62,7 +62,7 @@
|
|
|
<tr v-for="(item,key) in setsignaTable" :key="key" v-on:click="">
|
|
|
<td>{{ item.colName }}</td>
|
|
|
<td>{{ item.sigRoleName }}</td>
|
|
|
- <td align="center"><span style="color:red;cursor: pointer;" v-on:click="deleteTableSig(item.id)">删除</span></td>
|
|
|
+ <td align="center"><span style="color:red;cursor: pointer;" v-on:click="deleteTableSig(item.id,item.type)">删除</span></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -135,8 +135,8 @@ export default {
|
|
|
// }
|
|
|
|
|
|
},
|
|
|
- async deleteTableSig (ids) {//删除数据
|
|
|
- const {data: res} = await remove(ids, this.pkeyId1);
|
|
|
+ async deleteTableSig (ids,type) {//删除数据
|
|
|
+ const {data: res} = await remove(ids, this.pkeyId1,type);
|
|
|
this.getSingInfo();
|
|
|
if (res.code === 200) {
|
|
|
this.$message({
|