fix: BUG修改
This commit is contained in:
parent
096aae7e3b
commit
5f15b41b9d
@ -25,11 +25,16 @@
|
||||
<img src="@/assets/images/tableIcon/look.png" alt="" class="configureIcon" />
|
||||
<span>查看</span>
|
||||
</el-button>
|
||||
<el-button type="primary" link @click="handleEditItem(scope.row)">
|
||||
<el-button v-auth="'enterprise_edit'" type="primary" link @click="handleEditItem(scope.row)">
|
||||
<img src="@/assets/images/tableIcon/updateIcon.png" alt="" class="configureIcon" />
|
||||
<span>编辑</span>
|
||||
</el-button>
|
||||
<el-button v-if="scope.row.state === 0" type="primary" link @click="deleteAccount(scope.row)"
|
||||
<el-button
|
||||
v-auth="'enterprise_examine'"
|
||||
v-if="scope.row.state === 0"
|
||||
type="primary"
|
||||
link
|
||||
@click="deleteAccount(scope.row)"
|
||||
><img src="@/assets/images/tableIcon/seal.png" alt="" class="configureIcon" /><span>审批</span></el-button
|
||||
>
|
||||
</div>
|
||||
|
||||
@ -18,16 +18,21 @@
|
||||
<el-button type="primary" link @click="onSee(row)"
|
||||
><img src="@/assets/images/tableIcon/look.png" alt="" class="configureIcon" /><span>查看</span></el-button
|
||||
>
|
||||
<el-button type="primary" link @click="onEdit(row)"
|
||||
<el-button v-auth="'engineering_edit'" type="primary" link @click="onEdit(row)"
|
||||
><img src="@/assets/images/tableIcon/updateIcon.png" alt="" class="configureIcon" /><span>编辑</span></el-button
|
||||
>
|
||||
<el-button type="primary" link @click="openMap(row)"
|
||||
<el-button v-auth="'engineering_edit'" type="primary" link @click="openMap(row)"
|
||||
><img src="@/assets/images/tableIcon/修正定位.png" alt="" class="configureIcon" /><span>修正定位</span></el-button
|
||||
>
|
||||
<el-button v-if="row.examineState !== 3 && row.examineState !== 2" type="primary" link @click="onApprove(row)"
|
||||
<el-button
|
||||
v-auth="'engineering_examine'"
|
||||
v-if="row.examineState !== 3 && row.examineState !== 2"
|
||||
type="primary"
|
||||
link
|
||||
@click="onApprove(row)"
|
||||
><img src="@/assets/images/tableIcon/seal.png" alt="" class="configureIcon" /><span>审批</span></el-button
|
||||
>
|
||||
<el-button v-if="row.examineState === 3" type="primary" link @click="onState(row)"
|
||||
<el-button v-auth="'engineering_edit'" v-if="row.examineState === 3" type="primary" link @click="onState(row)"
|
||||
><img src="@/assets/images/tableIcon/修改状态.png" alt="" class="configureIcon" /><span>修改状态</span></el-button
|
||||
>
|
||||
</div>
|
||||
|
||||
@ -22,11 +22,11 @@
|
||||
<img src="@/assets/images/tableIcon/look.png" alt="" class="configureIcon" />
|
||||
<span>查看</span>
|
||||
</el-button>
|
||||
<el-button type="primary" link @click="handleEditItem(row)">
|
||||
<el-button v-auth="'project_edit'" type="primary" link @click="handleEditItem(row)">
|
||||
<img src="@/assets/images/tableIcon/updateIcon.png" alt="" class="configureIcon" />
|
||||
<span>编辑</span>
|
||||
</el-button>
|
||||
<el-button v-if="row.state === 0" type="primary" link @click="deleteAccount(row)"
|
||||
<el-button v-auth="'project_examine'" v-if="row.state === 0" type="primary" link @click="deleteAccount(row)"
|
||||
><img src="@/assets/images/tableIcon/seal.png" alt="" class="configureIcon" /><span>审批</span></el-button
|
||||
>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user