代码优化
This commit is contained in:
parent
cca0931500
commit
5030c0d17f
|
|
@ -53,7 +53,11 @@
|
|||
<view
|
||||
style="background-color: #ff4242"
|
||||
@click="delOffer(exit.id)"
|
||||
v-show="exit.taskStatus != '40'">
|
||||
v-show="
|
||||
exit.taskStatus != '40' &&
|
||||
(store.includes('return:apply:del') ||
|
||||
store.includes('*:*:*'))
|
||||
">
|
||||
<uni-icons style="color: #fff" type="trash"></uni-icons>
|
||||
删除
|
||||
</view>
|
||||
|
|
@ -170,6 +174,7 @@
|
|||
|
||||
<script>
|
||||
import { basePath } from "../../public";
|
||||
import store from "../../store/user";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -181,6 +186,7 @@
|
|||
exitTime: "",
|
||||
remark: "",
|
||||
},
|
||||
store: store.state.permissions || [],
|
||||
deptRange: [],
|
||||
projRange: [],
|
||||
rules: {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue