|
@@ -39,7 +39,7 @@
|
|
|
<el-button size="mini" type="primary" @click="jump(1, scope.row)" v-if="(loginNoStr == scope.row.nextOpNo && ((scope.row.provinceCity == 1 && scope.row.nextStep != 12) || (scope.row.provinceCity == 2 && scope.row.nextStep != 10) || (scope.row.provinceCity == 3 && scope.row.nextStep != 11))) && (scope.row.sts != 2 && scope.row.sts != 3)">审批</el-button>
|
|
|
<el-button size="mini" type="primary" @click="jump(3, scope.row)" v-if="(loginNoStr == scope.row.nextOpNo && ((scope.row.provinceCity == 1 && scope.row.nextStep ==7) || (scope.row.provinceCity == 1 && scope.row.nextStep ==11) || (scope.row.provinceCity == 2 && scope.row.nextStep == 9) || (scope.row.provinceCity == 3 && scope.row.nextStep == 10))) && (scope.row.sts != 3)">子任务列表</el-button>
|
|
|
<el-button size="mini" type="danger" @click="delLine(scope.row)" v-if="(loginNoStr == scope.row.opNo && ((scope.row.provinceCity == 1 && scope.row.nextStep <= 7) || (scope.row.provinceCity == 2 && scope.row.nextStep <= 10) || (scope.row.provinceCity == 3 && scope.row.nextStep <= 11)) && (scope.row.sts != 3))">删除</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="jump(4, scope.row)" v-if="((scope.row.provinceCity == 1 && scope.row.nextStep == 12) || (scope.row.provinceCity == 2 && scope.row.nextStep == 10) || (scope.row.provinceCity == 3 && scope.row.nextStep == 11)) && scope.row.countrySts == 2">验收</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="jump(4, scope.row)" v-if="((scope.row.provinceCity == 1 && scope.row.nextStep == 12) || (scope.row.provinceCity == 2 && scope.row.nextStep == 10) || (scope.row.provinceCity == 3 && scope.row.nextStep == 11)) && (scope.row.countrySts == 0 || scope.row.countrySts == 2)">验收</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -315,7 +315,7 @@
|
|
|
// this.$router.push("/materialApplicationExa?id=" + n.id + "");
|
|
|
this.$router.push({
|
|
|
path: '/materialApplicationExa',
|
|
|
- query: {id: n.id, btnS: 1}
|
|
|
+ query: {cityWoId: n.cityWoId, id: n.id, btnS: 1}
|
|
|
})
|
|
|
|
|
|
}else if(v === 2){
|
|
@@ -407,8 +407,8 @@
|
|
|
data: v,
|
|
|
}).then((res) => {
|
|
|
this.tableData = res.data.body.pageList.data;
|
|
|
- // this.total = res.data.totalRecord;
|
|
|
- console.log(this.tableData);
|
|
|
+ // // this.total = res.data.totalRecord;
|
|
|
+ // console.log(this.tableData);
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|