Commit 30dbc53b by 匡雅琴

新增wangEditor插件

1 parent 11bfe92c
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2" "vuex": "^3.1.2",
"wangeditor": "^4.7.12"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0", "@vue/cli-plugin-babel": "^4.1.0",
......
...@@ -248,6 +248,24 @@ const staticRoutes = Object.freeze([{ ...@@ -248,6 +248,24 @@ const staticRoutes = Object.freeze([{
path: '/sop/sopAnalysisList', path: '/sop/sopAnalysisList',
component: resolve => require([`@/views/sop/sopAnalysisList.vue`], resolve), component: resolve => require([`@/views/sop/sopAnalysisList.vue`], resolve),
meta: {} meta: {}
},
{
name: 'materialList',
path: '/material/index',
component: resolve => require([`@/views/material/index.vue`], resolve),
meta: {}
},
{
name: 'addMaterial',
path: '/material/addMaterial',
component: resolve => require([`@/views/material/addMaterial.vue`], resolve),
meta: {}
},
{
name: 'materialDetail',
path: '/material/materialDetail',
component: resolve => require([`@/views/material/materialDetail.vue`], resolve),
meta: {}
} }
]) ])
export default staticRoutes export default staticRoutes
\ No newline at end of file \ No newline at end of file
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
</div> </div>
<div class="container"> <div class="container">
<div class="search-form"> <div class="search-form">
<glsx-combi-form ref="materialFormRef" :isEdit="isEdit" :formObj="searchForm" :formData="materialFormData" :inline="true"> <glsx-combi-form ref="materialFormRef1" :isEdit="isEdit" :formObj="searchForm" :formData="materialFormData1" :inline="true">
</glsx-combi-form>
<glsx-combi-form ref="materialFormRef2" :isEdit="isEdit" :formObj="searchForm" :formData="materialFormData2" :inline="true">
<span slot="footer" slot-scope="scope" class="select-pro"> <span slot="footer" slot-scope="scope" class="select-pro">
<el-button type="primary" :size="size" @click="handleSearch(scope)">查询</el-button> <el-button type="primary" :size="size" @click="handleSearch(scope)">查询</el-button>
<el-button type="default" :size="size" @click="handleReset(scope)">重置</el-button> <el-button type="default" :size="size" @click="handleReset(scope)">重置</el-button>
...@@ -155,7 +157,7 @@ export default { ...@@ -155,7 +157,7 @@ export default {
materialGroupDialog: false, materialGroupDialog: false,
// 素材组 // 素材组
groupCounter: [], groupCounter: [],
materialFormData: [ materialFormData1: [
{ {
label: '业务类型:', label: '业务类型:',
name: 'applicationType', name: 'applicationType',
...@@ -173,7 +175,9 @@ export default { ...@@ -173,7 +175,9 @@ export default {
name: 'status', name: 'status',
type: 'select', type: 'select',
placeholder: '全部(不包括删除)' placeholder: '全部(不包括删除)'
}, }
],
materialFormData2: [
{ {
label: '素材名称:', label: '素材名称:',
name: 'materialName', name: 'materialName',
...@@ -376,6 +380,24 @@ export default { ...@@ -376,6 +380,24 @@ export default {
} }
} }
} }
ul {
li {
list-style: none;
}
}
.group-frame {
width: 72px;
height: 106px;
background: #FFFFFF;
ul {
margin: 0 8px;
padding-top: 1px;
text-align: center;
li {
margin: 15px 0;
}
}
}
.container { .container {
margin-top: 10px; margin-top: 10px;
height: 100%; height: 100%;
...@@ -399,7 +421,6 @@ export default { ...@@ -399,7 +421,6 @@ export default {
} }
ul { ul {
li { li {
list-style: none;
margin: 0 0 22px 18px; margin: 0 0 22px 18px;
position: relative; position: relative;
i { i {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!