Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
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
常超
founder_vue
Commits
1896fa01
Commit
1896fa01
authored
Sep 11, 2021
by
chenqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模型管理
parent
3a261a8e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
21 deletions
+63
-21
src/views/mxmk/mxfb.vue
+2
-1
src/views/mxmk/mxgl.vue
+0
-0
src/views/mxmk/mxpj.vue
+20
-15
src/views/mxmk/mxpjtj.vue
+41
-5
No files found.
src/views/mxmk/mxfb.vue
View file @
1896fa01
...
...
@@ -157,7 +157,8 @@ export default {
getCount
()
{
let
self
=
this
let
param
=
{
name
:
self
.
form
.
name
name
:
self
.
form
.
name
,
stat
:
"2"
}
axios
.
post
(
'mxgl/template/selectTbStTemplateCount'
,
param
,
{
headers
:
{
...
...
src/views/mxmk/mxgl.vue
View file @
1896fa01
This diff is collapsed.
Click to expand it.
src/views/mxmk/mxpj.vue
View file @
1896fa01
...
...
@@ -52,14 +52,18 @@
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"
path
"
label=
"
路径
"
>
prop=
"
type
"
label=
"
模板类型
"
>
</el-table-column>
<el-table-column
prop=
"djsj"
label=
"创建时间"
>
</el-table-column>
<el-table-column
prop=
"pjsj"
label=
"评价时间"
>
</el-table-column>
<el-table-column
label=
"是否发布"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.stat == '1'"
>
是
</span>
...
...
@@ -208,16 +212,16 @@ export default {
getCount
()
{
let
self
=
this
let
param
=
{
name
:
self
.
form
.
name
name
:
self
.
form
.
name
,
stat
:
"1"
}
axios
.
post
(
'
http://77.1.24.51:9100
/template/selectTbStTemplateCount'
,
param
,
{
header
:
{
'
C
ontent-Type'
:
'application/json'
axios
.
post
(
'
/mxgl
/template/selectTbStTemplateCount'
,
param
,
{
header
s
:
{
'
c
ontent-Type'
:
'application/json'
}
}).
then
(
res
=>
{
debugger
if
(
res
.
data
.
status
==
200
)
{
self
.
total
=
res
.
data
.
data
if
(
res
.
status
==
200
)
{
self
.
total
=
res
.
data
}
})
},
...
...
@@ -231,16 +235,17 @@ export default {
let
param
=
{
name
:
self
.
form
.
name
,
page
:
self
.
page
,
limit
:
self
.
limit
limit
:
self
.
limit
,
stat
:
"1"
}
axios
.
post
(
'
http://77.1.24.51:9100
/template/selectTbStTemplateList'
,
param
,
{
header
:
{
'
C
ontent-Type'
:
'application/json'
axios
.
post
(
'
/mxgl
/template/selectTbStTemplateList'
,
param
,
{
header
s
:
{
'
c
ontent-Type'
:
'application/json'
}
}).
then
(
res
=>
{
if
(
res
.
data
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
self
.
tableLoading
=
false
self
.
tableData
=
res
.
data
.
data
self
.
tableData
=
res
.
data
}
})
self
.
getCount
()
...
...
src/views/mxmk/mxpjtj.vue
View file @
1896fa01
...
...
@@ -25,10 +25,19 @@
<div
class=
"form_box"
>
<div>
<div>
输入
</div>
<el-table
:data=
"srTableData"
>
<el-table-cloumn>
</el-table-cloumn>
<el-table
:data=
"srTableData"
width=
"262px"
>
<el-table-column
prop=
"paraName"
label=
"名称"
>
</el-table-column>
<el-table-column
prop=
"paraNaMs"
label=
"字段"
>
</el-table-column>
<el-table-column
prop=
"paraType"
label=
"类型"
>
</el-table-column>
</el-table>
</div>
<div>
...
...
@@ -37,7 +46,20 @@
</div>
<div>
<div>
输出
</div>
<el-table
:data=
"scTableData"
></el-table>
<el-table
:data=
"scTableData"
width=
"262px"
>
<el-table-column
prop=
"paraName"
label=
"名称"
>
</el-table-column>
<el-table-column
prop=
"paraNaMs"
label=
"字段"
>
</el-table-column>
<el-table-column
prop=
"paraType"
label=
"类型"
>
</el-table-column>
</el-table>
</div>
</div>
<div
class=
"form_box"
>
...
...
@@ -69,7 +91,21 @@ export default {
form
:
{
value1
:
''
,
value2
:
''
},
srTableData
:[
{
paraName
:
''
,
paraType
:
''
,
paraNaMs
:
''
}
],
scTableData
:[
{
paraName
:
''
,
paraType
:
''
,
paraNaMs
:
''
}
],
}
}
}
...
...
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