Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周远喜
mes-ui
Commits
59c761c8
Commit
59c761c8
authored
Sep 26, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档分类设置字典
parent
f28c5af8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
add.vue
pages/word/classification/add.vue
+11
-6
api.js
pages/word/classification/api.js
+4
-1
No files found.
pages/word/classification/add.vue
View file @
59c761c8
...
...
@@ -69,7 +69,7 @@
<Input
v-model=
"entity.templateId"
></Input>
</FormItem>
</Col>
-->
<Col
:span=
"24"
v-if=
"inherit
==
0"
>
<Col
:span=
"24"
v-if=
"inherit
==
0"
>
<Divider
orientation=
"left"
>
扩展属性
</Divider>
<Table
:columns=
"columns"
:data=
"checkList"
border
>
<template
slot-scope=
"
{ row, index }" slot="title">
...
...
@@ -164,7 +164,7 @@ export default {
name
:
"Add"
,
data
()
{
return
{
disabled
:
false
,
codeList
:
[]
,
entity
:
{
creatorUserId
:
this
.
$store
.
state
.
userInfo
.
userId
,
name
:
""
,
...
...
@@ -317,14 +317,19 @@ export default {
eid
:
Number
,
},
mounted
()
{
// if (this.eid > 0) {
// this.load(this.eid);
// }
console
.
log
(
this
.
row
);
this
.
tebleSet
();
// console.log(this.row);
this
.
parms
.
eid
=
this
.
$u
.
guid
();
this
.
$refs
.
refFile
.
intFiles
();
},
methods
:
{
tebleSet
()
{
Api
.
getChildren
({
id
:
582
}).
then
((
r
)
=>
{
if
(
r
.
result
)
{
this
.
codeList
=
r
.
result
;
}
});
},
addNew
()
{
let
maxId
=
0
;
this
.
checkList
.
map
((
u
)
=>
{
...
...
pages/word/classification/api.js
View file @
59c761c8
...
...
@@ -24,5 +24,8 @@ export default {
list
(
params
){
return
Api
.
post
(
`
${
material
}
/documentpropertydefinition/list`
,
params
);
},
getChildren
(
params
){
return
Api
.
get
(
`
${
systemUrl
}
/Dictionary/getChildren`
,
params
);
//字典
},
}
\ No newline at end of file
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