This commit is contained in:
赵旭 2024-08-28 23:58:39 +08:00
parent d7e9b3d491
commit 0e3661c3aa
12 changed files with 24 additions and 11 deletions

View File

@ -105,9 +105,11 @@
<script> <script>
import { listTest, getTest, delTest, addTest, updateTest } from "./api/test"; import { listTest, getTest, delTest, addTest, updateTest } from "./api/test";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Test", name: "Test",
components: {editor},
data() { data() {
return { return {
viewFlag:false, viewFlag:false,

View File

@ -87,9 +87,11 @@
<script> <script>
import { listContract, getContract, delContract, addContract, updateContract } from "./api/contract"; import { listContract, getContract, delContract, addContract, updateContract } from "./api/contract";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Contract", name: "Contract",
components: {editor},
data() { data() {
return { return {
viewFlag:false, viewFlag:false,

View File

@ -105,9 +105,11 @@
<script> <script>
import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "./api/notice"; import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "./api/notice";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Notice", name: "Notice",
components: {editor},
data() { data() {
return { return {
viewContent:"", viewContent:"",

View File

@ -95,9 +95,10 @@
<script> <script>
import { listJournal, getJournal, delJournal, addJournal, updateJournal } from "./api/journal"; import { listJournal, getJournal, delJournal, addJournal, updateJournal } from "./api/journal";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Journal", name: "Journal",
components: {editor},
data() { data() {
return { return {
viewContent:"", viewContent:"",

View File

@ -162,9 +162,10 @@
<script> <script>
import { listCheck, getCheck, delCheck, addCheck, updateCheck,listCards } from "./api/check"; import { listCheck, getCheck, delCheck, addCheck, updateCheck,listCards } from "./api/check";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Check", name: "Check",
components: {editor},
data() { data() {
return { return {
carLists:[], carLists:[],

View File

@ -266,8 +266,8 @@ export default {
console.log("252",this.queryParams) console.log("252",this.queryParams)
getBalanceList(this.queryParams).then(response => { getBalanceList(this.queryParams).then(response => {
this.passList = response.rows; this.passList = response.data.records;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
}, },

View File

@ -136,9 +136,11 @@
<script> <script>
import { listDial, getDial, delDial, addDial, updateDial } from "./api/dial"; import { listDial, getDial, delDial, addDial, updateDial } from "./api/dial";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Dial", name: "Dial",
components: {editor},
data() { data() {
return { return {
// //

View File

@ -288,7 +288,7 @@
<script> <script>
import { listCar, getCar, delCar, addCar, updateCar } from "./api/car"; import { listCar, getCar, delCar, addCar, updateCar } from "./api/car";
import {getToken} from "@/utils/auth"; import { getAccessToken } from "@/utils/auth";
export default { export default {
name: "Car", name: "Car",
@ -305,7 +305,7 @@ export default {
// //
updateSupport: 0, updateSupport: 0,
// //
headers: {Authorization: "Bearer " + getToken()}, headers: {Authorization: "Bearer " + getAccessToken()},
// //
url: process.env.VUE_APP_BASE_API + "/drivingSchool/system/car/importData" url: process.env.VUE_APP_BASE_API + "/drivingSchool/system/car/importData"
}, },

View File

@ -292,7 +292,7 @@
<script> <script>
import { listCar, getCar, delCar, addCar, updateCar } from "./api/car"; import { listCar, getCar, delCar, addCar, updateCar } from "./api/car";
import {getToken} from "@/utils/auth"; import { getAccessToken } from "@/utils/auth";
export default { export default {
name: "Car", name: "Car",
@ -309,7 +309,7 @@ export default {
// //
updateSupport: 0, updateSupport: 0,
// //
headers: {Authorization: "Bearer " + getToken()}, headers: {Authorization: "Bearer " + getAccessToken()},
// //
url: process.env.VUE_APP_BASE_API + "/drivingSchool/system/car/importData" url: process.env.VUE_APP_BASE_API + "/drivingSchool/system/car/importData"
}, },

View File

@ -158,9 +158,10 @@
<script> <script>
import { listInsurance, getInsurance, delInsurance, addInsurance, updateInsurance ,listCards} from "./api/insurance"; import { listInsurance, getInsurance, delInsurance, addInsurance, updateInsurance ,listCards} from "./api/insurance";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "Insurance", name: "Insurance",
components: {editor},
data() { data() {
return { return {
viewContent:"", viewContent:"",

View File

@ -216,10 +216,11 @@
<script> <script>
import { listSchoolCoach, getSchoolCoach, delSchoolCoach, addSchoolCoach, updateSchoolCoach } from "./api/schoolCoach"; import { listSchoolCoach, getSchoolCoach, delSchoolCoach, addSchoolCoach, updateSchoolCoach } from "./api/schoolCoach";
//import CouponTemplate from "@/views/system/inspection/PartnerManagement/couponTemplate"; //import CouponTemplate from "@/views/system/inspection/PartnerManagement/couponTemplate";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "SchoolCoach", name: "SchoolCoach",
// components: {CouponTemplate}, // components: {CouponTemplate},
components: {editor},
data() { data() {
return { return {
viewFlag:false, viewFlag:false,

View File

@ -204,9 +204,10 @@
<script> <script>
import { listDriveSchoolCourse, getDriveSchoolCourse, delDriveSchoolCourse, addDriveSchoolCourse, updateDriveSchoolCourse } from "./api/driveSchoolCourse"; import { listDriveSchoolCourse, getDriveSchoolCourse, delDriveSchoolCourse, addDriveSchoolCourse, updateDriveSchoolCourse } from "./api/driveSchoolCourse";
import editor from '@/components/Editor/index.vue'
export default { export default {
name: "DriveSchoolCourse", name: "DriveSchoolCourse",
components: {editor},
data() { data() {
return { return {
viewFlag:false, viewFlag:false,