Commit 40f7dbd9 by 前端

Merge branch 'v3.15.0' into 'master'

V3.15.0

See merge request !14
2 parents 4f7205ba 99464f21
This diff could not be displayed because it is too large.
...@@ -34,8 +34,11 @@ ...@@ -34,8 +34,11 @@
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"file-loader": "^6.2.0",
"mini-css-extract-plugin": "^2.7.6",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"postcss-loader": "^6.2.0", "postcss-loader": "^6.2.0",
"preload-webpack-plugin": "^2.3.0",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",
"vue-cli-plugin-element": "^1.0.1", "vue-cli-plugin-element": "^1.0.1",
......
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-04 11:28:26
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-10 10:16:36
* @FilePath: \scrm-micro-home\public\index.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
...@@ -5,7 +13,6 @@ ...@@ -5,7 +13,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="referrer" content="no-referrer" /> <meta name="referrer" content="no-referrer" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<!-- 使用CDN的CSS文件 --> <!-- 使用CDN的CSS文件 -->
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style" /> <link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style" />
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.taskStatus == 1">编辑</el-button> <el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.taskStatus == 1">编辑</el-button>
</div> </div>
<template slot="taskStatus" slot-scope="scope"> <template slot="taskStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.taskStatus}`]">{{ findStatus(scope.scope.taskStatus) }}</div> <div :class="['task_icon_status', `task_icon_status${scope.scope.taskStatus}`]">{{ findStatus(scope.scope.taskStatus) }}</div>
</template> </template>
</GLTable> </GLTable>
<div class="tabel-null" v-show="taskNum == 0"> <div class="tabel-null" v-show="taskNum == 0">
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
} }
} }
} }
.task_icon { .task_icon_status {
position: relative; position: relative;
&::after { &::after {
content: ''; content: '';
...@@ -312,22 +312,22 @@ export default { ...@@ -312,22 +312,22 @@ export default {
height: 6px; height: 6px;
border-radius: 4px; border-radius: 4px;
} }
&.task_icon1 { &.task_icon_status1 {
&::after { &::after {
background: #fdb757; background: #fdb757;
} }
} }
&.task_icon2 { &.task_icon_status2 {
&::after { &::after {
background: #5850ff; background: #5850ff;
} }
} }
&.task_icon3 { &.task_icon_status3 {
&::after { &::after {
background: #5850ff; background: #5850ff;
} }
} }
&.task_icon4 { &.task_icon_status4 {
&::after { &::after {
background: #2cca74; background: #2cca74;
} }
......
...@@ -198,7 +198,9 @@ export default { ...@@ -198,7 +198,9 @@ export default {
itemValue: 4, itemValue: 4,
itemType: 'package', itemType: 'package',
getInterfaceApi: this.$apis.welcomeword.getPackage, getInterfaceApi: this.$apis.welcomeword.getPackage,
params: {} params: {
state: 1
}
}, },
{ {
itemName: '商城券', itemName: '商城券',
...@@ -208,7 +210,8 @@ export default { ...@@ -208,7 +210,8 @@ export default {
params: { params: {
discountTypes: [2, 3, 4], discountTypes: [2, 3, 4],
directionalFlag: 1, // 1所有人可用2定向礼包专用3关联优惠券 directionalFlag: 1, // 1所有人可用2定向礼包专用3关联优惠券
validType: 'valid' validType: 'valid',
status: 2
} }
}, },
{ {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-button type="text" @click="goEdit(scope.scope)">编辑</el-button> <el-button type="text" @click="goEdit(scope.scope)">编辑</el-button>
</div> </div>
<template slot="taskStatus" slot-scope="scope"> <template slot="taskStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.taskStatus}`]">{{ taskStatus(scope.scope.taskStatus) }}</div> <div :class="['task_icon_status', `task_icon_status${scope.scope.taskStatus}`]">{{ taskStatus(scope.scope.taskStatus) }}</div>
</template> </template>
<template slot="phoneCount" slot-scope="scope"> <template slot="phoneCount" slot-scope="scope">
<div class="process-box" v-if="activeIndex == 1"> <div class="process-box" v-if="activeIndex == 1">
...@@ -284,7 +284,7 @@ export default { ...@@ -284,7 +284,7 @@ export default {
background: #5850ff; background: #5850ff;
} }
} }
.task_icon { .task_icon_status {
position: relative; position: relative;
&::after { &::after {
content: ''; content: '';
...@@ -295,22 +295,22 @@ export default { ...@@ -295,22 +295,22 @@ export default {
height: 6px; height: 6px;
border-radius: 4px; border-radius: 4px;
} }
&.task_icon1 { &.task_icon_status1 {
&::after { &::after {
background: #fdb757; background: #fdb757;
} }
} }
&.task_icon2 { &.task_icon_status2 {
&::after { &::after {
background: #5850ff; background: #5850ff;
} }
} }
&.task_icon3 { &.task_icon_status3 {
&::after { &::after {
background: #5850ff; background: #5850ff;
} }
} }
&.task_icon4 { &.task_icon_status4 {
&::after { &::after {
background: #2cca74; background: #2cca74;
} }
......
...@@ -145,7 +145,9 @@ export default { ...@@ -145,7 +145,9 @@ export default {
itemValue: 4, itemValue: 4,
itemType: 'package', itemType: 'package',
getInterfaceApi: this.$apis.welcomeword.getPackage, getInterfaceApi: this.$apis.welcomeword.getPackage,
params: {} params: {
state: 1
}
}, },
{ {
itemName: '商城券', itemName: '商城券',
...@@ -155,7 +157,8 @@ export default { ...@@ -155,7 +157,8 @@ export default {
params: { params: {
discountTypes: [2, 3, 4], discountTypes: [2, 3, 4],
directionalFlag: 1, // 1所有人可用2定向礼包专用3关联优惠券 directionalFlag: 1, // 1所有人可用2定向礼包专用3关联优惠券
validType: 'valid' validType: 'valid',
status: 2
} }
}, },
{ {
...@@ -432,4 +435,3 @@ export default { ...@@ -432,4 +435,3 @@ export default {
} }
} }
</style> </style>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<GLCombiForm :rowNumber="1" class="searchForm" ref="detailsSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm :rowNumber="1" class="searchForm" ref="detailsSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="detailsTable" :searchForm="searchForm" :pageConf="pageConf" :tableParams="tableParams" :getListApi="getListApi"> <GLTable ref="detailsTable" :searchForm="searchForm" :pageConf="pageConf" :tableParams="tableParams" :getListApi="getListApi">
<template slot="phoneStatus" slot-scope="scope"> <template slot="phoneStatus" slot-scope="scope">
<div :class="['task_icon', `task_icon${scope.scope.phoneStatus}`]">{{ taskStatus(scope.scope.phoneStatus) }}</div> <div :class="['task_icon_status', `task_icon_status${scope.scope.phoneStatus}`]">{{ taskStatus(scope.scope.phoneStatus) }}</div>
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.task_icon { .task_icon_status {
position: relative; position: relative;
&::after { &::after {
content: ''; content: '';
...@@ -246,22 +246,22 @@ export default { ...@@ -246,22 +246,22 @@ export default {
height: 6px; height: 6px;
border-radius: 4px; border-radius: 4px;
} }
&.task_icon1 { &.task_icon_status1 {
&::after { &::after {
background: #999999; background: #999999;
} }
} }
&.task_icon2 { &.task_icon_status2 {
&::after { &::after {
background: #fdb757; background: #fdb757;
} }
} }
&.task_icon3 { &.task_icon_status3 {
&::after { &::after {
background: #5850ff; background: #5850ff;
} }
} }
&.task_icon4 { &.task_icon_status4 {
&::after { &::after {
background: #2cca74; background: #2cca74;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-04 11:28:27 * @Date: 2023-08-04 11:28:27
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-04 13:53:27 * @LastEditTime: 2023-08-10 10:32:31
* @FilePath: \scrm-micro-home\vue.config.js * @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -55,7 +55,7 @@ module.exports = { ...@@ -55,7 +55,7 @@ module.exports = {
}, },
chainWebpack: config => { chainWebpack: config => {
config.plugin('html').tap(args => { config.plugin('html').tap(args => {
// args[0].minify.removeComments = false; args[0].scriptLoading = 'defer'
args[0].cdn = cdn args[0].cdn = cdn
return args return args
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!