Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d5a3307d
authored
Dec 14, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉打印log
1 parent
449fbd1f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
23 deletions
run.js
src/components/down-menu/select-input.vue
src/components/glsx-table/index.vue
src/components/select-muti-pro/index.vue
src/setup/qiankun.js
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/inSale/notOpenCon.vue
run.js
View file @
d5a3307
var
express
=
require
(
'express'
)
var
express
=
require
(
'express'
)
// var history = require('connect-history-api-fallback')
// var history = require('connect-history-api-fallback')
var
cors
=
require
(
'cors'
)
var
cors
=
require
(
'cors'
)
var
app
=
express
()
var
app
=
express
()
// app.use(history())
// app.use(history())
app
.
use
(
cors
())
app
.
use
(
cors
())
app
.
use
(
express
.
static
(
'./dist'
))
app
.
use
(
express
.
static
(
'./dist'
))
app
.
get
(
'/'
,
function
(
req
,
res
)
{
app
.
get
(
'/'
,
function
(
req
,
res
)
{
...
@@ -11,4 +11,4 @@ app.get('/', function(req, res) {
...
@@ -11,4 +11,4 @@ app.get('/', function(req, res) {
const
port
=
6652
const
port
=
6652
app
.
listen
(
port
)
app
.
listen
(
port
)
console
.
log
(
`服务已运行:\r\n http://127.0.0.1:
${
port
}
`
)
//
console.log(`服务已运行:\r\n http://127.0.0.1:${port}`)
\ No newline at end of file
\ No newline at end of file
src/components/down-menu/select-input.vue
View file @
d5a3307
...
@@ -25,7 +25,6 @@ export default {
...
@@ -25,7 +25,6 @@ export default {
this
.
$emit
(
'getValue'
,
e
)
this
.
$emit
(
'getValue'
,
e
)
},
},
inputChange
(
e
)
{
inputChange
(
e
)
{
console
.
log
(
e
)
this
.
$emit
(
'getInputValue'
,
e
)
this
.
$emit
(
'getInputValue'
,
e
)
}
}
}
}
...
...
src/components/glsx-table/index.vue
View file @
d5a3307
...
@@ -388,7 +388,6 @@ export default {
...
@@ -388,7 +388,6 @@ export default {
}
}
this
.
getListApi
(
params
)
this
.
getListApi
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
);
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
);
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
);
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
);
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -414,7 +413,6 @@ export default {
...
@@ -414,7 +413,6 @@ export default {
// 每页条数
// 每页条数
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
let
offsettop
=
document
.
getElementById
(
"initTable"
).
offsetTop
;
let
offsettop
=
document
.
getElementById
(
"initTable"
).
offsetTop
;
console
.
log
(
"表格距离顶部1"
,
offsettop
);
this
.
page
[
this
.
pageConf
.
pageSize
]
=
value
;
this
.
page
[
this
.
pageConf
.
pageSize
]
=
value
;
this
.
getListApi
this
.
getListApi
...
...
src/components/select-muti-pro/index.vue
View file @
d5a3307
...
@@ -122,7 +122,6 @@ export default {
...
@@ -122,7 +122,6 @@ export default {
},
},
handleMutiSelectConfirm
()
{
handleMutiSelectConfirm
()
{
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
console
.
log
(
selectedData
)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
},
},
handleMutiSelectClose
()
{
handleMutiSelectClose
()
{
...
...
src/setup/qiankun.js
View file @
d5a3307
...
@@ -43,6 +43,6 @@ export async function unmount() {
...
@@ -43,6 +43,6 @@ export async function unmount() {
function
subscribe
({
messenger
})
{
function
subscribe
({
messenger
})
{
messenger
.
subscribe
(
v
=>
{
messenger
.
subscribe
(
v
=>
{
console
.
log
(
`监听到子应用
${
v
.
from
}
发来消息:`
,
v
)
//
console.log(`监听到子应用${v.from}发来消息:`, v)
})
})
}
}
\ No newline at end of file
\ No newline at end of file
src/views/beforeSale/editEquity.vue
View file @
d5a3307
...
@@ -210,8 +210,8 @@ export default {
...
@@ -210,8 +210,8 @@ export default {
valueFormat
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
'beforeRangePickerOptions'
,
pickerOptions
:
'beforeRangePickerOptions'
,
handleDateChange
:
(
value
,
targetItem
)
=>
{
handleDateChange
:
(
value
,
targetItem
)
=>
{
console
.
log
(
value
)
//
console.log(value)
console
.
log
(
targetItem
)
//
console.log(targetItem)
}
}
},
},
{
{
...
@@ -473,7 +473,7 @@ export default {
...
@@ -473,7 +473,7 @@ export default {
this
.
disabled
&&
this
.
setDisabled
()
this
.
disabled
&&
this
.
setDisabled
()
this
.
successDisable
&&
this
.
setDisabled
([
'invoicePrice'
,
'billingDate'
,
'packageCode'
,
'actualSalesPrice'
,
'servicePeriod'
,
'effectiveDate'
])
this
.
successDisable
&&
this
.
setDisabled
([
'invoicePrice'
,
'billingDate'
,
'packageCode'
,
'actualSalesPrice'
,
'servicePeriod'
,
'effectiveDate'
])
// this.title = this.titleObj[this.routeInfo.addOrEdit]
// this.title = this.titleObj[this.routeInfo.addOrEdit]
console
.
log
(
this
.
routeInfo
,
'-------------'
)
//
console.log(this.routeInfo, '-------------')
// 获取套餐列表
// 获取套餐列表
this
.
getPackageList
()
this
.
getPackageList
()
},
},
...
@@ -498,7 +498,7 @@ export default {
...
@@ -498,7 +498,7 @@ export default {
handleCancelBubble
(
e
)
{
},
handleCancelBubble
(
e
)
{
},
getInfo
()
{
getInfo
()
{
this
.
$apis
.
beforeSale
.
getEquityApi
({
contractNo
:
this
.
routeInfo
.
contractNo
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getEquityApi
({
contractNo
:
this
.
routeInfo
.
contractNo
}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
this
.
editForm
=
{
this
.
editForm
=
{
...
res
...
res
}
}
...
@@ -596,7 +596,7 @@ export default {
...
@@ -596,7 +596,7 @@ export default {
})
})
this
.
$set
(
this
.
editFormPro
,
hashObj
[
item
.
attributeName
]
!=
1
?
(
item
.
attributeName
+
item
.
sort
)
:
item
.
attributeName
,
item
.
attributeValue
)
this
.
$set
(
this
.
editFormPro
,
hashObj
[
item
.
attributeName
]
!=
1
?
(
item
.
attributeName
+
item
.
sort
)
:
item
.
attributeName
,
item
.
attributeValue
)
})
})
console
.
log
(
this
.
editFormPro
)
//
console.log(this.editFormPro)
},
},
autoGenerate
()
{
autoGenerate
()
{
var
tempList
=
[]
var
tempList
=
[]
...
@@ -654,7 +654,7 @@ export default {
...
@@ -654,7 +654,7 @@ export default {
editFormData
:
this
.
$common
.
utils
.
deepClone
(
tempList
)
editFormData
:
this
.
$common
.
utils
.
deepClone
(
tempList
)
})
})
})
})
console
.
log
(
this
.
editFormDataPro
)
//
console.log(this.editFormDataPro)
this
.
routeInfo
.
addOrEdit
!=
'1'
?
this
.
getInfo
()
:
''
this
.
routeInfo
.
addOrEdit
!=
'1'
?
this
.
getInfo
()
:
''
},
},
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
...
@@ -791,7 +791,7 @@ export default {
...
@@ -791,7 +791,7 @@ export default {
}
}
})
})
}
}
console
.
log
(
params
)
//
console.log(params)
return
params
return
params
},
},
handleDraft
()
{
handleDraft
()
{
...
@@ -806,7 +806,7 @@ export default {
...
@@ -806,7 +806,7 @@ export default {
this
.
updateEquity
(
params
)
this
.
updateEquity
(
params
)
}
else
{
}
else
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
params
.
contractNo
=
res
params
.
contractNo
=
res
this
.
submit
=
false
this
.
submit
=
false
this
.
updateEquity
(
params
)
this
.
updateEquity
(
params
)
...
@@ -869,7 +869,7 @@ export default {
...
@@ -869,7 +869,7 @@ export default {
this
.
updateEquity
(
params
)
this
.
updateEquity
(
params
)
}
else
{
}
else
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
params
.
contractNo
=
res
params
.
contractNo
=
res
this
.
submit
=
false
this
.
submit
=
false
this
.
updateEquity
(
params
)
this
.
updateEquity
(
params
)
...
...
src/views/beforeSale/equityList.vue
View file @
d5a3307
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
optionsName
:
'merchantList'
,
optionsName
:
'merchantList'
,
isHide
:
true
,
isHide
:
true
,
changeAttr
:
val
=>
{
changeAttr
:
val
=>
{
console
.
log
(
val
)
//
console.log(val)
var
idx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
name
==
this
.
levelToShow
[
'2'
])
var
idx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
name
==
this
.
levelToShow
[
'2'
])
this
.
searchFormData
[
idx
].
isHide
=
false
this
.
searchFormData
[
idx
].
isHide
=
false
this
.
getMerchantList
(
val
,
2
,
this
.
searchFormData
[
idx
].
name
,
this
.
searchFormData
[
idx
].
optionsName
)
this
.
getMerchantList
(
val
,
2
,
this
.
searchFormData
[
idx
].
name
,
this
.
searchFormData
[
idx
].
optionsName
)
...
@@ -528,7 +528,7 @@ export default {
...
@@ -528,7 +528,7 @@ export default {
this
.
isFileVisible
=
!
this
.
isFileVisible
this
.
isFileVisible
=
!
this
.
isFileVisible
},
},
handleUpload
(
row
)
{
handleUpload
(
row
)
{
console
.
log
(
row
)
//
console.log(row)
this
.
$apis
.
beforeSale
.
getOrderAttrApi
({
packageCode
:
row
.
packageCode
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getOrderAttrApi
({
packageCode
:
row
.
packageCode
}).
then
(
res
=>
{
this
.
packageList
=
res
this
.
packageList
=
res
this
.
uploadForm
.
contractNo
=
row
.
contractNo
this
.
uploadForm
.
contractNo
=
row
.
contractNo
...
@@ -543,7 +543,7 @@ export default {
...
@@ -543,7 +543,7 @@ export default {
// 退保
// 退保
handleBack
(
row
)
{
handleBack
(
row
)
{
console
.
log
(
this
.
userInfo
)
//
console.log(this.userInfo)
if
(
!
this
.
userInfo
.
admin
&&
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
7
))
>
new
Date
(
row
.
successDate
))
{
if
(
!
this
.
userInfo
.
admin
&&
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
7
))
>
new
Date
(
row
.
successDate
))
{
const
h
=
this
.
$createElement
const
h
=
this
.
$createElement
this
.
$message
({
this
.
$message
({
...
...
src/views/inSale/notOpenCon.vue
View file @
d5a3307
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
}
}
.header_widget
{
.header_widget
{
width
:
100%
;
width
:
100%
;
height
:
360px
;
//
height
:
360px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
17px
;
margin-top
:
17px
;
...
@@ -130,11 +130,11 @@ export default {
...
@@ -130,11 +130,11 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
50px
0
50px
;
padding
:
45px
50px
45px
50px
;
.posi_wrap_one
{
.posi_wrap_one
{
height
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
52
px
;
padding-top
:
10
px
;
overflow
:
hidden
;
overflow
:
hidden
;
.video_wrapper
{
.video_wrapper
{
margin-top
:
20px
;
margin-top
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment