whj 11 сар өмнө
parent
commit
b4d29ab935

+ 3 - 3
src/views/workplace/publish/MyPublish.vue

@@ -72,9 +72,8 @@
         <span slot="action" slot-scope="record">
           <template>
             <a @click="handleView(record.id)">查看</a>
-
-            <operation-button @click="handleEdit(record)">修改</operation-button>
-            <operation-button :type="2" title="确认发送" @confirm="handleSend(record.id)">发送</operation-button>
+            <operation-button v-if="record.taskStatus!==1&&record.taskStatus!==2" @click="handleEdit(record)">修改</operation-button>
+            <operation-button v-if="record.taskStatus!==1&&record.taskStatus!==2" :type="2" title="确认发送" @confirm="handleSend(record.id)">发送</operation-button>
           </template>
         </span>
       </s-table>
@@ -153,6 +152,7 @@ export default {
           title: '操作',
           key: 'action',
           width: '200px',
+          fixed: 'right',
           checked: true,
           align: 'center',
           scopedSlots: { customRender: 'action' },