洋浦学校 crm权限配置问题处理

init
gongdi 3 years ago
parent 3a1f61bc47
commit 38d6692436

@ -22,7 +22,6 @@
<script>
import {systemConfigData, systemCenterConfig} from './systemConfig'
console.log("systemCenterConfig:",systemCenterConfig)
import _ from 'lodash'
export default {
name: "SystemList",
@ -35,7 +34,6 @@
}
},
mounted() {
console.log("systemCenterList:",this.systemCenterList);
this.calculateData()
},
methods: {

@ -162,7 +162,6 @@ export default {
this.NowOrgId = selectedKeys[0];
},
getPathInfo(id, treeData) {
// console.log(treeData, "treeData");
var path = "";
var obj = this.getObjInfo(id, treeData);
var org_code = obj["org_code"].slice(1, obj["org_code"].length - 1);

@ -76,7 +76,6 @@ export default {
},
props: ["MsgObj"],
mounted() {
// console.log(this.MsgObj, "message");
//
const user_info = JSON.parse(localStorage.getItem("user_info"));
const target_info = JSON.parse(localStorage.getItem("conversation_info"));
@ -106,7 +105,6 @@ export default {
type: RongIMLib.CONVERSATION_TYPE.PRIVATE,
});
conversation.read().then(function () {
// console.log("");
// this.$bus.emit("getTotalUnreadCount", 0);
// this.getTotalUnreadCount();
});
@ -120,8 +118,6 @@ export default {
]).then(function (totalUnreadCount) {
// Vue.prototype.RongIMClientNum = totalUnreadCount
_this.$bus.emit("totalNoticeChange", totalUnreadCount);
// console.log("11", totalUnreadCount);
// this.notice_count = total_notice(totalUnreadCount);
});
},

@ -28,9 +28,7 @@
// }
export const format_date = (timestamp, format = "Y-M-D H:m:s") => {
var date = new Date(timestamp);
// console.log(timestamp);
var Y = date.getFullYear();
// console.log(Y);
var M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1;
var D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
var H = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();

@ -167,9 +167,7 @@
//--
automaticHandle: function () {
let bizCode = this.businessData.biz_code;
console.log("bizCode:", bizCode)
let infoBox = this.businessData.data_infomation;
console.log("infoBox:", infoBox)
this.bizCode = bizCode;
switch (bizCode) {
case "101001"://
@ -177,7 +175,6 @@
break;
case "103001"://
case "104001"://
console.log("办理公文")
this.$emit("clickContent", this.businessData)
break;
case "106001001"://
@ -246,7 +243,6 @@
var callBack = this.getCarApplyInfo(infoBox);
callBack.then((res) => {
let applyInfo = res.apply_info;
console.log(applyInfo)
this.leaveMileage = applyInfo.leave_mileage;
this.leaveDateTime = applyInfo.leave_datetime;
this.visible = true;
@ -1120,7 +1116,6 @@
},
//
calcCommitNext: function (infoBox) {
console.log("infoBox:",infoBox)
let _this = this;
let p = new Promise(function (resolve) {
let param = {
@ -1137,7 +1132,6 @@
method: interConfig.calcCommitNext.method,
isTestLogin: interConfig.calcCommitNext.isTestLogin
}], (result) => {
console.log("result:",result)
let res = result[0].data;
if (res.code === 2000) {
resolve(res.data)

@ -191,7 +191,7 @@
watch: {
param: {
handler: function (val) {
console.log("watch:", val)
},
}
},
@ -262,7 +262,7 @@
return state_name;
},
changeActive:function (key) {
console.log("key:",key)
},
getNowTime: function () {
let _this = this;

@ -269,7 +269,7 @@
watch: {
param: {
handler: function (val) {
console.log("watch:", val)
},
}
},

@ -227,7 +227,7 @@
watch: {
param: {
handler: function (val) {
console.log("watch:", val)
},
}
},
@ -301,7 +301,7 @@
return state_name;
},
changeActive: function (key) {
console.log("key:", key)
},
getNowTime: function () {
let _this = this;

@ -406,7 +406,7 @@
return disposeMethod_name;
},
changeActive: function (key) {
console.log("key:", key)
},
getNowTime: function () {
let _this = this;

@ -67,7 +67,7 @@
}
},
mounted(){
console.log("useType:",this.useType)
},
computed: {
currentMileage: function () {

@ -68,12 +68,11 @@
}
},
mounted(){
console.log(this.levelList)
},
watch:{
levelData:function (newVal) {
this.levelList = newVal;
console.log(this.levelList)
}
},
methods:{

@ -137,7 +137,7 @@
watch: {
param: {
handler: function (val) {
console.log("watch:", val)
},
}
},

@ -109,7 +109,7 @@
watch: {
param: {
handler: function (val) {
console.log("watch:", val)
},
}
},

@ -182,8 +182,6 @@
for(var i=0,len=totalList.length;i<len;i+=6){
this.subjectList.push(totalList.slice(i,i+6));
}
console.log('subjectList',this.subjectList)
console.log('totalList',totalList)
}
this.courseStatisticsBig.xAxisData=dom;
this.courseStatisticsBig.legendData=groupIndex;

@ -65,7 +65,6 @@
},
methods: {
callback(key) {
console.log(key);
this.StageId=key;
this.bar_flag=false;
this.getElectiveStudentApplyCount();

@ -219,7 +219,6 @@
}],(result)=> {
if(result[0].data.success){
if(type!=='1'){
console.log("走了吗走了吗走了吗")
this.lineFlag = true;
let data=result[0].data;
let yName=[];
@ -269,7 +268,6 @@
this.singleSubject.seriesData=series;
}
}else {
console.log('111111')
this.pieFlag=true;
this.is_loading_formData=false;
if(result[0].data.returnList.length!==0){

@ -19,22 +19,32 @@
}
},
created(){
//
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
if (this.depAdmin) {
this.tabArr.push(
{title: "团队考勤",type:"team"}
)
}
// //
// this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
// console.log("created::",this.depAdmin )
// if (this.depAdmin) {
// this.tabArr.push(
// {title: "",type:"team"}
// )
// }
},
mounted(){
this.$bus.on("systemDataChange",this.changeCrmData)
},
methods:{
tabChange:function (param) {
if (this.pageType != param.cbName) {
this.pageType = param.cbName;
}
},
changeCrmData:function () {
//
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
if (this.depAdmin) {
this.tabArr.push(
{title: "团队考勤",type:"team"}
)
}
}
},
components:{

@ -34,7 +34,7 @@
let resData = result[0].data;
if (result[0].status === 200) {
if (resData.code === 2000) {
console.log(resData)
}
}
})

@ -143,7 +143,7 @@
this.endTime = dateString[1];
},
onTimeOk: function (value) {
console.log(value)
},
getUseDataList: function () {
let param = {

@ -48,7 +48,7 @@
this.endTime = dateString[1];
},
onTimeOk:function (value) {
console.log(value)
},
search:function () {
this.$emit("toSearch",{

@ -100,7 +100,6 @@
this.selectedDept.splice(0);
},
onDeleteSelectedDepart: function (dept) {
// console.log(dept)
this.selectedDept.splice(
this.selectedDept.findIndex((item) => {
return parseInt(item.category_id) === parseInt(dept.category_id);

@ -30,7 +30,6 @@
},
methods: {
onLoadData:function (treeNode) {
console.log("treeNode:",treeNode)
let fileId = treeNode.dataRef.file_id;
this.listParams.file_id = fileId;
let _this = this;
@ -68,7 +67,6 @@
if (resData.code === 2000) {
resData.data.map((item) => {
if (item.file_type === 0) {
console.log(item)
treeData.push(item)
}
this.treeData = treeData;
@ -77,9 +75,7 @@
})
},
selectNode:function (selectedKeys,e) {
console.log(selectedKeys,e)
let parentId = e.node.dataRef.file_id;
console.log(parentId)
this.$emit("selectParentId",parentId)
}

@ -198,7 +198,6 @@
if (this.tabIndex != param.index) {
this.tabIndex = param.index;
}
//console.log('goodsusecensus', param)
this.recordCode = param.index+1;
this.getGoodsUseRecord()
},
@ -211,16 +210,13 @@
//start_date: moment(this.begin_date).format("YYYY-MM-DD"),//2020-12-15
//end_date: moment(this.end_date).format("YYYY-MM-DD")//2021-12-15
};
//console.log(param)
this.InterfaceConfig.callInterface([{
url: InterConfig.getGoodsUseRecord.url,
params: param,
method: InterConfig.getGoodsUseRecord.method,
isTestLogin: InterConfig.getGoodsUseRecord.isTestLogin,
}], (result) => {
//console.log('getGoodsUseRecord', result)
if (result[0].data.code === 2000) {
//console.log('getGoodsUseRecord', result)
let op = result[0].data.data.option;
op.series[0].data = [320, 302, 341, 374, 390, 450, 420]
op.series[1].data = [-120, -132, -101, -134, -190, -230, -210]
@ -230,7 +226,6 @@
this.option = op
//this.option = result[0].data.data.option;
this.echartsDraw();
//console.log(this.option)
}
})
},

@ -147,7 +147,7 @@
this.getNoticeList();
},
callback: function (key) {
console.log(key)
},
getLevelStyle: function (item) {
let view_flag = item.view_flag;

@ -82,7 +82,6 @@
},
mounted(){
this.getNoticeList();
//console.log("theme:",this.moduleTheme)
},
computed:{
childDom:function () {
@ -252,7 +251,7 @@
this.getNoticeList();
},
callback: function (key) {
console.log(key)
},
getLevelStyle: function (item) {
let level_name = item.level_name;

@ -103,7 +103,7 @@
this.flagArr = arr;
},
toAddSchedule: function () {
console.log("新增")
}
},
components: {

@ -88,7 +88,7 @@
}
},
toAddSchedule: function () {
console.log("新增")
}
},
components: {

@ -76,7 +76,7 @@
var inBox = document.getElementById(this.inBoxId);
var panelArr = document.getElementsByClassName("summary-panel");
if(inBox && inBox.contains(e.target)){
console.log("内部")
}else {
if(panelArr.length > 0 && this.modalProps.show){
panelArr.forEach(panel=>{

@ -54,7 +54,6 @@
watch: {
pageType: {
handler (val) {
console.log("pageType:", val);
if (val === 2) {
this.getWorkSummaryDeptPersonOverview();
} else if (val === 3) {
@ -120,7 +119,6 @@
},
getWorkSummaryDeptPersonOverview: function () {
let timeStr = this.searchTime;
console.log("1:", timeStr)
if (timeStr !== "") {
let startDate = timeStr.split("|")[0];
let endDate = timeStr.split("|")[1];
@ -169,13 +167,11 @@
}
},
buildDayEchart: function () {
console.log("1")
let dataList = this.dataList;
let dayEchart = echarts.getInstanceByDom(document.getElementById("summaryMembers"));
if (dayEchart == null) {
dayEchart = echarts.init(document.getElementById('summaryMembers'));
}
console.log("2")
let xData = [];
let totalList = [];
let delayList = [];
@ -211,9 +207,6 @@
}
}
}
console.log("3", totalList)
console.log("3", delayList)
console.log("3", emptyList)
// dayEchart.setOption({
// tooltip: {
// trigger: 'axis',

@ -74,7 +74,6 @@
},
searchTime:{
handler(time){
console.log("watch:",time === "")
if(time !== ""){
this.searchTime = time;
this.getRecordData();

@ -18,6 +18,7 @@
v-for="item,index in dr.list" :key="item" :module-data="{module_type_id:moduleType.module_type_id,module_id:item,size:dr.size}"
@hideModule="hideModule(moduleType.module_list,dr.list,index)"
@accessSubsystem="onAccessSubsystem"
:completeCrm="completeCrm"
:moduleScrollTop="moduleScrollTop"
/>
</draggable>
@ -43,7 +44,8 @@
return {
moduleDataList: _.cloneDeep(this.moduleAndLayoutData.showModule),
layout: this.moduleAndLayoutData.layout,
theme: this.moduleAndLayoutData.theme
theme: this.moduleAndLayoutData.theme,
completeCrm:false,
}
},
props: {
@ -56,12 +58,19 @@
moduleScrollTop:{
type:Number,
default:0
},
appData:{
type:Array
}
},
mounted(){
//console.log("appData:",this.appData)
this.$bus.on("systemDataChange",this.changeCrmData)
},
watch: {
changeCrmData:function () {
this.completeCrm = true;
},
moduleAndLayoutData: function (newData) {
if (JSON.stringify({showModule: this.moduleDataList, layout: this.layout, theme: this.theme}) !==
JSON.stringify(newData)) {

@ -101,7 +101,6 @@
let resData = result[0].data;
if (resData.code === 2000) {
this.categoryList.push(...resData.data);
console.log(this.categoryList);
}
})
},

@ -66,11 +66,9 @@
},
watch:{
countData:function (newData) {
console.log("newData:",newData)
this.todoNum = newData;
this.getTodoCount();
//
console.log("面板文字处理~")
this.$bus.emit("changeToDoItemNum",newData)
}

@ -81,12 +81,15 @@
zIndex: 100,
},
}
},
created(){
},
mounted(){
this.getLayoutInfo();
this.$bus.on("accessSubsystem", this.onAccessSubsystem);
this.$bus.on("ModuleAndLayoutChange", this.layoutChange);
this.$bus.on("getDesktopTodoNumbers",this.getDesktopTodoNumbers);
this.getLayoutInfo();
window.closePopup = () => {
this.modalObject.show = false;
};

@ -51,7 +51,6 @@
}, 500)
},
modelChange:function (path) {
console.log("path:",path)
this.$router.replace({path:path});
}
},

@ -258,7 +258,6 @@
},
//
servicePlatform:function (systemData) {
console.log(systemData)
this.$refs.systemListRef.clicked = false;
//this.$router.replace({name:"servicePlatform",params:{id:systemData.id,name:systemData.title}});
this.$router.push({path:'/workBench/servicePlatform/:id/:name',name:'servicePlatform',params:{id:systemData.id,name:systemData.title}});

Loading…
Cancel
Save