Zhang Li, BBF-411-2(Neusoft) 1 year ago
parent
commit
15240f4e29
1 changed files with 7 additions and 6 deletions
  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>
             <rx-button style="font-size: 1vw;color: #406CC4;" class="clearBtn" :butn-icon="'none'" @click="handleFileDownloadClick">下载</rx-button>
           </div>
           </div>
         </a-form-model-item>
         </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">
           <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>
           </div>
         </a-form-model-item>
         </a-form-model-item>
         <template v-if="showOnlyOffice">
         <template v-if="showOnlyOffice">
@@ -367,10 +367,11 @@ export default {
       this.widthVar = innerWidth - offsetWidth - 40
       this.widthVar = innerWidth - offsetWidth - 40
     }, 1000);
     }, 1000);
     document.onclick=function(element){
     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(() => {
     /*setInterval(() => {
       document.querySelectorAll('.ant-cascader-menu-item').forEach(el => {
       document.querySelectorAll('.ant-cascader-menu-item').forEach(el => {
         el.onclick = function() {
         el.onclick = function() {