朱鑫波 3 лет назад
Родитель
Сommit
a3034a275b

+ 1 - 10
src/views/modules/autoLaunch/channelManage/createChannel.vue

@@ -440,16 +440,7 @@ li.chouzhen.first:before {
                                 <a-row :gutter="16">
                                     <a-col :span="16">
                                         <a-form-item label="调起链接">
-                                            <a-input
-                                                v-decorator="[
-                                                    'schemaUri',
-                                                    {
-                                                        rules: [{ validator: handleConfirmValueOkUndefind }]
-                                                    }
-                                                ]"
-                                                allow-clear
-                                                id="schemaUri"
-                                            />
+                                            <a-input v-decorator="['schemaUri']" allow-clear id="schemaUri" />
                                         </a-form-item>
                                         <a-form-item
                                             v-bind="tailFormItemLayout"

+ 8 - 4
src/views/modules/material/accountCheckBytedance.vue

@@ -212,8 +212,12 @@ export default {
     handleOk(e) {
       console.log(e)
       var data = this.$refs.tree.getCheckedKeys()
+      var dataArr = data.map(item=>{
+        return item.split('@')[0]
+      })
+      // console.log(dataArr)
       this.showEdit = false
-      this.$emit('synchro', {treeData:data,shieldBackwardSwitch:this.shieldBackwardSwitch})
+      this.$emit('synchro', {treeData:dataArr,shieldBackwardSwitch:this.shieldBackwardSwitch})
     },
     close() {
       this.showEdit = false
@@ -251,7 +255,7 @@ export default {
       console.log(node)
       var data = []
       if (node.level == 1) {
-        var id = node.label
+        var id = node.key.split('@')[1]
 
         getAction('/ctop/userAllocation/getAccountIdListByUserId', {
           userId: id,
@@ -301,8 +305,8 @@ export default {
           console.log(res)
           this.options = res.result.map((item) => {
             return {
-              id: item.accountId,
-              label: item.userId,
+              id: item.accountId+'@'+item.userId,
+              label: item.userId+'-'+item.projectName,
               children: [],
             }
           })