瀏覽代碼

重新打包

lex-xin 4 年之前
父節點
當前提交
5c3de1536d

+ 5 - 0
src/components/VueFormMaking/components/WidgetConfig.vue

@@ -9,6 +9,11 @@
       <el-form-item v-if="data.type!=='grid' && data.type!=='divider' && data.type != 'organ' && data.type != 'school'" :label="$t('fm.config.widget.name')">
         <el-input v-model="data.name" />
       </el-form-item>
+
+      <el-form-item v-if="Object.keys(data.options).indexOf('displayRelation')>=0" :label="$t('fm.config.widget.displayRelation')">
+        <el-input v-model="data.options.displayRelation" size="mini" :placeholder="$t('fm.config.widget.displayRelationPlaceholderModel')" />
+      </el-form-item>
+
       <!-- 宽度 -->
       <el-form-item v-if="Object.keys(data.options).indexOf('width')>=0 " :label="$t('fm.config.widget.width')">
         <el-input v-model="data.options.width" />

+ 9 - 1
src/components/VueFormMaking/components/componentsConfig.js

@@ -401,7 +401,15 @@ export const basicComponents = [
       remoteFunc: '',
       labelWidth: 100,
       labelWidthDisabled: false,
-      labelWidthStatus: true
+      labelWidthStatus: true,
+      displayRelation: null
+      // displayVerifiy: {
+      //   type: 'hide',
+      //   list: [{
+      //     model: '字段标识',
+      //     value: '字段值'
+      //   }]
+      // }
     }
   }
 ]

+ 3 - 1
src/components/VueFormMaking/lang/zh-CN.js

@@ -182,7 +182,9 @@ export default {
         showAllLevels: '完整路径',
         displayVerifiy: '显示校验',
         displayVerifiyPlaceholderModel: '请输入字段标识',
-        displayVerifiyPlaceholderValue: '请输入字段值'
+        displayVerifiyPlaceholderValue: '请输入字段值',
+        displayRelation: '关联字段',
+        displayRelationPlaceholderModel: '请输入关联字段标识'
       }
     },
     upload: {

+ 2 - 2
src/components/wfd/components/DetailPanel/HandleNodeDetail.vue

@@ -209,10 +209,10 @@ export default {
     return {
       variableOptions: [{
         value: 2,
-        label: '部门主管'
+        label: '创建者部门主管'
       }, {
         value: 3,
-        label: '创建者部门主管'
+        label: '创建者上级部门主管'
       }],
       roleList: []
     }

+ 2 - 2
src/components/wfd/components/DetailPanel/UserTaskDetail.vue

@@ -213,10 +213,10 @@ export default {
       // },
       variableOptions: [{
         value: 2,
-        label: '部门主管'
+        label: '创建者部门主管'
       }, {
         value: 3,
-        label: '创建者部门主管'
+        label: '创建者上级部门主管'
       }],
       roleList: []
     }

文件差異過大導致無法顯示
+ 0 - 0
web/index.html


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/css/chunk-2761117f.ff4634b9.css


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/js/app.44a4d353.js


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/js/chunk-2761117f.2b37207a.js


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/js/chunk-29fe217b.970ce73a.js


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/js/chunk-29fe217b.f19821b6.js


文件差異過大導致無法顯示
+ 0 - 0
web/static/web/js/chunk-5d47250e.9a3cadc0.js


部分文件因文件數量過多而無法顯示