Commit bd5e6870 by 西瓜

新型黑恶,, 操作栏修改

parent 74d608c2
...@@ -1347,8 +1347,8 @@ export default { ...@@ -1347,8 +1347,8 @@ export default {
} }
confirmtitle = '是否通过审批?' confirmtitle = '是否通过审批?'
confirmButtonText = '通过' confirmButtonText = '通过'
if ( sftg == 0 && this.ruleForm.shyj == '' ) { if (sftg == 0 && this.ruleForm.shyj == '') {
return this.$alert('请填写审批意见!', '提示' , { return this.$alert('请填写审批意见!', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
type: 'warning', type: 'warning',
callback: () => { callback: () => {
...@@ -1356,11 +1356,11 @@ export default { ...@@ -1356,11 +1356,11 @@ export default {
} }
}) })
} }
if (sftg == 0 ) { if (sftg == 0) {
confirmtitle = '是否退回审批?' confirmtitle = '是否退回审批?'
confirmButtonText = '退回' confirmButtonText = '退回'
} }
if (sftg == 0 ) { if (sftg == 0) {
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
if (valid) { if (valid) {
this.$confirm(confirmtitle, '审批', { this.$confirm(confirmtitle, '审批', {
...@@ -1378,12 +1378,12 @@ export default { ...@@ -1378,12 +1378,12 @@ export default {
}).then(res => { }).then(res => {
debugger debugger
if (res.code == '200') { if (res.code == '200') {
// this.$message.success("审批成功");
this.$alert('审批成功!', '提示', { this.$alert('审批成功!', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
type: 'success', type: 'success',
callback: action => { callback: action => {
this.$router.push('/caseQuery') // window.opener.location.reload()
window.close()
this.loading = false this.loading = false
} }
}) })
...@@ -1423,13 +1423,12 @@ export default { ...@@ -1423,13 +1423,12 @@ export default {
}).then(res => { }).then(res => {
debugger debugger
if (res.code == '200') { if (res.code == '200') {
// this.$message.success('审批成功')
// this.$router.push('/caseQuery')
this.$alert('审批成功!', '提示', { this.$alert('审批成功!', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
type: 'success', type: 'success',
callback: action => { callback: action => {
this.$router.push('/caseQuery') // window.opener.location.reload()
window.close()
} }
}) })
} }
......
...@@ -1277,7 +1277,7 @@ ...@@ -1277,7 +1277,7 @@
class="edit" class="edit"
style="cursor: pointer" style="cursor: pointer"
@click="turnToEdit(scope.row)" @click="turnToEdit(scope.row)"
v-if="!querytldSh && scope.row.sfkxgPdbz == 1 && !querywhSh" v-if="!querytldSh && !querywhSh && scope.row.sfkxgPdbz"
> >
<!-- <i class="el-icon-edit-outline"></i> --> <!-- <i class="el-icon-edit-outline"></i> -->
<i class="el-icon-edit-outline"></i> 修改 <i class="el-icon-edit-outline"></i> 修改
...@@ -1291,15 +1291,14 @@ ...@@ -1291,15 +1291,14 @@
<!-- <i class="el-icon-edit-outline"></i> --> <!-- <i class="el-icon-edit-outline"></i> -->
<i class="el-icon-delete"></i> 删除 <i class="el-icon-delete"></i> 删除
</div> </div>
<div <!-- <div
class="edit" class="edit"
style="cursor: pointer" style="cursor: pointer"
@click="turnToEdit(scope.row)" @click="turnToEdit(scope.row)"
v-if="!querytldSh && scope.row.sfkxzPdbz == 1 && !querywhSh" v-if="!querytldSh && scope.row.sfkxzPdbz == 1 && !querywhSh"
> >
<!-- <i class="el-icon-edit-outline"></i> -->
<i class="el-icon-edit-outline"></i> 发起协作 <i class="el-icon-edit-outline"></i> 发起协作
</div> </div> -->
<div <div
class="edit" class="edit"
style="cursor: pointer" style="cursor: pointer"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment