Commit e644e1e2 authored by zhengke's avatar zhengke

修改

parent 196ac3db
......@@ -28,4 +28,16 @@ export function GetCenterCommissionStatistics(data) {
method: 'post',
data
})
}
\ No newline at end of file
}
/**
* 首页 今日数据图标数据
*/
export function MarketStatic(data) {
return request({
url: '/UserCenter/MarketStatic',
method: 'post',
data
})
}
......@@ -105,6 +105,8 @@
import {
GetEducationReceiptPage,
} from "../../api/teacher/index";
import { Encrypt } from '../../utils/encrypt'
import html2canvas from "html2canvas";
export default {
......@@ -305,7 +307,8 @@
tipLoadding.show({
message: '正在生成图片,请稍后...'
})
var domain = "https://edu.kookaku.com/#/courseRefundH5?Id=" + item.Id;
let str=Encrypt(item.Id.toString())
var domain = "https://edu.kookaku.com/#/courseRefundH5?a=" + encodeURIComponent(str);
let msg = {
url: domain,
width: 430
......
......@@ -131,7 +131,7 @@
class="q-px-md"
color="primary"
size="12px"
label="今日工作"
label="今日数据统计"
/>
<q-btn
dense
......@@ -144,7 +144,8 @@
/>
</q-btn-group>
</div>
<dasbord></dasbord>
<dasbord v-if="viewMode==2"></dasbord>
<todayData v-if="viewMode==1"></todayData>
</div>
</div>
</template>
......@@ -154,10 +155,14 @@ import { mapGetters } from "vuex";
import { queryOKRMyEmployeeList } from "../../api/okr/work";
import { queryEmployee } from "../../api/users/user";
import dasbord from "./dasbord.vue";
import todayData from "./todayData.vue"
import { Encrypt,Decrypt} from '../../utils/encrypt'
export default {
components: { dasbord },
components: {
dasbord,
todayData
},
data() {
return {
usersList: [],
......@@ -165,7 +170,7 @@ export default {
searchText: "",
menuList: [],
activeMenu: "myokr",
viewMode: 1
viewMode: 2
};
},
created() {
......
......@@ -120,6 +120,7 @@
if (this.$route.query.a) {
let ContractId = Decrypt(decodeURIComponent(this.$route.query.a));
this.msg.ContractId = ContractId;
this.BackMsg.Id = ContractId;
}
if (this.$route.query.StudentName) {
this.StudentName = this.$route.query.StudentName
......@@ -127,9 +128,6 @@
if (this.$route.query.Money) {
this.Money = this.$route.query.Money;
}
if (this.$route.query.Id) {
this.BackMsg.Id = this.$route.query.Id;
}
if (this.$route.query.Type) {
this.Type = this.$route.query.Type;
}
......@@ -317,7 +315,7 @@
this.$router.push({
path: '/courseRefundH5',
query: {
Id: this.BackMsg.Id
a: encodeURIComponent(Encrypt(this.BackMsg.Id.toString()))
}
});
}
......
......@@ -312,6 +312,7 @@
import {
GetBackClassProtocol
} from '../api/sale/contract'
import { Encrypt,Decrypt} from '../utils/encrypt'
export default {
data() {
......@@ -326,8 +327,9 @@
};
},
created() {
if (this.$route.query.Id) {
this.gmsg.Id = this.$route.query.Id;
if (this.$route.query.a) {
let ContractId = Decrypt(decodeURIComponent(this.$route.query.a));
this.gmsg.Id = ContractId
}
this.getList();
},
......@@ -362,7 +364,7 @@
this.$router.push({
path: '/contractSign',
query: {
Id: this.gmsg.Id,
a: encodeURIComponent(Encrypt(this.gmsg.Id.toString())),
Type: 2
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment