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 8d37bd0f
authored
Feb 25, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
1ccda652
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
28 deletions
src/setup/qiankun.js
src/views/ghPreSale/editEquity.vue
src/setup/qiankun.js
View file @
8d37bd0
...
@@ -21,10 +21,10 @@ export async function bootstrap({ history, common, messenger, globalState, route
...
@@ -21,10 +21,10 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$defaultStartDate
=
'2021-07-01'
Vue
.
prototype
.
$defaultStartDate
=
'2021-07-01'
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
//
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue
.
prototype
.
$http_brand
=
new
common
.
Http
({
response
,
request
:
request_brand
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
//
Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-1cd374fe-558d-43cc-b28b-1317a44edd59
-rop' } })
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
'scrm-base-2441e617-62cb-4712-b3ae-a1d47bf9a14a
-rop'
}
})
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-1cd374fe-558d-43cc-b28b-1317a44edd59
-rop' } })
Vue
.
prototype
.
$http_brand
=
new
common
.
Http
({
response
,
request
:
request_brand
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
'scrm-base-2441e617-62cb-4712-b3ae-a1d47bf9a14a
-rop'
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
routes
=
getRoutes
(
routesData
)
routes
=
getRoutes
(
routesData
)
...
...
src/views/ghPreSale/editEquity.vue
View file @
8d37bd0
...
@@ -50,9 +50,9 @@
...
@@ -50,9 +50,9 @@
<div
class=
"radio-add-block"
@
click
.
stop
.
prevent=
"e => handleCancelBubble(e)"
>
<div
class=
"radio-add-block"
@
click
.
stop
.
prevent=
"e => handleCancelBubble(e)"
>
<p
class=
"package-subtitle"
>
{{
subItem
.
serviceItems
}}
</p>
<p
class=
"package-subtitle"
>
{{
subItem
.
serviceItems
}}
</p>
<div
class=
"sub-el-form"
v-if=
"editForm.packageCode == subItem[scope.scope.optionId]"
>
<div
class=
"sub-el-form"
v-if=
"editForm.packageCode == subItem[scope.scope.optionId]"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefPro"
:formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefPro"
:
isBlock=
"isBlock"
:
formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<template
slot=
"table"
slot-scope=
"scope"
>
<template
slot=
"table"
slot-scope=
"scope"
>
<table
:style=
"
{ marginLeft: setTableMarginLeft(subItem) + 'px'}
" class="table-style">
<table
style=
"marginLeft: 160px
"
class=
"table-style"
>
<tbody>
<tbody>
<tr>
<tr>
<td
v-for=
"(m, n) in scope.scope.attributeList"
:key=
"n"
:style=
"
{ width: 100 / scope.scope.attributeList.length + '%' }">
{{
m
.
attributeDesc
}}
</td>
<td
v-for=
"(m, n) in scope.scope.attributeList"
:key=
"n"
:style=
"
{ width: 100 / scope.scope.attributeList.length + '%' }">
{{
m
.
attributeDesc
}}
</td>
...
@@ -577,24 +577,6 @@ export default {
...
@@ -577,24 +577,6 @@ export default {
}
}
})
})
},
},
setTableMarginLeft
(
subItem
,
subItemId
){
let
productW
=
document
.
querySelector
(
'.select-product'
).
offsetWidth
let
id
=
-
1
if
(
subItem
?.
editFormData
){
id
=
subItem
.
editFormData
.
findIndex
(
item
=>
{
return
item
.
addHtml
===
'table'
})
}
let
leftId
=
0
if
(
productW
<
1050
){
leftId
=
0
}
else
if
(
productW
<
1560
){
leftId
=
(
id
+
1
)
%
2
===
0
?
0
:
(
id
+
1
)
%
2
}
else
{
leftId
=
(
id
+
2
)
%
3
===
0
?
0
:
(
id
+
2
)
%
3
}
return
20
+
leftId
*
510
},
setDisabled
(
partDisabledList
=
[])
{
setDisabled
(
partDisabledList
=
[])
{
var
list
=
[
'Car'
,
'User'
,
'Pro'
,
'Other'
]
var
list
=
[
'Car'
,
'User'
,
'Pro'
,
'Other'
]
var
flag
=
true
var
flag
=
true
...
@@ -1281,7 +1263,7 @@ export default {
...
@@ -1281,7 +1263,7 @@ export default {
.before-sale
.package-code-box
.radio-add-block
{
.before-sale
.package-code-box
.radio-add-block
{
color
:
#606266
;
color
:
#606266
;
}
}
/
deep
/
.
glsx-combi-form
.
no-label.el-form-item--small
.el-form-item__content
{
/
deep
/
.no-label.el-form-item--small
.el-form-item__content
{
width
:
auto
;
width
:
auto
;
}
}
/* 表格 */
/* 表格 */
...
@@ -1294,7 +1276,7 @@ export default {
...
@@ -1294,7 +1276,7 @@ export default {
padding-right: 12px;
padding-right: 12px;
} */
} */
.edit-equity
.table-style
{
.edit-equity
.table-style
{
width
:
51
0px
;
width
:
60
0px
;
text-align
:
center
;
text-align
:
center
;
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
...
@@ -1335,8 +1317,8 @@ export default {
...
@@ -1335,8 +1317,8 @@ export default {
color
:
#333333
;
color
:
#333333
;
}
}
/
deep
/
.sub-el-form
.no-label
{
.sub-el-form
{
display
:
block
;
margin-left
:
50px
;
}
}
/* 表格 */
/* 表格 */
</
style
>
</
style
>
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