拆分详情修改

This commit is contained in:
caoyang
2022-03-31 02:45:47 +08:00
parent dfb8d75b35
commit c5a185822f
6 changed files with 76 additions and 108 deletions
+12 -3
View File
@@ -12,12 +12,21 @@
:columns="columns"
@change="tableOnChange"
>
<span slot="operation" slot-scope="record">
<span slot="operation" slot-scope="text,record">
<a v-for="(ol,index) in OperationList"
@click="OperationClick(ol,record)">
<span class="text">
<!-- <span class="text">-->
<!-- {{ol.text}}-->
<!-- </span>-->
<span v-if="ol.text==$t('backDocument')&&record.flag==0" class="text">
{{ol.text}}
</span>
</span>
<span v-if="ol.text==$t('See')" class="text">
{{ol.text}}
</span>
<span v-if="ol.text==$t('delete')">
{{ol.text}}
</span>
</a>
</span>
</a-table>