应用标识更换

main
xuechunyuan 3 years ago
parent b24671f45d
commit 51839e7fbc
  1. 2
      src/main.js
  2. 2
      src/utils/aisdapp.js
  3. 2
      src/views/Guidance.vue
  4. 4
      src/views/HomeView.vue
  5. 2
      src/views/examProject.vue
  6. 6
      src/views/examination.vue
  7. 6
      src/views/myExam.vue
  8. 6164
      yarn.lock

@ -8,7 +8,7 @@ import "vant/lib/index.css";
import GlobalConfig from "./utils/aisdapp";
import VConsole from "vconsole";
// let vConsole = new VConsole();
let vConsole = new VConsole();
Vue.use(vant);

@ -3,7 +3,7 @@ const urlGateway = urldomaingateway
export const appmark = "sdzwapp"
export const appword = "aKd20dbGdFvmuwrt"
const appid = 'cgstjyyjzpzp';
const appid = 'cgstjyyxuwxt';
const appMode = true;//是否开启爱山东中控台接口调用方式

@ -35,7 +35,7 @@ export default {
})
try {
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqwzxq", JSON.stringify({ createDept: id }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdhqwzxq", JSON.stringify({ createDept: id }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
this.$toast.clear();
let retData = JSON.parse(value);
if (retData.code == 200 && JSON.stringify(retData.data) != '{}') {

@ -78,7 +78,7 @@ export default {
})
try {
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqyylb", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdhqyylb", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
this.$toast.clear();
let retData = JSON.parse(value);
if (retData.success && retData.code == 200) {
@ -125,7 +125,7 @@ export default {
})
if (this.GlobalConfig.appMode) {
try {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdyhhmdyz", JSON.stringify({ cupCardNo: this.userInfo.papersnumber }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdyhhmdyz", JSON.stringify({ cupCardNo: this.userInfo.papersnumber }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
this.$toast.clear();
let retData = JSON.parse(value);
if (retData.code == 200 && retData.data) {

@ -120,7 +120,7 @@ export default {
try {
if (this.GlobalConfig.appMode) {
// console.log(JSON.stringify(param))
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdtjyytj", JSON.stringify({ data: param }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdtjyytj", JSON.stringify({ data: param }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
this.$toast.clear();
console.log('value', value);
let retData = JSON.parse(value);

@ -176,7 +176,7 @@ export default {
methods: {
querySystemTime() {
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczhqxtsj", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczhqxtsj", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
.then((value) => {
let retData = JSON.parse(value);
// console.log('retData ===>',retData)
@ -196,7 +196,7 @@ export default {
startTime:this.startTime,
endTime:this.endTime
}
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqyfhrq", JSON.stringify(val), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdhqyfhrq", JSON.stringify(val), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
.then((value) => {
let retData = JSON.parse(value);
// console.log("ret ===>",retData )
@ -257,7 +257,7 @@ export default {
apmDay: this.selectDate,
cupCardNo:this.cupCardNo
}
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqfhlb", JSON.stringify(val), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdhqfhlb", JSON.stringify(val), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway)
.then((value) => {
let retData = JSON.parse(value)
console.log(retData.data)

@ -95,7 +95,7 @@ export default {
//
querySystemTime() {
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczhqxtsj", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczhqxtsj", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
console.log(typeof (value), 'systemtime', value);
let retData = typeof (value) == 'string' ? JSON.parse(value) : value;
if (retData.code == 200) {
@ -118,7 +118,7 @@ export default {
})
try {
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdckwdyy", JSON.stringify({ createDept: "", cupCardNo: this.userInfo.papersnumber, current: this.current, size: this.size }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdckwdyy", JSON.stringify({ createDept: "", cupCardNo: this.userInfo.papersnumber, current: this.current, size: this.size }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
this.$toast.clear();
let retData = JSON.parse(value);
if (retData.code == 200) {
@ -360,7 +360,7 @@ export default {
duration: 0,
})
if (this.GlobalConfig.appMode) {
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdqxtjyy", JSON.stringify({ id: row.id }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdqxtjyy", JSON.stringify({ id: row.id }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => {
let retData = JSON.parse(value);
if (retData.code == 200) {
this.$toast('操作成功');

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save