上传
This commit is contained in:
@@ -285,13 +285,15 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
type="danger"
|
||||
v-if="row.id && !row.isConfirm"
|
||||
v-if="row.id"
|
||||
:disabled="row.status == 1"
|
||||
style="padding: 0"
|
||||
text
|
||||
v-hasPermi="['home:salary:sealup']"
|
||||
@click="handleSealup(row)"
|
||||
>
|
||||
封存
|
||||
<span v-if="row.status == 0">封存</span>
|
||||
<span v-else-if="row.status == 1">已封存</span>
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -359,7 +361,7 @@ async function getList() {
|
||||
tableList.value = data.list.map((it, index) => ({
|
||||
...it,
|
||||
id: index + 1,
|
||||
edit: it.isConfirm ? '2' : '0'
|
||||
edit: it.status == 1 ? '2' : '0'
|
||||
}))
|
||||
}
|
||||
total.value = data.total
|
||||
|
||||
Reference in New Issue
Block a user