|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
<div slot="slot0">
|
|
|
<div class="mt-10">
|
|
|
- <project_add v-if="tool.checkAuth($route.name,'editProjectTask') && mainData.status === '新建'" :id="this.$route.query.id" :year="this.$route.query.year" @onSuccess="onSuccess" :disabled="disable" class="inline-16"></project_add>
|
|
|
+ <project_add v-if="tool.checkAuth($route.name,'editProjectTask') && mainData.status === '新建'" :id="this.$route.query.hrid" :year="this.$route.query.year" @onSuccess="onSuccess" :disabled="disable" class="inline-16"></project_add>
|
|
|
<el-input style="width:200px;" placeholder="请输入搜索内容" suffix-icon="el-icon-search" @input="searchChange" v-model="params.content.where.condition" @keyup.native.enter="getprojectTargetList(params.content.pageNumber = 1)" @clear="getprojectTargetList(params.content.pageNumber = 1)" size="small" class="input-with-select inline-16" clearable>
|
|
|
</el-input>
|
|
|
</div>
|
|
|
@@ -127,7 +127,7 @@ export default {
|
|
|
"id": 20220906104002,
|
|
|
"content": {
|
|
|
"year": this.$route.query.year,
|
|
|
- "hrid": this.$route.query.id,
|
|
|
+ "hrid": this.$route.query.hrid,
|
|
|
"where": {
|
|
|
"condition": ""
|
|
|
},
|
|
|
@@ -156,7 +156,7 @@ export default {
|
|
|
})
|
|
|
this.mainData = res.data
|
|
|
console.log(this.mainData)
|
|
|
- if (this.$route.query.id === this.$route.query.ownerHrid){
|
|
|
+ if (this.$route.query.hrid === this.$route.query.ownerHrid){
|
|
|
this.disable = false
|
|
|
}else{
|
|
|
this.disable = true
|