|
|
@@ -56,7 +56,7 @@ |
|
|
|
<el-button type="warning" @click="agree(scope.row)">同意</el-button> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip content="请输入对公账号" placement="top" v-if="scope.row.status == null"> |
|
|
|
<el-button type="warning" @click="opendialo">请输入对公账号</el-button> |
|
|
|
<el-button type="warning" @click="opendialo(scope.row)">请输入对公账号</el-button> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip :content="filterType(scope.row.status)" placement="top" v-if="scope.row.status != null"> |
|
|
|
<el-button type="primary" @click="opendialo" disabled>{{filterType(scope.row.status)}}</el-button> |
|
|
@@ -223,7 +223,7 @@ const tableData = ref([ |
|
|
|
snippet: 'PPFAKYCKG', |
|
|
|
staffId: 'MQWJVIMRO', |
|
|
|
staffName: 'JQLOMWANP', |
|
|
|
status: 1, |
|
|
|
status: null, |
|
|
|
transTime: 'MYHFJBLCP', |
|
|
|
updateTime: '1982/10/14 13:50:50', |
|
|
|
useage: 'OYQYKVWPG' |
|
|
@@ -270,6 +270,7 @@ const agree = (row) => { |
|
|
|
} |
|
|
|
//驳回申请 |
|
|
|
const опровергать = (row) => { |
|
|
|
console.log(row,row.id) |
|
|
|
dialogFormVisible.value = false; |
|
|
|
form.data_id = row.id |
|
|
|
ElMessageBox.confirm('确定驳回这个申请?', '警告', { |
|
|
@@ -289,9 +290,9 @@ const опровергать = (row) => { |
|
|
|
} |
|
|
|
//驳回申请原因 |
|
|
|
const getMsg = () => { |
|
|
|
proxy.$request.post('reason', { |
|
|
|
proxy.$request.post('/advancepayment/confirm', { |
|
|
|
id: form.data_id, |
|
|
|
reason: form.data_msg, |
|
|
|
message: form.data_msg, |
|
|
|
value: 1 |
|
|
|
}, { |
|
|
|
//baseURL: 'http://localhost:8089', |
|
|
@@ -368,9 +369,9 @@ const account = () => { |
|
|
|
//baseURL: 'http://localhost:8089' |
|
|
|
} |
|
|
|
console.log(data) |
|
|
|
return |
|
|
|
|
|
|
|
proxy.$request.post('/advancepayment/account', data,{}).then((res) => { |
|
|
|
|
|
|
|
if(form.phone != ''){ |
|
|
|
proxy.$request.post('/advancepayment/account', data,{}).then((res) => { |
|
|
|
console.log(res, form.data_id, form.value) |
|
|
|
if (res.data.success) { |
|
|
|
dialogFormVisible.value = false; |
|
|
@@ -380,6 +381,14 @@ const account = () => { |
|
|
|
.catch((err) => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
ElMessage({ |
|
|
|
message: '请填入对公账号!', |
|
|
|
type: 'warning', |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
//打开填写对公账户的弹窗 |
|
|
|
const opendialo = (row) => { |
|
|
@@ -393,8 +402,10 @@ const filterType = (type: Number) => { |
|
|
|
return '审核通过' |
|
|
|
} else if (type == 2) { |
|
|
|
return '已驳回' |
|
|
|
} else { |
|
|
|
} else if(type == null){ |
|
|
|
return '未审核' |
|
|
|
} else{ |
|
|
|
return '请联系管理员' |
|
|
|
} |
|
|
|
} |
|
|
|
|