|
@@ -4,7 +4,7 @@
|
|
|
<toolList @iconCli='iconCli' :tooltit='tooltit'></toolList>
|
|
|
<div class="search">
|
|
|
<mySearch :searchList="searchList" @searchInfo="searchInfo"></mySearch>
|
|
|
- <el-button class="btn-check" size="medium" type="primary" @click='jumpadd'>添加
|
|
|
+ <el-button class="btn-check" size="medium" type="primary" @click='jumpadd' v-if="(userInfo.cityName==null&&userInfo.countyName==null)||(userInfo.cityName!=null&&userInfo.countyName==null)">添加
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="tabbox">
|
|
@@ -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 != 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>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -408,7 +408,7 @@
|
|
|
}).then((res) => {
|
|
|
this.tableData = res.data.body.pageList.data;
|
|
|
// this.total = res.data.totalRecord;
|
|
|
-
|
|
|
+ console.log(this.tableData);
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
@@ -559,6 +559,7 @@
|
|
|
getUser() {
|
|
|
this.userInfo = JSON.parse(window.sessionStorage.userInfo);
|
|
|
this.loginNoStr = this.userInfo.loginNoStr;
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|