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
0b56514a
Commit
0b56514a
authored
Sep 23, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档上传
parent
6f60bd0f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
171 additions
and
113 deletions
+171
-113
zh-CN.js
i18n/locale/zh-CN.js
+1
-0
add.vue
pages/word/document/add.vue
+92
-64
detail.vue
pages/word/document/detail.vue
+1
-0
edit.vue
pages/word/document/edit.vue
+72
-43
index.vue
pages/word/document/index.vue
+4
-4
word.vue
pages/word/document/word.vue
+1
-2
No files found.
i18n/locale/zh-CN.js
View file @
0b56514a
...
@@ -1767,6 +1767,7 @@ export default {
...
@@ -1767,6 +1767,7 @@ export default {
miji
:
"密级"
,
miji
:
"密级"
,
status
:
'状态'
,
status
:
'状态'
,
filePath
:
'上传文件'
,
filePath
:
'上传文件'
,
img
:
'上传图片'
,
field
:
'字段'
,
field
:
'字段'
,
dataType
:
'数据类型'
,
dataType
:
'数据类型'
,
dataLength
:
'数据长度'
,
dataLength
:
'数据长度'
,
...
...
pages/word/document/add.vue
View file @
0b56514a
<
template
>
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"120"
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"120"
>
<Row>
<Row>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<Col
span=
"18"
>
<FormItem
:label=
"li.title"
:prop=
"li.name"
>
<Row>
<Input
v-if=
"li.dataType==0"
v-model=
"entity[li.field]"
:disabled=
"li.field=='code'"
></Input>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<InputNumber
<FormItem
:label=
"li.title"
:prop=
"li.name"
>
v-if=
"li.dataType==1||li.dataType==2"
<Input
v-if=
"li.dataType==0"
v-model=
"entity[li.field]"
:disabled=
"li.field=='code'"
></Input>
v-model=
"entity[li.field]"
<InputNumber
class=
"w100"
v-if=
"li.dataType==1||li.dataType==2"
></InputNumber>
v-model=
"entity[li.field]"
<Dictionary
v-if=
"li.dataType==3"
v-model=
"entity[li.field]"
:code=
"li.note"
></Dictionary>
class=
"w100"
<Input
v-if=
"li.dataType==5"
type=
"textarea"
v-model=
"entity[li.filed]"
></Input>
></InputNumber>
<DatePicker
<Dictionary
v-if=
"li.dataType==3"
v-model=
"entity[li.field]"
:code=
"li.note"
></Dictionary>
v-if=
"li.dataType==4"
<Input
v-if=
"li.dataType==5"
type=
"textarea"
v-model=
"entity[li.filed]"
></Input>
v-model=
"entity[li.field]"
<DatePicker
type=
"date"
v-if=
"li.dataType==4"
:placeholder=
"'选择'+li.title"
v-model=
"entity[li.field]"
></DatePicker>
type=
"date"
<InputFile
v-if=
"li.dataType==6"
v-model=
"entity[li.field]"
></InputFile>
:placeholder=
"'选择'+li.title"
<!--
<files
ref=
"refFile"
:parms=
"parms"
fileFormat
:Photos=
"true"
@
clickItem=
"clickData"
/>
-->
></DatePicker>
<InputFile
v-if=
"li.dataType==7"
v-model=
"entity[li.field]"
></InputFile>
<InputFile
v-if=
"li.dataType==6"
v-model=
"entity[li.field]"
></InputFile>
<Input
v-if=
"li.dataType==8"
type=
"textarea"
v-model=
"entity[li.field]"
></Input>
<!--
<files
ref=
"refFile"
:parms=
"parms"
fileFormat
:Photos=
"true"
@
clickItem=
"clickData"
/>
-->
<state
<InputFile
v-if=
"li.dataType==7"
v-model=
"entity[li.field]"
></InputFile>
v-if=
"li.unitName&&(li.dataType==1||li.dataType==2)"
<Input
v-if=
"li.dataType==8"
type=
"textarea"
v-model=
"entity[li.field]"
></Input>
:value=
"li.unitName"
<state
code=
"material.main.unitName"
v-if=
"li.unitName&&(li.dataType==1||li.dataType==2)"
type=
"tag"
:value=
"li.unitName"
></state>
code=
"material.main.unitName"
</FormItem>
type=
"tag"
</Col>
></state>
</Row>
</FormItem>
<!--
<div>
</Col>
</Row>
<!--
<div>
<Divider
orientation=
"left"
>
扩展属性
</Divider>
<Divider
orientation=
"left"
>
扩展属性
</Divider>
</div>
-->
</div>
-->
<Row>
<Row>
<!--
<Col
:span=
"12"
>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('title')"
prop=
"title"
>
<FormItem
:label=
"l('title')"
prop=
"title"
>
<Input
v-model=
"entity.title"
></Input>
<Input
v-model=
"entity.title"
></Input>
</FormItem>
</FormItem>
</Col>
-->
</Col>
-->
<!--
<Col
:span=
"12"
>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('field')"
prop=
"field"
>
<FormItem
:label=
"l('field')"
prop=
"field"
>
<Input
v-model=
"entity.field"
></Input>
<Input
v-model=
"entity.field"
></Input>
</FormItem>
</FormItem>
...
@@ -48,8 +50,8 @@
...
@@ -48,8 +50,8 @@
<FormItem
:label=
"l('dataType')"
prop=
"dataType"
>
<FormItem
:label=
"l('dataType')"
prop=
"dataType"
>
<InputNumber
v-model=
"entity.dataType"
></InputNumber>
<InputNumber
v-model=
"entity.dataType"
></InputNumber>
</FormItem>
</FormItem>
</Col>
-->
</Col>
-->
<!--
<Col
:span=
"12"
>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('dataLength')"
prop=
"dataLength"
>
<FormItem
:label=
"l('dataLength')"
prop=
"dataLength"
>
<InputNumber
v-model=
"entity.dataLength"
></InputNumber>
<InputNumber
v-model=
"entity.dataLength"
></InputNumber>
</FormItem>
</FormItem>
...
@@ -58,9 +60,9 @@
...
@@ -58,9 +60,9 @@
<FormItem
:label=
"l('dictionaryId')"
prop=
"dictionaryId"
>
<FormItem
:label=
"l('dictionaryId')"
prop=
"dictionaryId"
>
<InputNumber
v-model=
"entity.dictionaryId"
></InputNumber>
<InputNumber
v-model=
"entity.dictionaryId"
></InputNumber>
</FormItem>
</FormItem>
</Col>
-->
</Col>
-->
<!--
<Col
:span=
"12"
>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('unitName')"
prop=
"unitName"
>
<FormItem
:label=
"l('unitName')"
prop=
"unitName"
>
<Input
v-model=
"entity.unitName"
></Input>
<Input
v-model=
"entity.unitName"
></Input>
</FormItem>
</FormItem>
...
@@ -134,24 +136,33 @@
...
@@ -134,24 +136,33 @@
<FormItem
:label=
"l('codeRuleId')"
prop=
"codeRuleId"
>
<FormItem
:label=
"l('codeRuleId')"
prop=
"codeRuleId"
>
<InputNumber
v-model=
"entity.codeRuleId"
></InputNumber>
<InputNumber
v-model=
"entity.codeRuleId"
></InputNumber>
</FormItem>
</FormItem>
</Col>
-->
</Col>
-->
<Col
:span=
"24"
>
<Col
:span=
"24"
>
<FormItem
:label=
"l('filePath')"
prop=
"filePath"
>
<FormItem
:label=
"l('filePath')"
prop=
"filePath"
>
<!--
<Input
v-model=
"entity.template"
type=
"textarea"
:rows=
"5"
></Input>
-->
<!--
<Input
v-model=
"entity.template"
type=
"textarea"
:rows=
"5"
></Input>
-->
<files
ref=
"refFile"
:parms=
"parms"
files
/>
<files
ref=
"refFile"
:parms=
"parms"
files
/>
</FormItem>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<RadioGroup
v-model=
"entity.status"
>
<Radio
label=
"0"
>
草稿
</Radio>
<Radio
label=
"1"
>
送审
</Radio>
</RadioGroup>
</FormItem>
</Col>
</Row>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
span=
"6"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<FormItem
:label=
"l('img')"
prop=
"img"
>
<RadioGroup
v-model=
"entity.status"
>
<inputFile
class=
"tphoto"
ref=
"refmovieFile1"
v-model=
"imgName"
:parms=
"parmsName"
/>
<Radio
label=
"0"
>
草稿
</Radio>
<Radio
label=
"1"
>
送审
</Radio>
</RadioGroup>
</FormItem>
</FormItem>
<div
class=
"img-touxiang"
v-if=
"imgName"
>
<img
:src=
"avatorPath"
/>
</div>
</Col>
</Col>
<!--
<Col
:span=
"24"
>
</Row>
<div
v-html=
"entity"
></div>
<Row>
</Col>
-->
<Col
:span=
"24"
style=
"text-align: right;"
>
<Col
:span=
"24"
style=
"text-align: right;"
>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
...
@@ -167,12 +178,15 @@ export default {
...
@@ -167,12 +178,15 @@ export default {
name
:
"Add"
,
name
:
"Add"
,
data
()
{
data
()
{
return
{
return
{
disabled
:
false
,
imgName
:
""
,
avatorPath
:
""
,
fileds
:
[],
//扩展属性
fileds
:
[],
//扩展属性
entity
:
{
entity
:
{
creatorUserId
:
this
.
$store
.
state
.
userInfo
.
userId
,
creatorUserId
:
this
.
$store
.
state
.
userInfo
.
userId
,
status
:
"0"
,
status
:
"0"
,
categoryId
:
this
.
treeId
,
categoryId
:
this
.
treeId
,
img
:
""
,
// title: "",
// title: "",
// field: "",
// field: "",
// dataType: null,
// dataType: null,
...
@@ -198,6 +212,7 @@ export default {
...
@@ -198,6 +212,7 @@ export default {
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
},
parmsName
:
"app=material&eid=1&name=document"
,
parms
:
{
parms
:
{
app
:
"material"
,
app
:
"material"
,
eid
:
null
,
eid
:
null
,
...
@@ -294,14 +309,27 @@ export default {
...
@@ -294,14 +309,27 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
// v() {
imgName
(
newName
,
oldName
)
{
// this.entity = this.$u.clone(this.v);
console
.
log
(
newName
);
// },
const
imgPathsArr
=
JSON
.
parse
(
newName
);
// eid(v) {
this
.
entity
.
img
=
imgPathsArr
[
0
].
filePath
;
// if (v > 0) {
this
.
avatorPath
=
fileUrlDown
+
imgPathsArr
[
0
].
filePath
;
// this.load(v);
},
// }
// },
},
},
};
};
</
script
>
</
script
>
\ No newline at end of file
<
style
lang=
"less"
>
.img-touxiang {
width: 230px;
height: 230px;
background: #ccc;
border-radius: 5px;
margin-left: 58px;
margin-top: -35px;
img {
width: 100%;
height: 100%;
border-radius: 5px;
}
}
</
style
>
\ No newline at end of file
pages/word/document/detail.vue
View file @
0b56514a
...
@@ -54,6 +54,7 @@ export default {
...
@@ -54,6 +54,7 @@ export default {
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
code
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
code
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
},
fileds
:[],
parms
:
{
parms
:
{
app
:
"material"
,
app
:
"material"
,
eid
:
null
,
eid
:
null
,
...
...
pages/word/document/edit.vue
View file @
0b56514a
<
template
>
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"120"
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"120"
>
<Row>
<Row>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<Col
span=
"18"
>
<FormItem
:label=
"li.title"
:prop=
"li.name"
>
<Row>
<Input
v-if=
"li.dataType==0"
v-model=
"entity[li.field]"
:disabled=
"li.field=='code'"
></Input>
<Col
v-for=
"li in fileds"
:key=
"li.field"
:span=
"li.span"
>
<InputNumber
<FormItem
:label=
"li.title"
:prop=
"li.name"
>
v-if=
"li.dataType==1||li.dataType==2"
<Input
v-if=
"li.dataType==0"
v-model=
"entity[li.field]"
:disabled=
"li.field=='code'"
></Input>
v-model=
"entity[li.field]"
<InputNumber
class=
"w100"
v-if=
"li.dataType==1||li.dataType==2"
></InputNumber>
v-model=
"entity[li.field]"
<Dictionary
v-if=
"li.dataType==3"
v-model=
"entity[li.field]"
:code=
"li.note"
></Dictionary>
class=
"w100"
<Input
v-if=
"li.dataType==5"
type=
"textarea"
v-model=
"entity[li.filed]"
></Input>
></InputNumber>
<DatePicker
<Dictionary
v-if=
"li.dataType==3"
v-model=
"entity[li.field]"
:code=
"li.note"
></Dictionary>
v-if=
"li.dataType==4"
<Input
v-if=
"li.dataType==5"
type=
"textarea"
v-model=
"entity[li.filed]"
></Input>
v-model=
"entity[li.field]"
<DatePicker
type=
"date"
v-if=
"li.dataType==4"
:placeholder=
"'选择'+li.title"
v-model=
"entity[li.field]"
></DatePicker>
type=
"date"
<InputFile
v-if=
"li.dataType==6"
v-model=
"entity[li.field]"
></InputFile>
:placeholder=
"'选择'+li.title"
<!--
<files
ref=
"refFile"
:parms=
"parms"
fileFormat
:Photos=
"true"
@
clickItem=
"clickData"
/>
-->
></DatePicker>
<InputFile
v-if=
"li.dataType==7"
v-model=
"entity[li.field]"
></InputFile>
<InputFile
v-if=
"li.dataType==6"
v-model=
"entity[li.field]"
></InputFile>
<Input
v-if=
"li.dataType==8"
type=
"textarea"
v-model=
"entity[li.field]"
></Input>
<!--
<files
ref=
"refFile"
:parms=
"parms"
fileFormat
:Photos=
"true"
@
clickItem=
"clickData"
/>
-->
<state
<InputFile
v-if=
"li.dataType==7"
v-model=
"entity[li.field]"
></InputFile>
v-if=
"li.unitName&&(li.dataType==1||li.dataType==2)"
<Input
v-if=
"li.dataType==8"
type=
"textarea"
v-model=
"entity[li.field]"
></Input>
:value=
"li.unitName"
<state
code=
"material.main.unitName"
v-if=
"li.unitName&&(li.dataType==1||li.dataType==2)"
type=
"tag"
:value=
"li.unitName"
></state>
code=
"material.main.unitName"
</FormItem>
type=
"tag"
</Col>
></state>
</Row>
</FormItem>
<Row>
</Col>
<!--
<Col
:span=
"12"
>
</Row>
<Row>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('title')"
prop=
"title"
>
<FormItem
:label=
"l('title')"
prop=
"title"
>
<Input
v-model=
"entity.title"
></Input>
<Input
v-model=
"entity.title"
></Input>
</FormItem>
</FormItem>
...
@@ -135,21 +137,39 @@
...
@@ -135,21 +137,39 @@
<FormItem
:label=
"l('codeRuleId')"
prop=
"codeRuleId"
>
<FormItem
:label=
"l('codeRuleId')"
prop=
"codeRuleId"
>
<InputNumber
v-model=
"entity.codeRuleId"
></InputNumber>
<InputNumber
v-model=
"entity.codeRuleId"
></InputNumber>
</FormItem>
</FormItem>
</Col>
-->
</Col>
-->
<Col
:span=
"24"
>
<Col
:span=
"24"
>
<FormItem
:label=
"l('filePath')"
prop=
"filePath"
>
<FormItem
:label=
"l('filePath')"
prop=
"filePath"
>
<!--
<Input
v-model=
"entity.template"
type=
"textarea"
:rows=
"5"
></Input>
-->
<!--
<Input
v-model=
"entity.template"
type=
"textarea"
:rows=
"5"
></Input>
-->
<files
ref=
"refFile"
:parms=
"parms"
files
/>
<files
ref=
"refFile"
:parms=
"parms"
files
/>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<RadioGroup
v-model=
"entity.status"
>
<Radio
label=
"0"
>
草稿
</Radio>
<Radio
label=
"1"
>
送审
</Radio>
</RadioGroup>
</FormItem>
</Col>
<!--
<Col
:span=
"24"
style=
"text-align: right;"
>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</FormItem>
</Col>
-->
</Row>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
span=
"6"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<FormItem
:label=
"l('img')"
prop=
"img"
>
<RadioGroup
v-model=
"entity.status"
>
<inputFile
class=
"tphoto"
ref=
"refmovieFile1"
v-model=
"imgName"
:parms=
"parmsName"
/>
<Radio
label=
"0"
>
草稿
</Radio>
<Radio
label=
"1"
>
送审
</Radio>
</RadioGroup>
</FormItem>
</FormItem>
<div
class=
"img-touxiang"
v-if=
"imgName"
>
<img
:src=
"avatorPath"
/>
</div>
</Col>
</Col>
</Row>
<Row>
<Col
:span=
"24"
style=
"text-align: right;"
>
<Col
:span=
"24"
style=
"text-align: right;"
>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
...
@@ -165,12 +185,14 @@ export default {
...
@@ -165,12 +185,14 @@ export default {
name
:
"Edit"
,
name
:
"Edit"
,
data
()
{
data
()
{
return
{
return
{
disabled
:
false
,
imgName
:
""
,
avatorPath
:
""
,
entity
:
{},
entity
:
{},
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
},
fileds
:
[],
//扩展属性
fileds
:
[],
//扩展属性
parmsName
:
"app=material&eid=1&name=document"
,
parms
:
{
parms
:
{
app
:
"material"
,
app
:
"material"
,
eid
:
null
,
eid
:
null
,
...
@@ -229,6 +251,8 @@ export default {
...
@@ -229,6 +251,8 @@ export default {
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
this
.
entity
=
r
.
result
;
this
.
entity
=
r
.
result
;
this
.
parms
.
eid
=
r
.
result
.
filePath
;
this
.
parms
.
eid
=
r
.
result
.
filePath
;
this
.
avatorPath
=
fileUrlDown
+
r
.
result
.
img
;
this
.
imgName
=
r
.
result
.
img
;
this
.
entity
.
status
=
r
.
result
.
status
+
""
;
this
.
entity
.
status
=
r
.
result
.
status
+
""
;
});
});
},
},
...
@@ -270,6 +294,11 @@ export default {
...
@@ -270,6 +294,11 @@ export default {
this
.
load
(
v
);
this
.
load
(
v
);
}
}
},
},
imgName
(
newName
,
oldName
)
{
const
imgPathsArr
=
JSON
.
parse
(
newName
);
this
.
entity
.
img
=
imgPathsArr
[
0
].
filePath
;
this
.
avatorPath
=
fileUrlDown
+
imgPathsArr
[
0
].
filePath
;
},
},
},
};
};
</
script
>
</
script
>
\ No newline at end of file
pages/word/document/index.vue
View file @
0b56514a
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</a>
</a>
</div>
</div>
<Content
:class=
"!showMenu?'con_bord':''"
>
<Content
:class=
"!showMenu?'con_bord':''"
>
<Word
ref=
"dataTable"
:treeId=
"treeId"
:addShow=
"addShow"
:ids=
'ids'
/>
<Word
ref=
"dataTable"
:treeId=
"treeId"
:addShow=
"addShow"
:ids=
"ids"
/>
</Content>
</Content>
</Layout>
</Layout>
</div>
</div>
...
@@ -60,7 +60,7 @@ export default {
...
@@ -60,7 +60,7 @@ export default {
expand
:
false
,
expand
:
false
,
treeId
:
0
,
treeId
:
0
,
addShow
:
false
,
addShow
:
false
,
ids
:
[]
ids
:
[],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -140,7 +140,7 @@ export default {
...
@@ -140,7 +140,7 @@ export default {
}
else
{
}
else
{
this
.
addShow
=
false
;
this
.
addShow
=
false
;
}
}
let
ids
=
[];
let
ids
=
[];
ids
.
push
(
b
.
value
);
ids
.
push
(
b
.
value
);
if
(
b
.
children
)
{
if
(
b
.
children
)
{
addId
(
b
.
children
);
addId
(
b
.
children
);
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
});
});
}
}
}
}
console
.
log
(
ids
)
//
console.log(ids)
this
.
ids
=
ids
;
this
.
ids
=
ids
;
},
},
renderContent
(
h
,
{
root
,
node
,
data
})
{
renderContent
(
h
,
{
root
,
node
,
data
})
{
...
...
pages/word/document/word.vue
View file @
0b56514a
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<Row
class=
"row-down"
:gutter=
"10"
>
<Row
class=
"row-down"
:gutter=
"10"
>
<Col
span=
"7"
>
<Col
span=
"7"
>
<div
class=
"img-i"
>
<div
class=
"img-i"
>
<img
:src=
"downUrl +row.
filePath"
v-if=
"row.filePath
"
/>
<img
:src=
"downUrl +row.
img"
v-if=
"row.img
"
/>
<!-- onerror="this.src='/imgicon/chan_Pin.png'" -->
<!-- onerror="this.src='/imgicon/chan_Pin.png'" -->
<img
src=
"@/assets/imgicon/chan_Pin.png"
v-else
width=
"100%"
height=
"100%"
/>
<img
src=
"@/assets/imgicon/chan_Pin.png"
v-else
width=
"100%"
height=
"100%"
/>
</div>
</div>
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
<Col
span=
"17"
class=
"c"
>
<Col
span=
"17"
class=
"c"
>
<div>
版本:
{{
row
.
version
}}
</div>
<div>
版本:
{{
row
.
version
}}
</div>
<div>
文档详细说明:
{{
row
.
description
}}
</div>
<div>
文档详细说明:
{{
row
.
description
}}
</div>
<p
class=
"a-icon"
>
<p
class=
"a-icon"
>
<a
@
click=
"edit(row.id)"
>
<a
@
click=
"edit(row.id)"
>
<Icon
type=
"md-create"
/>
编辑
<Icon
type=
"md-create"
/>
编辑
...
...
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