Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
c1e5b4b2
Commit
c1e5b4b2
authored
Sep 16, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善供应商
parent
476e44dc
Changes
11
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
204 additions
and
186 deletions
+204
-186
ueditor.config.js
public/static/plugins/ueditor/ueditor.config.js
+2
-1
busiPwd.js
src/api/ecw/busiPwd.js
+9
-0
index.vue
src/components/Breadcrumb/index.vue
+2
-2
dd-select.vue
src/components/TableForm/components/dd-select.vue
+0
-39
index.js
src/components/TableForm/components/index.js
+0
-6
index.vue
src/components/TableForm/index.vue
+0
-87
index.vue
src/components/Ueditor/index.vue
+3
-1
index.js
src/i18n/index.js
+1
-1
index.vue
src/layout/components/TagsView/index.vue
+1
-1
main.js
src/main.js
+0
-1
edit.vue
src/views/ecw/supplier/edit.vue
+186
-47
No files found.
public/static/plugins/ueditor/ueditor.config.js
View file @
c1e5b4b2
...
...
@@ -42,7 +42,8 @@
'
directionalityltr
'
,
'
directionalityrtl
'
,
'
indent
'
,
'
|
'
,
'
justifyleft
'
,
'
justifycenter
'
,
'
justifyright
'
,
'
justifyjustify
'
,
'
|
'
,
'
touppercase
'
,
'
tolowercase
'
,
'
|
'
,
'
link
'
,
'
unlink
'
,
'
anchor
'
,
'
|
'
,
'
imagenone
'
,
'
imageleft
'
,
'
imageright
'
,
'
imagecenter
'
,
'
|
'
,
'
simpleupload
'
// 'simpleupload',
'
insertimage
'
// , 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
// 'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
// 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
...
...
src/api/ecw/busiPwd.js
View file @
c1e5b4b2
...
...
@@ -52,3 +52,12 @@ export function exportBusiPwdExcel(query) {
responseType
:
'
blob
'
})
}
// 验证业务密码
export
function
validatePwd
(
data
){
return
request
({
url
:
'
/ecw/busi-pwd/validate-pwd
'
,
method
:
'
post
'
,
data
:
data
})
}
\ No newline at end of file
src/components/Breadcrumb/index.vue
View file @
c1e5b4b2
...
...
@@ -2,8 +2,8 @@
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item,index) in levelList"
:key=
"item.path"
>
<span
v-if=
"item.redirect==='noRedirect'||index==levelList.length-1"
class=
"no-redirect"
>
{{
item
.
meta
.
title
}}
</span>
<a
v-else
@
click.prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</a>
<span
v-if=
"item.redirect==='noRedirect'||index==levelList.length-1"
class=
"no-redirect"
>
{{
$l
(
item
.
meta
,
'
title
'
)
}}
</span>
<a
v-else
@
click.prevent=
"handleLink(item)"
>
{{
$l
(
item
.
meta
,
'
title
'
)
}}
</a>
</el-breadcrumb-item>
</transition-group>
</el-breadcrumb>
...
...
src/components/TableForm/components/dd-select.vue
deleted
100644 → 0
View file @
476e44dc
<
template
>
<div
class=
"xselect"
>
<el-select
v-model=
"valueSync"
>
<el-option
v-for=
"(item, index) in options"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</div>
</
template
>
<
script
>
export
default
{
props
:{
value
:{
type
:
String
,
},
options
:{
type
:
Array
,
default
(){
return
[]
}
}
},
watch
:
{
valueSync
(
newValue
)
{
this
.
$emit
(
'
input
'
,
newValue
)
}
},
data
(){
return
{
valueSync
:
[]
}
},
created
()
{
this
.
$set
(
this
,
'
valueSync
'
,
this
.
value
)
},
methods
:
{
}
}
</
script
>
src/components/TableForm/components/index.js
deleted
100644 → 0
View file @
476e44dc
let
modules
=
{}
const
files
=
require
.
context
(
''
,
false
,
/
\.
vue$/
);
files
.
keys
().
forEach
((
filename
)
=>
{
modules
[
filename
.
slice
(
2
,
-
4
)]
=
files
(
filename
).
default
||
files
(
filename
)
});
export
default
modules
\ No newline at end of file
src/components/TableForm/index.vue
deleted
100644 → 0
View file @
476e44dc
<
template
>
<el-card
shadow=
"never"
>
<div
slot=
"header"
class=
"clearfix card-header"
>
<div
class=
"card-title"
>
{{
title
}}
</div>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"listData.push(
{})">
</el-button>
</div>
<el-table
:data=
"listData"
border
>
<el-table-column
:label=
"$t('序号')"
width=
"90px"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<
template
v-for=
"col in fields"
>
<el-table-column
:label=
"col.label"
:key=
"col.field"
>
<template
slot-scope=
"
{row}">
<component
:is=
"col.tag || 'el-input'"
v-model=
"row[col.field]"
v-bind=
"col.attrs"
/>
</
template
>
</el-table-column>
</template>
<!-- <el-table-column label="职位">
<template slot-scope="{row}">
<el-input v-model="row.job" />
</template>
</el-table-column> -->
<el-table-column
:label=
"$t('操作')"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"danger"
size=
"mini"
icon=
"el-icon-delete"
@
click=
"del(scope.$index)"
></el-button>
</
template
>
</el-table-column>
</el-table>
</el-card>
</template>
<
script
>
/*
fields:
[
{
field: 'name',
label: '字段名'
tag: 'el-input',
attr: {}
}
]
*/
import
FormComponents
from
'
./components/index.js
'
export
default
{
components
:
{...
FormComponents
},
props
:{
title
:
String
,
fields
:
Array
,
value
:
Array
},
data
(){
return
{
listData
:
[]
}
},
watch
:{
listData
(
val
){
console
.
log
(
'
数据更新
'
)
this
.
$emit
(
'
input
'
,
val
)
},
value
(){
this
.
listData
=
this
.
value
}
},
methods
:{
del
(
index
){
this
.
$confirm
(
this
.
$t
(
'
确定删除此行?
'
))
.
then
(
res
=>
{
this
.
listData
.
splice
(
index
,
1
)
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.card-header
{
display
:
flex
;
.card-title
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
}
}
</
style
>
\ No newline at end of file
src/components/Ueditor/index.vue
View file @
c1e5b4b2
...
...
@@ -54,5 +54,7 @@
</
script
>
<
style
>
#edui_fixedlayer
{
z-index
:
10005
!important
;
}
</
style
>
src/i18n/index.js
View file @
c1e5b4b2
...
...
@@ -12,7 +12,7 @@ const i18n = new VueI18n({
}
})
console
.
log
({
i18n
})
Vue
.
prototype
.
$l
=
(
object
,
field
)
=>
{
Vue
.
prototype
.
$l
=
(
object
,
field
=
''
)
=>
{
let
prefix
=
i18n
.
locale
.
split
(
'
_
'
)[
0
]
let
append
=
prefix
.
charAt
(
0
).
toUpperCase
()
+
prefix
.
toLowerCase
().
substr
(
1
)
// 如果object是null则返回字段名
...
...
src/layout/components/TagsView/index.vue
View file @
c1e5b4b2
...
...
@@ -13,7 +13,7 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
{{
tag
.
title
}}
{{
$l
(
tag
.
meta
,
'
title
'
)
}}
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click.prevent.stop=
"closeSelectedTag(tag)"
/>
</router-link>
</scroll-pane>
...
...
src/main.js
View file @
c1e5b4b2
...
...
@@ -66,7 +66,6 @@ Vue.component('DictTag', DictTag)
Vue
.
component
(
'
DocAlert
'
,
DocAlert
)
Vue
.
component
(
'
Pagination
'
,
Pagination
)
Vue
.
component
(
'
RightToolbar
'
,
RightToolbar
)
// Vue.component('TableForm', TableForm)
Vue
.
component
(
'
DictSelector
'
,
DictSelector
)
// 字典标签组件
import
DictTag
from
'
@/components/DictTag
'
...
...
src/views/ecw/supplier/edit.vue
View file @
c1e5b4b2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment