|
@@ -1,11 +1,14 @@
|
|
|
<template>
|
|
|
<div class="excelHtnl">
|
|
|
<div class="header">
|
|
|
- <div
|
|
|
- class="GoBack"
|
|
|
- @click="GoBack()"
|
|
|
- >
|
|
|
- 返回上一级
|
|
|
+ <div class="flexStar">
|
|
|
+ <h2>编辑WBS库</h2>
|
|
|
+ <div
|
|
|
+ class="GoBack marleft20"
|
|
|
+ @click="GoBack()"
|
|
|
+ >
|
|
|
+ 返回上一级
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div>
|
|
|
<el-button
|
|
@@ -28,6 +31,11 @@
|
|
|
size="small"
|
|
|
@click="setUptype=3"
|
|
|
>编辑默认信息</el-button>
|
|
|
+ <el-button
|
|
|
+ type="info"
|
|
|
+ size="small"
|
|
|
+ @click="setUptype=4"
|
|
|
+ >提示设置</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="excelBox">
|
|
@@ -49,6 +57,7 @@
|
|
|
<electronicSignature v-if="setUptype===1" />
|
|
|
<setFormula v-if="setUptype===2" />
|
|
|
<editDefault v-if="setUptype===3" />
|
|
|
+ <promptSettings v-if="setUptype===4" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -59,6 +68,7 @@ import setInputTPT from './template/setInputTPT.vue'
|
|
|
import electronicSignature from './template/electronicSignature.vue'
|
|
|
import setFormula from './template/setFormula.vue'
|
|
|
import editDefault from './template/editDefault.vue'
|
|
|
+import promptSettings from './template/promptSettings.vue'
|
|
|
import Vue from 'vue'
|
|
|
// import dictVue from '../../../system/dict.vue'
|
|
|
export default {
|
|
@@ -101,15 +111,17 @@ export default {
|
|
|
async copss () {
|
|
|
let _that = this
|
|
|
var MyComponent = await Vue.extend({
|
|
|
+ template: localStorage.getItem('excelHtml'),
|
|
|
data () {
|
|
|
return {
|
|
|
formData: {}
|
|
|
}
|
|
|
},
|
|
|
- template: localStorage.getItem('excelHtml'),
|
|
|
- getInformation (name, tr, td) {//鼠标右键事件
|
|
|
- _that.getInformation(name, tr, td)
|
|
|
- },
|
|
|
+ methods: {
|
|
|
+ getInformation (name, tr, td) {//鼠标右键事件
|
|
|
+ _that.getInformation(name, tr, td)
|
|
|
+ },
|
|
|
+ }
|
|
|
})
|
|
|
var component = new MyComponent().$mount()
|
|
|
let na = document.getElementById('parent')
|
|
@@ -123,7 +135,6 @@ export default {
|
|
|
this.copss()
|
|
|
},
|
|
|
getInformation (name, tr, td) {//鼠标点击事件
|
|
|
- console.log(name, tr, td);
|
|
|
this.htmlData = {
|
|
|
name,
|
|
|
tr,
|
|
@@ -135,7 +146,8 @@ export default {
|
|
|
setInputTPT,
|
|
|
electronicSignature,
|
|
|
setFormula,
|
|
|
- editDefault
|
|
|
+ editDefault,
|
|
|
+ promptSettings
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -156,6 +168,8 @@ export default {
|
|
|
.GoBack {
|
|
|
color: rgba(0, 82, 216, 1);
|
|
|
text-decoration: underline;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
font-family: SourceHanSansSC;
|
|
|
cursor: pointer;
|
|
|
}
|