|
@@ -267,7 +267,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { mapState } from "vuex";
|
|
import { mapState } from "vuex";
|
|
-import { MARKING_API, DATA_PROCESS_API } from "@/constants/constants";
|
|
|
|
|
|
+import { MARKING_API, MARKING_LOGIC_API } from "@/constants/constants";
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -363,7 +363,7 @@ export default {
|
|
appendPaper(row) {
|
|
appendPaper(row) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
this.$http
|
|
this.$http
|
|
- .put(DATA_PROCESS_API + "/markWorks/append-paper/" + row.id)
|
|
|
|
|
|
+ .put(MARKING_LOGIC_API + "/markWorks/append-paper/" + row.id)
|
|
.then(() => {
|
|
.then(() => {
|
|
this.$notify({
|
|
this.$notify({
|
|
message: "操作成功",
|
|
message: "操作成功",
|
|
@@ -375,7 +375,7 @@ export default {
|
|
},
|
|
},
|
|
recreate(row) {
|
|
recreate(row) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- this.$http.put(DATA_PROCESS_API + "/markWorks/" + row.id).then(() => {
|
|
|
|
|
|
+ this.$http.put(MARKING_LOGIC_API + "/markWorks/" + row.id).then(() => {
|
|
this.$notify({
|
|
this.$notify({
|
|
message: "操作成功",
|
|
message: "操作成功",
|
|
type: "success",
|
|
type: "success",
|
|
@@ -404,7 +404,7 @@ export default {
|
|
params = params + "&examType=" + this.formMarkWork.examType;
|
|
params = params + "&examType=" + this.formMarkWork.examType;
|
|
}
|
|
}
|
|
this.$http
|
|
this.$http
|
|
- .get(DATA_PROCESS_API + "/exam/all" + params)
|
|
|
|
|
|
+ .get(MARKING_LOGIC_API + "/exam/all" + params)
|
|
.then((response) => {
|
|
.then((response) => {
|
|
response.data.forEach((element, index) => {
|
|
response.data.forEach((element, index) => {
|
|
tempSelect[index] = {
|
|
tempSelect[index] = {
|
|
@@ -420,7 +420,7 @@ export default {
|
|
var orgId = this.user.rootOrgId;
|
|
var orgId = this.user.rootOrgId;
|
|
this.loading = true;
|
|
this.loading = true;
|
|
this.$http
|
|
this.$http
|
|
- .get(DATA_PROCESS_API + "/markWorks?orgId=" + orgId)
|
|
|
|
|
|
+ .get(MARKING_LOGIC_API + "/markWorks?orgId=" + orgId)
|
|
.then((response) => {
|
|
.then((response) => {
|
|
console.log(response);
|
|
console.log(response);
|
|
this.totalTableData = response.data;
|
|
this.totalTableData = response.data;
|
|
@@ -685,7 +685,7 @@ export default {
|
|
);
|
|
);
|
|
} else {
|
|
} else {
|
|
this.$http
|
|
this.$http
|
|
- .post(DATA_PROCESS_API + "/markWorks", this.formMarkWork)
|
|
|
|
|
|
+ .post(MARKING_LOGIC_API + "/markWorks", this.formMarkWork)
|
|
.then(
|
|
.then(
|
|
() => {
|
|
() => {
|
|
this.$notify({
|
|
this.$notify({
|