|
@@ -419,38 +419,11 @@
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog
|
|
|
|
- v-loading="auditInfoLoading"
|
|
|
|
- title="审核记录"
|
|
|
|
- width="60%"
|
|
|
|
- :visible.sync="auditInfoDialog"
|
|
|
|
- element-loading-text="拼命加载中"
|
|
|
|
- >
|
|
|
|
- <el-table
|
|
|
|
- :data="auditInfoList"
|
|
|
|
- border
|
|
|
|
- style="width: 100%; text-align: center"
|
|
|
|
- >
|
|
|
|
- <el-table-column
|
|
|
|
- prop="operateUserName"
|
|
|
|
- label="执行人"
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column prop="operateTime" label="执行时间"></el-table-column>
|
|
|
|
- <el-table-column prop="operate" label="执行事项"></el-table-column>
|
|
|
|
- <el-table-column prop="auditRemark" label="审核意见"></el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <div class="page pull-right">
|
|
|
|
- <el-pagination
|
|
|
|
- :current-page="auditInfoCurPage"
|
|
|
|
- :page-size="auditInfoPageSize"
|
|
|
|
- :page-sizes="[10, 20, 50, 100, 200, 300]"
|
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
- :total="auditInfoTotal"
|
|
|
|
- @current-change="auditInfoChange"
|
|
|
|
- @size-change="handleAuditInfoSizeChange"
|
|
|
|
- ></el-pagination>
|
|
|
|
- </div>
|
|
|
|
- <div style="margin-top: 10px"></div>
|
|
|
|
|
|
+ <el-dialog title="审核记录" width="80%" :visible.sync="auditInfoDialog">
|
|
|
|
+ <AuditInfo
|
|
|
|
+ v-if="auditInfoDialog"
|
|
|
|
+ :paper-id="auditInfoPaperId"
|
|
|
|
+ ></AuditInfo>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</section>
|
|
</section>
|
|
</template>
|
|
</template>
|
|
@@ -460,17 +433,13 @@ import { QUESTION_API } from "@/constants/constants";
|
|
import { LEVEL_TYPE, PUBLICITY_LIST } from "../constants/constants";
|
|
import { LEVEL_TYPE, PUBLICITY_LIST } from "../constants/constants";
|
|
import { mapState } from "vuex";
|
|
import { mapState } from "vuex";
|
|
import LinkTitlesCustom from "@/components/LinkTitlesCustom.vue";
|
|
import LinkTitlesCustom from "@/components/LinkTitlesCustom.vue";
|
|
|
|
+import AuditInfo from "./AuditInfo.vue";
|
|
export default {
|
|
export default {
|
|
- components: { LinkTitlesCustom },
|
|
|
|
|
|
+ components: { LinkTitlesCustom, AuditInfo },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- auditInfoPaperId: "",
|
|
|
|
- auditInfoLoading: false,
|
|
|
|
|
|
+ auditInfoPaperId: null,
|
|
auditInfoDialog: false,
|
|
auditInfoDialog: false,
|
|
- auditInfoList: [],
|
|
|
|
- auditInfoCurPage: 1,
|
|
|
|
- auditInfoPageSize: 10,
|
|
|
|
- auditInfoTotal: 10,
|
|
|
|
courseLoading: false,
|
|
courseLoading: false,
|
|
quesLoading: false,
|
|
quesLoading: false,
|
|
formSearch: {
|
|
formSearch: {
|
|
@@ -558,41 +527,9 @@ export default {
|
|
this.initVue();
|
|
this.initVue();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- auditInfoSearch(curPage) {
|
|
|
|
- this.auditInfoLoading = true;
|
|
|
|
- var url =
|
|
|
|
- QUESTION_API +
|
|
|
|
- "/paper/audit/page/" +
|
|
|
|
- curPage +
|
|
|
|
- "/" +
|
|
|
|
- this.auditInfoPageSize +
|
|
|
|
- "?paperId=" +
|
|
|
|
- this.auditInfoPaperId;
|
|
|
|
- this.$httpWithMsg
|
|
|
|
- .get(url)
|
|
|
|
- .then((response) => {
|
|
|
|
- this.auditInfoList = response.data.content;
|
|
|
|
- this.auditInfoTotal = response.data.totalElements;
|
|
|
|
- this.auditInfoLoading = false;
|
|
|
|
- })
|
|
|
|
- .catch(function () {
|
|
|
|
- this.auditInfoLoading = false;
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
auditInfo(row) {
|
|
auditInfo(row) {
|
|
- this.auditInfoList = [];
|
|
|
|
- this.auditInfoTotal = 0;
|
|
|
|
this.auditInfoPaperId = row.id;
|
|
this.auditInfoPaperId = row.id;
|
|
this.auditInfoDialog = true;
|
|
this.auditInfoDialog = true;
|
|
- this.auditInfoSearch(1);
|
|
|
|
- },
|
|
|
|
- auditInfoCurChange(val) {
|
|
|
|
- this.auditInfoCurPage = val;
|
|
|
|
- this.auditInfoSearch(val);
|
|
|
|
- },
|
|
|
|
- handleAuditInfoSizeChange(val) {
|
|
|
|
- this.auditInfoPageSize = val;
|
|
|
|
- this.auditInfoSearch(val);
|
|
|
|
},
|
|
},
|
|
searchFrom() {
|
|
searchFrom() {
|
|
this.currentPage = 1;
|
|
this.currentPage = 1;
|