From d8810007a7cb2e12141773d3953fe3b10a9aaf6d Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 18 十月 2023 13:56:18 +0800
Subject: [PATCH] 11
---
src/views/project/fund/applyDetail/index.vue | 17 +++-----
src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 44 +++++----------------
2 files changed, 18 insertions(+), 43 deletions(-)
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index f4235ad..1f25e4a 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -678,15 +678,11 @@
<el-row
style="margin-top: 25px; margin-bottom: 5px"
- v-if="operationType == 'check'"
+ v-if="operationType == 'check' && userprofile.nickName == '闄堟厱鍗�'"
>
<el-col :span="7">
<el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid">
- <el-radio-group
- v-model="form.checkstatus"
- align="left"
- :disabled="userprofile.nickName != '闄堟厱鍗�'"
- >
+ <el-radio-group v-model="form.checkstatus" align="left">
<el-radio :label="1">寰呯敵璇锋潗鏂�</el-radio>
<el-radio :label="2">鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡</el-radio>
<el-radio :label="3">宸叉敹鍒版姤閿�鏉愭枡</el-radio>
@@ -2313,13 +2309,14 @@
flowconclusion: this.checkObj.flowlevelone,
flowcontent: this.checkObj.flowconclusion
};
+ if (this.userprofile.nickName == "闄堟厱鍗�") {
+ this.Savenow();
+ console.log("淇濆瓨");
+ }
checkfund(checkFundObj).then(res => {
//鍏抽棴绐楀彛
- this.reset();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
- if (this.userprofile.nickName == "闄堟厱鍗�") {
- this.submitForm();
- }
+
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1);
});
diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
index 1e40ace..bf7c385 100644
--- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
+++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
@@ -110,23 +110,6 @@
</el-select>
</el-form-item>
</el-col>
- <el-col :span="5">
- <el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid">
- <el-select
- v-model="form.checkstatus"
- filterable
- placeholder="璇烽�夋嫨鐢宠鏉愭枡鐘舵��"
- >
- <el-option
- v-for="item in baselisttages"
- :key="item.id"
- :label="item.name"
- :value="item.id"
- >
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
</el-row>
<!--
<el-row>
@@ -914,15 +897,11 @@
</el-row>
<el-row
style="margin-top: 25px; margin-bottom: 5px"
- v-if="operationType == 'check'"
+ v-if="operationType == 'check' && userprofile.nickName == '闄堟厱鍗�'"
>
- <el-col :span="7">
+ <el-col :span="12">
<el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid">
- <el-radio-group
- v-model="form.checkstatus"
- align="left"
- :disabled="userprofile.nickName != '闄堟厱鍗�'"
- >
+ <el-radio-group v-model="form.checkstatus" align="left">
<el-radio label="1">寰呯敵璇锋潗鏂�</el-radio>
<el-radio label="2">鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡</el-radio>
<el-radio label="3">宸叉敹鍒版姤閿�鏉愭枡</el-radio>
@@ -2375,17 +2354,16 @@
this.$modal.msgError("璇烽�夋嫨瀹℃牳缁撹鍚庡啀鎻愪氦瀹℃壒缁撴灉!");
return;
}
-
- checkfund(checkfundobj).then(res => {
- this.reset();
- this.open = false;
- this.$modal.msgSuccess("鎻愪氦瀹℃牳鎴愬姛!");
- if (this.userprofile.nickName == "闄堟厱鍗�") {
- this.submitForm();
+ if (this.userprofile.nickName == "闄堟厱鍗�") {
+ this.Savenow();
+ console.log("淇濆瓨");
}
+ checkfund(checkfundobj).then(res => {
+ this.$modal.msgSuccess("鎻愪氦瀹℃牳鎴愬姛!");
// 鍏抽棴绐楀彛
- this.$store.dispatch("tagsView/delView", this.$route);
- this.$router.go(-1);
+ this.$store.dispatch("tagsView/delView", this.$route);
+ this.$router.go(-1);
+
});
},
--
Gitblit v1.9.3