|
|
@@ -1,11 +1,11 @@
|
|
|
|
|
|
<template>
|
|
|
<div>
|
|
|
- <basicLayout
|
|
|
- ref="list"
|
|
|
+ <basicLayout
|
|
|
+ ref="list"
|
|
|
formPath="contractManage"
|
|
|
- tableName="contractListTable"
|
|
|
- idName="sa_contractid"
|
|
|
+ tableName="contractListTable"
|
|
|
+ idName="sa_contractid"
|
|
|
:apiId="{query:20221121201502,del:20221121202502}"
|
|
|
:options="options"
|
|
|
:autoQuery="false"
|
|
|
@@ -169,7 +169,7 @@ export default {
|
|
|
/*const res = await this.$store.dispatch('optiontypeselect','dataarea')
|
|
|
this.areaList = res.data
|
|
|
console.log(this.areaList);*/
|
|
|
-
|
|
|
+
|
|
|
const res2 = await this.$store.dispatch('optiontypeselect','contracttype')
|
|
|
this.typeList = res2.data
|
|
|
console.log(res2.data,'项目类型')
|
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
console.log(res.data);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
async queryUserInfo() {
|
|
|
let res = await this.$api.requested({
|
|
|
@@ -202,9 +202,9 @@ export default {
|
|
|
userid: res.data.hr.userid
|
|
|
}
|
|
|
console.log(this.userInfo);
|
|
|
-
|
|
|
+
|
|
|
window.sessionStorage.setItem('userInfo',JSON.stringify(this.userInfo))
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
list (params) {
|
|
|
params.content.type = this.area
|
|
|
@@ -212,7 +212,7 @@ export default {
|
|
|
},
|
|
|
listdata(data) {
|
|
|
console.log(data);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
areaChange(){
|
|
|
this.tabIndex = this.area
|
|
|
@@ -277,4 +277,4 @@ export default {
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
|
|
|
-</style>
|
|
|
+</style>
|