This commit is contained in:
xd 2024-05-22 15:09:36 +08:00
parent ae05a9b055
commit fc68bc000e
5 changed files with 28 additions and 18 deletions

View File

@ -126,6 +126,25 @@
</dependencies> </dependencies>
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
<targetPath>BOOT-INF</targetPath>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/META-INF</directory>
<includes>
<include>spring.factories</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -133,7 +152,9 @@
<version>2.5.15</version> <version>2.5.15</version>
<configuration> <configuration>
<fork>true</fork> <!-- 如果没有该配置devtools不会生效 --> <fork>true</fork> <!-- 如果没有该配置devtools不会生效 -->
<!--
<includeSystemScope>true</includeSystemScope> <includeSystemScope>true</includeSystemScope>
-->
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -124,6 +124,9 @@
}, },
// //
cancel() { cancel() {
this.customerList = [];
this.total = 0;
this.resetForm("queryForm");
this.$emit('cancel'); this.$emit('cancel');
}, },
// //

View File

@ -42,7 +42,6 @@
:key="dict.value" :key="dict.value"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
v-if="(!cusApprovalStatusHidden && (dict.value == '1' || dict.value == '2')) || cusApprovalStatusHidden "
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -607,8 +606,6 @@ export default {
dicts: ['cus_currency','cus_group','cus_approval_status', 'cus_type', 'common_state'], dicts: ['cus_currency','cus_group','cus_approval_status', 'cus_type', 'common_state'],
data() { data() {
return { return {
//
cusApprovalStatusHidden: true,
// //
activeName: 'customerInfo', activeName: 'customerInfo',
@ -773,8 +770,7 @@ export default {
}, },
created() { created() {
const roles = this.$store.state.user.roles; const roles = this.$store.state.user.roles;
if(roles && roles.indexOf('ITZX_SJZ') !== -1 && roles.indexOf('admin') == -1 ){// if(roles && roles.indexOf('ITZX_SJZ') !== -1 ){//
this.cusApprovalStatusHidden = false;
this.queryParams.cusApprovalStatus = '1'; this.queryParams.cusApprovalStatus = '1';
} }
this.getList(); this.getList();

View File

@ -32,7 +32,6 @@
:key="dict.value" :key="dict.value"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
v-if="!quotApprovalStatusHidden && (dict.value == '1' || dict.value == '2') "
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -790,8 +789,6 @@ export default {
dicts: ['quot_approval_status','quot_jsxz_group','quot_jsxz_chapter','quot_jsxz_approval_status','quot_jsxz_standard','quot_hj_approval_status'], dicts: ['quot_approval_status','quot_jsxz_group','quot_jsxz_chapter','quot_jsxz_approval_status','quot_jsxz_standard','quot_hj_approval_status'],
data() { data() {
return { return {
//
quotApprovalStatusHidden: true,
// //
activeName: 'quotInfo', activeName: 'quotInfo',
@ -898,9 +895,8 @@ export default {
}, },
created() { created() {
const roles = this.$store.state.user.roles; const roles = this.$store.state.user.roles;
if(roles && roles.indexOf('QUOT') !== -1 && roles.indexOf('admin') == -1 ){// if(roles && roles.indexOf('QUOT') !== -1 ){//
this.quotApprovalStatusHidden = false; this.queryParams.quotApprovalStatus = '1';
this.queryParams.quotApprovalStatus = '1';
} }
this.getList(); this.getList();
}, },

View File

@ -27,7 +27,6 @@
:key="dict.value" :key="dict.value"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
v-if="!quotApprovalStatusHidden && (dict.value == '1' || dict.value == '2') "
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -176,9 +175,6 @@
dicts:['rb_quot_approval_status'], dicts:['rb_quot_approval_status'],
data() { data() {
return { return {
//
quotApprovalStatusHidden: true,
// //
loading: true, loading: true,
// //
@ -229,11 +225,9 @@
}, },
created() { created() {
const roles = this.$store.state.user.roles; const roles = this.$store.state.user.roles;
if(roles && roles.indexOf('QUOT') !== -1 && roles.indexOf('admin') == -1 ){// if(roles && roles.indexOf('QUOT') !== -1 ){//
this.quotApprovalStatusHidden = false;
this.queryParams.quotApprovalStatus = '1'; this.queryParams.quotApprovalStatus = '1';
} }
this.getList(); this.getList();
this.getVersionList(); this.getVersionList();
}, },