|
@@ -37,7 +37,20 @@ export default {
|
|
|
methods: {
|
|
|
// 提交表单
|
|
|
submitForm () {
|
|
|
- this.dialogVisible = true
|
|
|
+ if(this.click){
|
|
|
+ this.click = false
|
|
|
+ //限制点击
|
|
|
+ setTimeout(() => {
|
|
|
+ this.click = true
|
|
|
+ }, 1000)
|
|
|
+ get('/pdf-tech/vppRTeamMemberRole/getMemberTeam?memberId='+this.$route.query.Id).then((res)=>{
|
|
|
+ if(res.data.code === 200){
|
|
|
+ if(this.formData.memberTeam !== res.data.result){
|
|
|
+ this.dialogVisible = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
// 重置表单
|
|
|
resetForm (formName) {
|
|
@@ -120,7 +133,7 @@ export default {
|
|
|
<div class="w-152px h-40px border-1 border-[#1460F3] rounded-8px text-center text-16px text-[#1460F3] font-700 leading-40px mr-16px"
|
|
|
@click="resetForm('formData')">Cancel</div>
|
|
|
</router-link>
|
|
|
- <div class="w-152px h-40px border-1 border-[#1460F3] rounded-8px bg-[#1460F3] text-center text-16px text-[#fff] font-700 leading-40px"
|
|
|
+ <div class="w-152px h-40px border-1 border-[#1460F3] rounded-8px bg-[#1460F3] text-center text-16px text-[#fff] font-700 leading-40px cursor-pointer"
|
|
|
@click="submitForm()">Save
|
|
|
</div>
|
|
|
</div>
|