فهرست منبع

渠道号修改问题

朱鑫波 3 سال پیش
والد
کامیت
f141f74144

+ 3 - 7
src/views/modules/autoLaunch/channelManage/channelAdmin/components/channelList.vue

@@ -268,7 +268,6 @@
                 >
                     <a-input v-decorator="['schemaUri']" allow-clear id="schemaUri" />
                     <a-tag color="#2db7f5" @click="getChangeAll('渠道号', 'formDownLoad', 'schemaUri')">+渠道号</a-tag>
-                    <a-tag color="#2db7f5" @click="getChangeAll('编号', 'formDownLoad', 'schemaUri')">+编号</a-tag>
                 </a-form-item>
                 <a-form-item
                     label="第三方点击监测链接"
@@ -288,7 +287,6 @@
                     <a-tag color="#2db7f5" @click="getChangeAll('渠道号', 'formDownLoad', 'clickTrackUrl')"
                         >+渠道号</a-tag
                     >
-                    <a-tag color="#2db7f5" @click="getChangeAll('编号', 'formDownLoad', 'clickTrackUrl')">+编号</a-tag>
                 </a-form-item>
                 <a-form-item
                     label="第三方actionBar监测链接"
@@ -308,9 +306,6 @@
                     <a-tag color="#2db7f5" @click="getChangeAll('渠道号', 'formDownLoad', 'actionbarClickUrl')"
                         >+渠道号</a-tag
                     >
-                    <a-tag color="#2db7f5" @click="getChangeAll('编号', 'formDownLoad', 'actionbarClickUrl')"
-                        >+编号</a-tag
-                    >
                 </a-form-item>
                 <a-form-item
                     label="是否循环使用"
@@ -532,7 +527,7 @@ export default {
             if (field == 'channelName' || field == 'channelCode') {
                 v = '-{{' + type + '}}-'
             } else {
-                v = '{{' + type + '}}'
+                v = '-{{' + type + '}}-'
             }
 
             if (document.selection) {
@@ -727,7 +722,7 @@ export default {
         handleOkImport() {
             this.formDownLoad.validateFields((err, values) => {
                 if (!err) {
-                    if (!values.actionbarClickUrl && !values.clickTrackUrl && !values.isCycle && !values.schemaUri) {
+                    if (!values.actionbarClickUrl && !values.clickTrackUrl && values.isCycle == undefined && !values.schemaUri) {
                         this.$message.error('至少修改一项')
                         return
                     } else {
@@ -739,6 +734,7 @@ export default {
                             this.downLoading = false
                             if (res.success) {
                                 this.visibleDownLoad = false
+                                this.formDownLoad.resetFields()
                                 const paramsData = this.form.getFieldsValue()
                                 this.handleGetTableList(paramsData)
                             }

+ 1 - 1
src/views/modules/autoLaunch/channelManage/channelAdmin/components/uploadChannel.vue

@@ -101,7 +101,7 @@
                                             :size="100"
                                         ></uploadFile>
                                         <p class="upload-txt-rules">
-                                            文件格式:支持上传png/jpg/jpeg图片,尺寸450*450,小于100kb
+                                            文件格式:支持上传png/jpg/jpeg图片,尺寸450*450,小于100KB
                                         </p>
                                     </a-form-item>
                                 </a-col>