mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 00:06:47 +08:00
fix:增加评估管理-创建人 创建时间
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="width: 103px; margin-right: 126px; float: left">
|
<div style="width: 103px; margin-right: 126px; float: left">
|
||||||
<span class="name">创建人:</span>
|
<span class="name">创建人:</span>
|
||||||
<span class="descript">{{ basicInfo.createName }}</span>
|
<span class="descript">{{ createName }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 88px; margin-right: 126px; float: left">
|
<div style="width: 88px; margin-right: 126px; float: left">
|
||||||
<span class="name">状态:</span>
|
<span class="name">状态:</span>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="width: 192px; margin-right: 126px; float: left">
|
<div style="width: 192px; margin-right: 126px; float: left">
|
||||||
<span class="name">创建时间:</span>
|
<span class="name">创建时间:</span>
|
||||||
<span class="descript">{{ basicInfo.createTime }}</span>
|
<span class="descript">{{ createTime }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 192px; margin-right: 126px; float: left">
|
<div style="width: 192px; margin-right: 126px; float: left">
|
||||||
<span class="name">发布时间:</span>
|
<span class="name">发布时间:</span>
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
import ViewAssess from "../../components/drawers/ViewAssess";
|
import ViewAssess from "../../components/drawers/ViewAssess";
|
||||||
import { reactive, toRefs } from "vue";
|
import { reactive, toRefs } from "vue";
|
||||||
import { queryAssessmentDetailList } from "@/api/indexResearch";
|
import { queryAssessmentDetailList } from "@/api/indexResearch";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter, useRoute } from "vue-router";
|
||||||
import * as api from "@/api/indexTaskManage";
|
import * as api from "@/api/indexTaskManage";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -90,6 +90,7 @@ export default {
|
|||||||
components: { ViewAssess },
|
components: { ViewAssess },
|
||||||
setup() {
|
setup() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const { query: { createName, createTime }} = useRoute();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
Assessvisible: false,
|
Assessvisible: false,
|
||||||
basicInfo: "",
|
basicInfo: "",
|
||||||
@@ -322,7 +323,9 @@ export default {
|
|||||||
],
|
],
|
||||||
showassess,
|
showassess,
|
||||||
changePaginationStu,
|
changePaginationStu,
|
||||||
exportStudentInfo
|
exportStudentInfo,
|
||||||
|
createName,
|
||||||
|
createTime
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
@click=" handleEditPage(record.id)" type="link">基础信息
|
@click=" handleEditPage(record.id)" type="link">基础信息
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button v-if="record.releaseStatus === '2' && checkPer(record.permissions)"
|
<a-button v-if="record.releaseStatus === '2' && checkPer(record.permissions)"
|
||||||
@click=" toManage(record.id)" type="link">管理
|
@click=" toManage(record.id, record)" type="link">管理
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button v-if="checkPer(record.permissions)" @click=" handleOper(record,'copy')" type="link">复制
|
<a-button v-if="checkPer(record.permissions)" @click=" handleOper(record,'copy')" type="link">复制
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -369,9 +369,10 @@ function handleEditPage(id) {
|
|||||||
router.push("/researchadd/" + id);
|
router.push("/researchadd/" + id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toManage(id) {
|
function toManage(id, record) {
|
||||||
router.push("/managepage/" + id);
|
router.push({ path: `/managepage/${id}`, query: { createName:record.createName, createTime:record.createTime } });
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleNext = async () => {
|
const handleNext = async () => {
|
||||||
await validate().catch(({ errorFields }) => {
|
await validate().catch(({ errorFields }) => {
|
||||||
message.warning(errorFields[0].errors.join());
|
message.warning(errorFields[0].errors.join());
|
||||||
|
|||||||
Reference in New Issue
Block a user