移动端集中修改dict字典展示
This commit is contained in:
1 parent
4b9dbe40fb
commit
8bbe4e6a35
16 files changed
+1684
-134
No files matched your search
@@ -80,12 +80,17 @@
|
||||
)"
|
||||
:key="nameIndex"
|
||||
:text="name.trim()"
|
||||
type="success"
|
||||
:type="getApproverType()"
|
||||
size="mini"
|
||||
class="approver-tag"
|
||||
/>
|
||||
</template>
|
||||
<u-tag v-else text="无" type="info" size="mini" />
|
||||
<u-tag
|
||||
v-else
|
||||
text="无"
|
||||
:type="getNoApproverType()"
|
||||
size="mini"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -458,6 +463,16 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
// 获取审批人员标签类型
|
||||
getApproverType() {
|
||||
return 'success'; // 审批人员使用成功样式
|
||||
},
|
||||
|
||||
// 获取无审批人员标签类型
|
||||
getNoApproverType() {
|
||||
return 'info'; // 无审批人员使用信息样式
|
||||
},
|
||||
|
||||
// 注:getDownloadUrl方法已被移除,现在统一使用request.js中的downloadFile方法
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user