|
@@ -6,7 +6,7 @@
|
|
<el-col :span="24" class="top" v-if="user.type === '3'"><el-button type="primary" size="mini" @click="add">添加</el-button></el-col>
|
|
<el-col :span="24" class="top" v-if="user.type === '3'"><el-button type="primary" size="mini" @click="add">添加</el-button></el-col>
|
|
<template>
|
|
<template>
|
|
<el-table :data="tableData" border style="width: 100%">
|
|
<el-table :data="tableData" border style="width: 100%">
|
|
- <el-table-column prop="name" label="需求技术名称" align="center" :show-overflow-tooltip="true" width="180px"> </el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="name" label="需求技术名称" align="center" show-overflow-tooltip> </el-table-column>
|
|
<el-table-column prop="uname" label="发布人" align="center"> </el-table-column>
|
|
<el-table-column prop="uname" label="发布人" align="center"> </el-table-column>
|
|
<el-table-column prop="address" label="状态" align="center">
|
|
<el-table-column prop="address" label="状态" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -105,8 +105,8 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button v-if="user.type === '3'" type="primary" @click="onSubmit()">提交</el-button>
|
|
<el-button v-if="user.type === '3'" type="primary" @click="onSubmit()">提交</el-button>
|
|
- <el-button v-if="user.type === '0' || user.type === '1'" type="success" @click="refer(form.id, { status: '2' })">审核通过</el-button>
|
|
|
|
- <el-button v-if="user.type === '0' || user.type === '1'" type="warning" @click="refer(form.id, { status: '3' })">审核拒绝</el-button>
|
|
|
|
|
|
+ <el-button v-if="user.type === '0' || user.type === '1'" type="success" @click="refer(scope.row.id, { status: '2' })">审核通过</el-button>
|
|
|
|
+ <el-button v-if="user.type === '0' || user.type === '1'" type="warning" @click="refer(scope.row.id, { status: '3' })">审核拒绝</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -187,7 +187,6 @@ export default {
|
|
type: 'success',
|
|
type: 'success',
|
|
});
|
|
});
|
|
this.search();
|
|
this.search();
|
|
- this.display = true;
|
|
|
|
} else {
|
|
} else {
|
|
this.$message.error('信息修改失败');
|
|
this.$message.error('信息修改失败');
|
|
}
|
|
}
|
|
@@ -198,6 +197,7 @@ export default {
|
|
},
|
|
},
|
|
// 返回
|
|
// 返回
|
|
back() {
|
|
back() {
|
|
|
|
+ console.log(this.display);
|
|
this.display = true;
|
|
this.display = true;
|
|
},
|
|
},
|
|
async onSubmit() {
|
|
async onSubmit() {
|