Zhang Li, BBF-411-2(Neusoft) 1 年之前
父节点
当前提交
15240f4e29
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7 6
      src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

+ 7 - 6
src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

@@ -85,10 +85,10 @@
             <rx-button style="font-size: 1vw;color: #406CC4;" class="clearBtn" :butn-icon="'none'" @click="handleFileDownloadClick">下载</rx-button>
           </div>
         </a-form-model-item>
-        <a-form-model-item class="knowledgeAddUpdateLabel oneline" v-if="knowledgeForm.type==1" prop="actualApproverName">
-          <span slot="label">&emsp;&emsp;权限</span>
+        <a-form-model-item label="阅读权限" class="knowledgeAddUpdateLabel oneline" style="width:calc( 46.04vw );" v-if="knowledgeForm.type==1" prop="actualApproverName">
+          <!-- <span slot="label">权限</span> -->
           <div @click="handleAuthClickshow">
-            <a-select class="addItemBox" v-model="authName" :showArrow="false" :open="false" placeholder="请选择您建议的权限范围"></a-select>
+            <a-select class="addItemBox" style="width:100%;" v-model="authName" :showArrow="false" :open="false" placeholder="请选择您建议的权限范围"></a-select>
           </div>
         </a-form-model-item>
         <template v-if="showOnlyOffice">
@@ -367,10 +367,11 @@ export default {
       this.widthVar = innerWidth - offsetWidth - 40
     }, 1000);
     document.onclick=function(element){
-        if(element.target.className.indexOf('ant-cascader-menu-item')>-1){
-          document.querySelector('.ant-cascader-menus').scrollLeft = 20480
-        }
+      if(element.target.className.indexOf('ant-cascader-menu-item')>-1){
+        document.querySelector('.ant-cascader-menus').scrollLeft = 20480
       }
+    }
+    document.getElementsByClassName('ant-form-item-control-wrapper')[5].style.width = '70%'
     /*setInterval(() => {
       document.querySelectorAll('.ant-cascader-menu-item').forEach(el => {
         el.onclick = function() {