|
@@ -210,6 +210,16 @@
|
|
>批量审核
|
|
>批量审核
|
|
</el-button
|
|
</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ plain
|
|
|
|
+ size="mini"
|
|
|
|
+ @click="batchProcessAssignment"
|
|
|
|
+ v-if="queryParams.collectSampleStatus == 6"
|
|
|
|
+ style="margin-bottom: 15px"
|
|
|
|
+ >批量审核作业
|
|
|
|
+ </el-button
|
|
|
|
+ >
|
|
|
|
|
|
<el-table
|
|
<el-table
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
@@ -1472,6 +1482,24 @@
|
|
this.$message.error("请选择领样");
|
|
this.$message.error("请选择领样");
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ batchProcessAssignment() {
|
|
|
|
+ if (this.okIds.length > 0) {
|
|
|
|
+ batchProcess({
|
|
|
|
+ ids: this.okIds,
|
|
|
|
+ status: 7,
|
|
|
|
+ userId: this.$store.getters.userId,
|
|
|
|
+ userName: this.$store.getters.name,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ this.okIds = [];
|
|
|
|
+ this.handleQuery();
|
|
|
|
+ this.$message.success(res.message);
|
|
|
|
+ });
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error("请选择领样");
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
getPersonList() {
|
|
getPersonList() {
|
|
getSupplyChainUserList().then((response) => {
|
|
getSupplyChainUserList().then((response) => {
|
|
this.queryParamsList.personList = response.rows;
|
|
this.queryParamsList.personList = response.rows;
|