|
|
@ -54,7 +54,7 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
|
|
|
<el-col :span="2">
|
|
|
|
<el-button type="primary" class="import-btn" icon="icon iconfont icon-jc-daoru" size="mini" @click="importBtn" v-if="!roles.includes('ent')">导入新项目</el-button>
|
|
|
|
<el-button type="primary" class="import-btn" icon="icon iconfont icon-jc-daoru" size="mini" @click="importBtn" v-if="roles.includes('other-gov')">导入新项目</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</header>
|
|
|
|
</header>
|
|
|
@ -132,7 +132,7 @@
|
|
|
|
<el-table-column label="操作" prop="userId" class-name="table-operation">
|
|
|
|
<el-table-column label="操作" prop="userId" class-name="table-operation">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span class="look-info" @click="goInfo(scope.row)">查看详情</span>
|
|
|
|
<span class="look-info" @click="goInfo(scope.row)">查看详情</span>
|
|
|
|
<span class="del-info" v-if="!roles.includes('ent')" @click="delInfo(scope.row)">删除</span>
|
|
|
|
<span class="del-info" v-if="roles.includes('other-gov')" @click="delInfo(scope.row)">删除</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -370,6 +370,11 @@ export default {
|
|
|
|
this.formInline.declareUnit = this.$route.params.declareUnit
|
|
|
|
this.formInline.declareUnit = this.$route.params.declareUnit
|
|
|
|
this.pagination = { ...this.pagination,...this.formInline };
|
|
|
|
this.pagination = { ...this.pagination,...this.formInline };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.$route.params.declareUnit && this.$route.params.status) {
|
|
|
|
|
|
|
|
this.formInline.declareUnit = this.$route.params.declareUnit
|
|
|
|
|
|
|
|
this.formInline.status = this.$route.params.status
|
|
|
|
|
|
|
|
this.pagination = { ...this.pagination,...this.formInline };
|
|
|
|
|
|
|
|
}
|
|
|
|
if(this.userType == "01") {
|
|
|
|
if(this.userType == "01") {
|
|
|
|
this.pagination.creditCode = this.$store.state.user.name
|
|
|
|
this.pagination.creditCode = this.$store.state.user.name
|
|
|
|
}
|
|
|
|
}
|
|
|
|