科研机构审核列表

This commit is contained in:
熊丽君
2022-01-26 13:29:49 +08:00
parent 916ee5515b
commit 30e01df9ae
9 changed files with 437 additions and 131 deletions

View File

@ -9,7 +9,7 @@
</template>
<script>
import ExpertForm from "@/views/components/ExpertForm";
import { expertDetail, expertExamine } from "@/api/examine/expert";
import { expertDetail, expertEdit, expertExamine } from "@/api/dataList/expert";
export default {
components: {
ExpertForm,
@ -43,6 +43,7 @@ export default {
},
methods: {
submitForm(status) {
console.log(this.form);
if (this.$refs.expertForm.submitForm()) {
const str =
status == 2
@ -56,15 +57,19 @@ export default {
inputType: "textarea",
})
.then(({ value }) => {
const query = {
id: this.form.id,
status,
remark: value,
};
expertExamine(query).then((res) => {
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1);
this.$modal.msgSuccess("处理成功");
expertEdit(this.form).then((res) => {
if (res.code == 200) {
const query = {
id: this.form.id,
status,
remark: value,
};
expertExamine(query).then((res) => {
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1);
this.$modal.msgSuccess("处理成功");
});
}
});
})
.catch(() => {});

View File

@ -19,7 +19,7 @@
<el-form-item label="审核状态" prop="examine_status">
<el-select
v-model="queryParams.examine_status"
placeholder="审核状态"
placeholder="请选择审核状态"
clearable
size="small"
style="width: 240px"
@ -58,7 +58,7 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<div>{{ scope.row.industrys[0] }}</div>
<div>{{ scope.row.industrys[scope.row.industrys.length - 1] }}</div>
<!-- <div v-for="item in scope.row.industrys" :key="item">{{ item }}</div> -->
</template>
</el-table-column>
@ -111,7 +111,7 @@
</template>
<script>
import { expertList } from "@/api/examine/expert";
import { expertList } from "@/api/dataList/expert";
export default {
data() {