优化状态显示
parent
87217334f8
commit
2eb52dad39
|
@ -336,14 +336,14 @@ class Request extends Component {
|
||||||
>通过</wc-link
|
>通过</wc-link
|
||||||
>`
|
>`
|
||||||
: ''}
|
: ''}
|
||||||
${this.$store.user.admin && it.stat !== 0
|
${this.$store.user.admin && it.stat === 1
|
||||||
? html`<wc-link
|
? html`<wc-link
|
||||||
@click=${_ => this.#handlePackgae('reject', it.id)}
|
@click=${_ => this.#handlePackgae('reject', it.id)}
|
||||||
type="warning"
|
type="warning"
|
||||||
>拒绝</wc-link
|
>拒绝</wc-link
|
||||||
>`
|
>`
|
||||||
: ''}
|
: ''}
|
||||||
${this.$store.user.admin && it.stat !== 0
|
${this.$store.user.admin && (it.stat === 1 || it.stat === 2)
|
||||||
? html`<wc-link
|
? html`<wc-link
|
||||||
@click=${_ => this.#handlePackgae('delete', it.id)}
|
@click=${_ => this.#handlePackgae('delete', it.id)}
|
||||||
type="danger"
|
type="danger"
|
||||||
|
|
Loading…
Reference in New Issue