Commit fd516f40 by 前端

Merge branch 'v2.0.0' into 'v2.1.0'

2.0.0同步代码到2.1.0

See merge request !26
2 parents f5e51b98 bda0a94d
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-03-07 14:32:50 * @Date: 2022-03-07 14:32:50
* @LastEditTime: 2022-03-14 21:04:10 * @LastEditTime: 2022-04-02 17:42:14
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue * @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-form-item size="small" label="营业时间" class="time-row"> <el-form-item size="small" label="营业时间" class="time-row">
<el-time-picker size="small" value-format="HH:mm:ss" is-range v-model="infoForm.bussinessTime" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker> <el-time-picker size="small" value-format="HH:mm:ss" is-range v-model="infoForm.bussinessTime" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
</el-form-item> </el-form-item>
<el-form-item size="small" label="主营品牌"> <el-form-item size="small" label="主营品牌" style="height: 500px">
<select-brand :brandListTree="brandListTree" ref="brandListTree"></select-brand> <select-brand :brandListTree="brandListTree" ref="brandListTree"></select-brand>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<el-button type="primary" @click="getAddress">确 定</el-button> <el-button type="primary" @click="getAddress">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<GLFooter> <GLFooter style="z-index: 100">
<el-button type="primary" @click="handleSave">提交</el-button> <el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button> <el-button @click="goback">取消</el-button>
</GLFooter> </GLFooter>
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
console.log(brandListTree) console.log(brandListTree)
brandListTree.forEach(item => { brandListTree.forEach(item => {
let child = item.children let child = item.children
if(!child) return if (!child) return
child.forEach(k => { child.forEach(k => {
delete k.children delete k.children
}) })
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
if (!this.infoForm.merchantBrandMain) { if (!this.infoForm.merchantBrandMain) {
this.infoForm.merchantBrandMain = [] this.infoForm.merchantBrandMain = []
} else { } else {
this.infoForm.merchantBrandMain = this.infoForm.merchantBrandMain.replaceAll(';',',').split(',') this.infoForm.merchantBrandMain = this.infoForm.merchantBrandMain.replaceAll(';', ',').split(',')
} }
this.$refs.brandListTree.getCheckList(this.infoForm.merchantBrandMain) this.$refs.brandListTree.getCheckList(this.infoForm.merchantBrandMain)
this.$nextTick(() => { this.$nextTick(() => {
...@@ -168,7 +168,8 @@ export default { ...@@ -168,7 +168,8 @@ export default {
.main-information { .main-information {
background: #ffffff; background: #ffffff;
border-radius: 2px; border-radius: 2px;
height: calc(100% - 80px); min-height: calc(100% - 80px);
margin-bottom: 84px;
.information-title { .information-title {
height: 58px; height: 58px;
line-height: 58px; line-height: 58px;
......
...@@ -96,8 +96,10 @@ export default { ...@@ -96,8 +96,10 @@ export default {
}, },
// 获取业务类型 // 获取业务类型
getBusinessType() { getBusinessType() {
this.$apis.emp.getListEntBusinessType().then(res => { var params = {}
console.log(res, '111') // flag 0-跟进专员调用 1-素材调用
params.flag = 0
this.$apis.emp.getListEntBusinessType(params).then(res => {
this.businessType = res this.businessType = res
this.selectBusiness = [1] this.selectBusiness = [1]
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!