摘要: 第一步 <template> <!-- 新建部门 --> <div class="container"> <el-dialog :title="fullTitle" :visible.sync="dialogFormVisible" @close="close" > <template> <div 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(78) 评论(0) 推荐(0)
摘要: <template> <view class="box u-p-l-35 u-p-r-35 "> <view class="title"> <text> 请选择您要管理的市场 </text> </view> <view :class=" ['u-flex','u-row-center',{'choo 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(25) 评论(0) 推荐(0)
摘要: <template> <view class="box u-p-l-35 u-p-r-35 "> <view class="title"> <text> 请选择您要管理的市场 </text> </view> <view :class=" ['u-flex','u-row-center',{'choo 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(31) 评论(0) 推荐(0)
摘要: <el-dialog :title="fullTitle" width="80%" :fullscreen="false" :close-on-click-modal="false" :visible.sync="dialogFormVisible" @close="close"> 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(24) 评论(0) 推荐(0)
摘要: 第一步 按钮 <el-button @click="resetQuery" icon="el-icon-refresh"> 重置 </el-button> 第二步 resetQuery() { this.query = {}; this.list(); }, 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(42) 评论(0) 推荐(0)
摘要: 获取值有点问题 点击同一按钮获取值有问题 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: <div class="container"> <!-- <el-radio-group v-model="mode">--> <div> <!-- <el-radio-button class="login-btn" label="0">营销端</el-radio-button>--> <el-b 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: <div class="container"> <!-- <el-radio-group v-model="mode">--> <div> <!-- <el-radio-button class="login-btn" label="0">营销端</el-radio-button>--> <el-b 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(21) 评论(0) 推荐(0)
摘要: <!--首页管理--> <template> <div> <!--market--> <el-card v-if="task1.length!=0" style="width: 100%;height: 300px;"> <el-carousel :interval="3000" indicator 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(21) 评论(0) 推荐(0)
摘要: name报错就是name的数值报错 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(76) 评论(0) 推荐(0)
摘要: 其实第二个仓库 建立的时候直接取进行 push操作就可以完成 原理一样 可以直接对代码地址进行提交 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(16) 评论(0) 推荐(0)
摘要: <el-form class="left-right"> <el-form-item label="分发账号名称" label-width="100px"> <el-select v-model="form.index" placeholder="选择绑定的分发账号"> <el-option :di 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(33) 评论(0) 推荐(0)
摘要: <el-table-column :show-overflow-tooltip="true" v-for="(column, index) in columns" :key="index" :type="column.type" :prop="column.prop" :label="column. 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(21) 评论(0) 推荐(0)
摘要: 给元素加入以下样式: white-space:nowrap;overflow:hidden; text-overflow:ellipsis; 此外,还要注意给元素加上宽度: width:100px; 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(14) 评论(0) 推荐(0)
摘要: this.$nextTick()将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。 假设我们更改了某个dom元素内部的文本,而这时候我们想直接打印出这个被改变 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(52) 评论(0) 推荐(0)
摘要: 1获取vuex的取值 /*通过vuex的状态去判断现在所处的业务端还是营销端*/ computed:{ /*取出对应的业务端和营销端的内容*/ Mode(){ return this.$store.state.mode } }, 2直接赋值 task_business_module(){ getAc 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(22) 评论(0) 推荐(0)
摘要: 获取值有点问题 点击同一按钮获取值有问题 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(11) 评论(0) 推荐(0)
摘要: const user = res.data.user; const dept = user.department; console.log(dept.property) const properties = dept.property.split(","); console.log(properti 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(17) 评论(0) 推荐(0)
摘要: <!--定义一个有按钮的对话框 相当于dialog和按钮组合使用--> <template> <!-- 有按钮的对话框 这个位置的代码会被包裹过去--> <!--close-on-click-modal 是否可以通过点击 modal 关闭 Dialog append-to-body控制不能出现遮挡层 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(91) 评论(0) 推荐(0)
摘要: <!--定义一个有按钮的对话框 相当于dialog和按钮组合使用--> <template> <!-- 有按钮的对话框 这个位置的代码会被包裹过去--> <!--close-on-click-modal 是否可以通过点击 modal 关闭 Dialog append-to-body控制不能出现遮挡层 阅读全文
posted @ 2022-09-10 19:41 前端导师歌谣 阅读(32) 评论(0) 推荐(0)