|
@@ -94,7 +94,7 @@
|
|
|
@change="handleTableChange"
|
|
|
>
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <a @click="handleApply(record)">发起申请</a>
|
|
|
+ <a @click="handleApply(record)" v-if="apply == 1">发起申请</a>
|
|
|
|
|
|
</span>
|
|
|
</a-table>
|
|
@@ -215,10 +215,12 @@ export default {
|
|
|
pagination: {
|
|
|
},
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
|
- loading: false // 表格加载
|
|
|
+ loading: false, // 表格加载
|
|
|
+ apply:"",
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ this.apply = this.$route.query.apply;
|
|
|
this.getCostList()
|
|
|
},
|
|
|
methods: {
|