|
@@ -51,7 +51,7 @@
|
|
<div class="table-operations">
|
|
<div class="table-operations">
|
|
<template v-if="perm.LINK_Update">
|
|
<template v-if="perm.LINK_Update">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status !== 'FINISH'"
|
|
|
|
|
|
+ :disabled="row.status === 'FINISH'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handleEdit(row)"
|
|
@click="handleEdit(row)"
|
|
@@ -61,7 +61,7 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="perm.LINK_Publish">
|
|
<template v-if="perm.LINK_Publish">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status === 'NEW'"
|
|
|
|
|
|
+ :disabled="row.status !== 'NEW'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handlePublish(row)"
|
|
@click="handlePublish(row)"
|
|
@@ -71,7 +71,7 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="perm.LINK_Cancel">
|
|
<template v-if="perm.LINK_Cancel">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status === 'NEW'"
|
|
|
|
|
|
+ :disabled="row.status !== 'NEW'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handleDestroy(row)"
|
|
@click="handleDestroy(row)"
|
|
@@ -81,7 +81,7 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="perm.LINK_Restart">
|
|
<template v-if="perm.LINK_Restart">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status === 'FINISH'"
|
|
|
|
|
|
+ :disabled="row.status !== 'FINISH'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handleRestart(row)"
|
|
@click="handleRestart(row)"
|
|
@@ -91,7 +91,7 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="perm.LINK_Close">
|
|
<template v-if="perm.LINK_Close">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status === 'PUBLISH'"
|
|
|
|
|
|
+ :disabled="row.status !== 'PUBLISH'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handleCloze(row)"
|
|
@click="handleCloze(row)"
|
|
@@ -101,7 +101,7 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="perm.LINK_Set">
|
|
<template v-if="perm.LINK_Set">
|
|
<t-link
|
|
<t-link
|
|
- v-if="row.status === 'NEW'"
|
|
|
|
|
|
+ :disabled="row.status !== 'NEW'"
|
|
theme="primary"
|
|
theme="primary"
|
|
hover="color"
|
|
hover="color"
|
|
@click="handleSetGroup(row)"
|
|
@click="handleSetGroup(row)"
|
|
@@ -246,7 +246,7 @@ const columns = [
|
|
title: '管理',
|
|
title: '管理',
|
|
colKey: 'operate',
|
|
colKey: 'operate',
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
- width: 240,
|
|
|
|
|
|
+ width: 320,
|
|
cell: 'operate',
|
|
cell: 'operate',
|
|
},
|
|
},
|
|
];
|
|
];
|