mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
笔记
This commit is contained in:
@@ -7,63 +7,40 @@
|
||||
</div>
|
||||
<div class="edit-content">
|
||||
<div class="note-tit">
|
||||
<h3> 《高效能人士的7个习惯》</h3>
|
||||
<h3> {{ editdata.courseName }} </h3>
|
||||
<div><img src="../../../public/images/coteplay.png" alt="">8:40</div>
|
||||
</div>
|
||||
<div class="note-text">
|
||||
我见过的策划们,不管是甲方企业的,还是广告代理,还营销策划公司的,在做策略写方案的时候,在写策略方做策略写方案的的时案的的时案<br>
|
||||
1)套理论<br>
|
||||
找一个营销理论,做策略时直接向上套。不管是什么行业、企业处在什么发展阶段,都要 照着这个理论的
|
||||
我见过的策划们,不管是甲方企业的,还是广告代理,还营销策划公司的,在做策略写方案的时候,在写策略方做策略写方案的的时案的的时案<br>
|
||||
2)套理论<br>
|
||||
找一个营销理论,做策略时直接向上套。不管是什么行业、企业处在什么发展阶段,都要 照着这个理论的
|
||||
我见过的策划们,不管是甲方企业的,还是广告代理,还营销策划公司的,在做策略写方案的时候,在写策略方做策略写方案的的时案的的时案<br>
|
||||
3)套理论<br>
|
||||
找一个营销理论,做策略时直接向上套。不管是什么行业、企业处在什么发展阶段,都要 照着这个理论的
|
||||
<!-- <input style="vertical-align:top;outline:none;" type="textarea" :rows="4" v-model="editdata.content"> -->
|
||||
<textarea v-model="editdata.content" name="" id="" cols="" rows="16" style="vertical-align:top;outline:none;width:100%;border:none; font-size: 14px;font-weight: 400;color: #333333;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="edit-footer">
|
||||
<el-radio v-model="radio" label="1">公开</el-radio>
|
||||
<el-radio v-model="radio" label="2">私密</el-radio>
|
||||
<el-radio v-model="editdata.openType" label="9">公开</el-radio>
|
||||
<el-radio v-model="editdata.openType" label="1">私密</el-radio>
|
||||
<el-button plain>取消</el-button>
|
||||
<el-button type="primary">确定</el-button>
|
||||
<el-button type="primary" @click="savedata" >确定</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="edti-hist">
|
||||
<h3>历史记录</h3>
|
||||
<div class="histinfo">
|
||||
<div class="histinfo" v-for="(item,idx) in histdata" :key="idx">
|
||||
<div class="hist-top">
|
||||
编辑了笔记
|
||||
<span>2022/4/5 22:42:32</span>
|
||||
</div>
|
||||
<div class="hist-cont">
|
||||
<div class="hist-tit">
|
||||
3)套方案
|
||||
<span> <i class="el-icon-refresh-left"></i> 还原</span>
|
||||
<div class=".two-line-ellipsis">
|
||||
{{ item.noteName }}
|
||||
</div>
|
||||
|
||||
<span @click="restore(item)"> <i class="el-icon-refresh-left"></i> 还原</span>
|
||||
</div>
|
||||
<div class="hist-text">
|
||||
最后一个做策划的方案就是套方案,这一点尤其是策划小白其是策
|
||||
们经常会犯,自己不会写方案,一写方案就照
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="histinfo">
|
||||
<div class="hist-top">
|
||||
编辑了笔记
|
||||
<span>2022/4/5 22:42:32</span>
|
||||
</div>
|
||||
<div class="hist-cont">
|
||||
<div class="hist-tit">
|
||||
3)套方案
|
||||
<span> <i class="el-icon-refresh-left"></i> 还原</span>
|
||||
</div>
|
||||
<div class="hist-text">
|
||||
最后一个做策划的方案就是套方案,这一点尤其是策划小白其是策
|
||||
们经常会犯,自己不会写方案,一写方案就照
|
||||
{{ item.beforeContent }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,16 +51,63 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import apiNote from '@/api/phase2/note.js'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
radio: '1'
|
||||
radio: '1',
|
||||
editdata:{},
|
||||
histId:'',
|
||||
histdata:[],
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
let id = this.$route.query.id;
|
||||
apiNote.detail(id).then(res=>{
|
||||
let that = this;
|
||||
that.editdata = res.result
|
||||
that.histId = res.result.id
|
||||
this.hist();
|
||||
})
|
||||
|
||||
},
|
||||
methods:{
|
||||
restore(item){
|
||||
apiNote.restore(item.id).then(res=>{
|
||||
console.loh(res)
|
||||
this.$message({
|
||||
message: '还原成功',
|
||||
type: 'success'
|
||||
});
|
||||
this.hist();
|
||||
})
|
||||
},
|
||||
hist(){
|
||||
apiNote.history(this.histId).then(res=>{
|
||||
console.log(res,'qqq')
|
||||
this.histdata = res.result
|
||||
})
|
||||
},
|
||||
|
||||
savedata(){
|
||||
apiNote.update(this.editdata).then(res=>{
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.note-input{
|
||||
outline-style: none;
|
||||
border: none;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
}
|
||||
.edti-hist{
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
@@ -105,12 +129,16 @@ export default {
|
||||
font-size: 14px;
|
||||
}
|
||||
.hist-tit{
|
||||
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #666666;
|
||||
div{
|
||||
flex: 1;
|
||||
}
|
||||
span{
|
||||
float: right;
|
||||
width: 60px;
|
||||
left: auto;
|
||||
color: #387DF7;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
@@ -147,6 +175,14 @@ export default {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
input{
|
||||
border: none;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
.note-tit{
|
||||
padding-top: 30px;
|
||||
|
||||
Reference in New Issue
Block a user