Browse Source

2025-04-15

master
qiezi 9 months ago
parent
commit
d7e7c9bf36
  1. 1
      src/views/modules/common/ChooseUser.vue
  2. 1
      src/views/modules/demoComponents/orderProperties.vue

1
src/views/modules/common/ChooseUser.vue

@ -176,6 +176,7 @@ export default {
let sql = `select a.username,a.user_display userDisplay,b.site,b.bu_no as buNo from sys_user a inner join AccessBu b on a.username=b.username and b.bu_no = '${this.conSql}' inner join AccessRole c on a.username = c.username and c.role_no = '${this.roleId?this.roleId:''}' where ` let sql = `select a.username,a.user_display userDisplay,b.site,b.bu_no as buNo from sys_user a inner join AccessBu b on a.username=b.username and b.bu_no = '${this.conSql}' inner join AccessRole c on a.username = c.username and c.role_no = '${this.roleId?this.roleId:''}' where `
sql += " b.site = '" + this.site + "'" sql += " b.site = '" + this.site + "'"
sql += " c.site = '" + this.site + "'"
if (bool) { if (bool) {
sql += " and (a.username like '%" + this.param + "%' OR a.user_display like '%" + this.param + "%'" +" ) " sql += " and (a.username like '%" + this.param + "%' OR a.user_display like '%" + this.param + "%'" +" ) "
} }

1
src/views/modules/demoComponents/orderProperties.vue

@ -1,5 +1,6 @@
<template> <template>
<div> <div>
{{orderNo}}
<div style="margin-top: 5px"> <div style="margin-top: 5px">
<template v-if="isAuth('103001:tab1:save')"> <template v-if="isAuth('103001:tab1:save')">
<el-button type="primary" @click="clickSaveBtn" v-if="orderNo" :disabled="disabled">新增</el-button> <el-button type="primary" @click="clickSaveBtn" v-if="orderNo" :disabled="disabled">新增</el-button>

Loading…
Cancel
Save