Commit c7b3d5ed by xinla

部分组件优化修复等

1 parent e67f6cf8
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
</script> </script>
<template> <template>
<div v-if="series?.length" ref="chart" class="chart-bar chart" key="1"></div> <div v-if="xData?.length && series?.length" ref="chart" class="chart-bar chart" key="1"></div>
<div v-else class="chart-bar chart" key="2"> <div v-else class="chart-bar chart" key="2">
<div class="cc"><Empty /></div> <div class="cc"><Empty /></div>
</div> </div>
......
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
</script> </script>
<template> <template>
<div v-if="series?.length" ref="chart" class="chart-line chart" key="1"></div> <div v-if="xData?.length && series?.length" ref="chart" class="chart-line chart" key="1"></div>
<div v-else class="chart-line chart" key="2"> <div v-else class="chart-line chart" key="2">
<div class="cc"><Empty /></div> <div class="cc"><Empty /></div>
</div> </div>
......
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="type === '1'"> <!-- <template v-else-if="type === '1'">
<el-form-item label="语音" prop="materialUrl"> <el-form-item label="语音" prop="materialUrl">
<Voice v-if="form.materialUrl" :amrUrl="form.materialUrl"></Voice> <Voice v-if="form.materialUrl" :amrUrl="form.materialUrl"></Voice>
<Upload <Upload
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
<el-form-item label="名称" prop="materialName"> <el-form-item label="名称" prop="materialName">
<el-input v-model="form.materialName" placeholder="请输入"></el-input> <el-input v-model="form.materialName" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
</template> </template> -->
<!-- 视频 --> <!-- 视频 -->
<template v-else-if="type === '2'"> <template v-else-if="type === '2'">
<el-form-item label="视频标题" prop="materialName"> <el-form-item label="视频标题" prop="materialName">
......
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
<template> <template>
<div class="SearchClearButton bfc-d"> <div class="SearchClearButton bfc-d">
<el-button type="primary" @click="search">查询</el-button> <el-button type="primary" @click="search(1)">查询</el-button>
<el-button @click="reset(), search(1)">重置</el-button> <el-button @click="reset(), search(1)">重置</el-button>
</div> </div>
</template> </template>
......
...@@ -105,10 +105,7 @@ ...@@ -105,10 +105,7 @@
// } // }
} }
.el-input, .el-input,
.el-select { .el-select,
width: 240px;
}
.el-date-editor--daterange { .el-date-editor--daterange {
width: 240px; width: 240px;
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
:src="groupQrCode.codeUrl" :src="groupQrCode.codeUrl"
class="code-image"></el-image> class="code-image"></el-image>
<el-button type="primary" plain class="ml10" icon="el-icon-plus" @click="dialogVisibleSelectQrCode = true"> <el-button type="primary" plain class="ml10" @click="dialogVisibleSelectQrCode = true">
{{ groupQrCode && groupQrCode.codeUrl ? '修改' : '选择' }} {{ groupQrCode && groupQrCode.codeUrl ? '修改' : '选择' }}
</el-button> </el-button>
</el-form-item> </el-form-item>
...@@ -84,7 +84,6 @@ ...@@ -84,7 +84,6 @@
type="primary" type="primary"
class="ml10" class="ml10"
plain plain
:icon="plus"
@click="dialogVisibleSelectTag = true" @click="dialogVisibleSelectTag = true"
:disabled="form.sendScope == 0"> :disabled="form.sendScope == 0">
添加标签 添加标签
...@@ -97,7 +96,6 @@ ...@@ -97,7 +96,6 @@
type="primary" type="primary"
plain plain
class="ml10" class="ml10"
:icon="plus"
@click="dialogVisibleSelectUser = true" @click="dialogVisibleSelectUser = true"
:disabled="form.sendScope == 0"> :disabled="form.sendScope == 0">
{{ users.length ? '修改' : '添加' }} {{ users.length ? '修改' : '添加' }}
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<el-button <el-button
type="primary" type="primary"
:class="selectCustomerGroupList.length == 1 && 'ml10'" :class="selectCustomerGroupList.length == 1 && 'ml10'"
:icon="circle - plus - outline" icon="circle-plus-outline"
plain plain
@click="onSelectCustomerGroup"> @click="onSelectCustomerGroup">
选择群主 选择群主
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!