parent
6d73e0a063
commit
727582c07c
|
|
@ -152,12 +152,10 @@
|
||||||
<el-button v-else-if="data?.status == 3" type="primary" @click="doApprovalFn()">撤审</el-button>
|
<el-button v-else-if="data?.status == 3" type="primary" @click="doApprovalFn()">撤审</el-button>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<el-button
|
<el-button v-if="data?.status == 2 && form.deleted && Session.get('userInfoLocal').userType == '01'"
|
||||||
v-if="data?.status == 2 && !form.deleted && Session.get('userInfoLocal').userType == '01'"
|
|
||||||
type="primary" style="margin-right: 30px;margin-bottom: 20px;"
|
type="primary" style="margin-right: 30px;margin-bottom: 20px;"
|
||||||
@click="doNewsPublishFn(data, 1)">撤稿</el-button>
|
@click="doNewsPublishFn(data, 1)">撤稿</el-button>
|
||||||
|
|
||||||
|
|
||||||
<el-button type="primary" @click="doNewCheckFn(data)"
|
<el-button type="primary" @click="doNewCheckFn(data)"
|
||||||
v-if="data?.status != 2 && !form.deleted && Session.get('userInfoLocal').userType == '02'">复审</el-button>
|
v-if="data?.status != 2 && !form.deleted && Session.get('userInfoLocal').userType == '02'">复审</el-button>
|
||||||
|
|
||||||
|
|
@ -386,6 +384,10 @@ watch(
|
||||||
|
|
||||||
// 退改
|
// 退改
|
||||||
async function doNewReturnFn(item) {
|
async function doNewReturnFn(item) {
|
||||||
|
// 先保存
|
||||||
|
await submit(1, false)
|
||||||
|
|
||||||
|
|
||||||
let { code, data } = await doNewReturn({
|
let { code, data } = await doNewReturn({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
});
|
});
|
||||||
|
|
@ -396,6 +398,10 @@ async function doNewReturnFn(item) {
|
||||||
}
|
}
|
||||||
// 复审
|
// 复审
|
||||||
async function doNewCheckFn(item) {
|
async function doNewCheckFn(item) {
|
||||||
|
// 先保存
|
||||||
|
await submit(1, false)
|
||||||
|
|
||||||
|
|
||||||
let { code, data } = await doNewCheck({
|
let { code, data } = await doNewCheck({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
});
|
});
|
||||||
|
|
@ -689,6 +695,8 @@ async function doApprovalFn() {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
// 先保存
|
||||||
|
await submit(1, false)
|
||||||
|
|
||||||
let { code } = props.data.status == 3 || props.data.status == 4 ? await doNewRevoke({
|
let { code } = props.data.status == 3 || props.data.status == 4 ? await doNewRevoke({
|
||||||
id: props.data.id,
|
id: props.data.id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue