rpj增加已关闭选项/人员高度不固定
This commit is contained in:
parent
8ee216165d
commit
1e1f79b99c
|
@ -7,8 +7,8 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
|
|||
# 接口地址
|
||||
#VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
|
||||
#VUE_APP_WS_API = 'ws://localhost:8000'
|
||||
#VUE_APP_API_BASEURL = http://222.222.144.147:6013/api
|
||||
VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
|
||||
VUE_APP_API_BASEURL = http://222.222.144.147:6013/api
|
||||
#VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
|
||||
#VUE_APP_BASEURL = http://127.0.0.1:8000
|
||||
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
<el-select
|
||||
v-model="form.vchannels"
|
||||
:multiple = "true"
|
||||
filterable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in vchannelOptions"
|
||||
|
|
|
@ -23,22 +23,15 @@
|
|||
</div>
|
||||
</el-header>
|
||||
<el-main class="nopadding">
|
||||
<scTable
|
||||
ref="table"
|
||||
:apiObj="apiObj"
|
||||
row-key="id"
|
||||
|
||||
stripe
|
||||
|
||||
>
|
||||
<scTable ref="table" :apiObj="apiObj" row-key="id" stripe>
|
||||
<el-table-column label="#" type="index" width="50"></el-table-column>
|
||||
<el-table-column label="单位" prop="rparty_name" ></el-table-column>
|
||||
<el-table-column label="姓名" prop="name" ></el-table-column>
|
||||
<el-table-column label="手机号" prop="phone" ></el-table-column>
|
||||
<el-table-column label="身份证号" prop="id_number" ></el-table-column>
|
||||
<el-table-column label="证件照" prop="photo" >
|
||||
<el-table-column label="单位" prop="rparty_name"></el-table-column>
|
||||
<el-table-column label="姓名" prop="name"></el-table-column>
|
||||
<el-table-column label="手机号" prop="phone"></el-table-column>
|
||||
<el-table-column label="身份证号" prop="id_number"></el-table-column>
|
||||
<el-table-column label="证件照" prop="photo">
|
||||
<template #default="scope">
|
||||
<el-avatar :size="50" :src="scope.row.photo" shape="square"/>
|
||||
<el-avatar :size="50" :src="scope.row.photo" shape="square" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="left" width="170">
|
||||
|
@ -91,8 +84,8 @@ export default {
|
|||
save: false,
|
||||
permission: false,
|
||||
},
|
||||
adminform:{
|
||||
username:"",
|
||||
adminform: {
|
||||
username: "",
|
||||
},
|
||||
apiObj: this.$API.rpm.remployee.list,
|
||||
query: {},
|
||||
|
@ -100,8 +93,6 @@ export default {
|
|||
search: {
|
||||
keyword: null,
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
@ -136,12 +127,11 @@ export default {
|
|||
},
|
||||
//删除
|
||||
async table_del(row) {
|
||||
|
||||
this.$API.rpm.remployee.delete
|
||||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
.catch((err) => {
|
||||
|
@ -158,7 +148,7 @@ export default {
|
|||
}
|
||||
},
|
||||
handleQuery() {
|
||||
this.$refs.table.queryData(this.query)
|
||||
this.$refs.table.queryData(this.query);
|
||||
},
|
||||
resetQuery() {
|
||||
this.query = {};
|
||||
|
|
|
@ -271,6 +271,7 @@ export default {
|
|||
30: "待入厂",
|
||||
40: "进行中",
|
||||
50: "已完成",
|
||||
60: "已关闭"
|
||||
},
|
||||
act_states: {
|
||||
0: "草稿中",
|
||||
|
@ -334,7 +335,7 @@ export default {
|
|||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
stripe
|
||||
hideDo
|
||||
hidePagination
|
||||
style="height:200px"
|
||||
>
|
||||
<el-table-column label="#" fixed="left" type="index" width="50"></el-table-column>
|
||||
<el-table-column label="姓名" prop="remployee_.name">
|
||||
|
|
Loading…
Reference in New Issue