|
@@ -6,29 +6,29 @@
|
|
|
<div class="flex flex-col mr-10">
|
|
<div class="flex flex-col mr-10">
|
|
|
<el-form-item class="full-width" label="项目名称">
|
|
<el-form-item class="full-width" label="项目名称">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="form.projectName"
|
|
|
|
|
- placeholder="输入项目关键字"
|
|
|
|
|
- prefix-icon="Search"
|
|
|
|
|
|
|
+ v-model="form.projectName"
|
|
|
|
|
+ placeholder="输入项目关键字"
|
|
|
|
|
+ prefix-icon="Search"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<div class="flex flex-center">
|
|
<div class="flex flex-center">
|
|
|
<el-form-item class="full-width" label="是否开工">
|
|
<el-form-item class="full-width" label="是否开工">
|
|
|
<el-select v-model="form.isStart" style="width: 100%">
|
|
<el-select v-model="form.isStart" style="width: 100%">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in start"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.label"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in start"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="full-width" label="是否入库">
|
|
<el-form-item class="full-width" label="是否入库">
|
|
|
<el-select v-model="form.isStorage" style="width: 100%">
|
|
<el-select v-model="form.isStorage" style="width: 100%">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in storage"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.label"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in storage"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -38,28 +38,22 @@
|
|
|
<div class="flex flex-col ml-10">
|
|
<div class="flex flex-col ml-10">
|
|
|
<div class="flex flex-center">
|
|
<div class="flex flex-center">
|
|
|
<el-form-item class="full-width" label="省重点">
|
|
<el-form-item class="full-width" label="省重点">
|
|
|
- <el-select
|
|
|
|
|
- v-model="form.isImportant"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-select v-model="form.isImportant" style="width: 100%">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in isimport"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.label"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in isimport"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="full-width" label="省集中开工">
|
|
<el-form-item class="full-width" label="省集中开工">
|
|
|
- <el-select
|
|
|
|
|
- v-model="form.isFocusStart"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-select v-model="form.isFocusStart" style="width: 100%">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in isfocus"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.label"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in isfocus"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -67,28 +61,25 @@
|
|
|
<div class="flex flex-center flex-justify-between">
|
|
<div class="flex flex-center flex-justify-between">
|
|
|
<el-form-item class="full-width" label="总投资额">
|
|
<el-form-item class="full-width" label="总投资额">
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="form.amount"
|
|
|
|
|
- @change="changeAmount"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
|
|
+ v-model="form.amount"
|
|
|
|
|
+ @change="changeAmount"
|
|
|
|
|
+ style="width: 100%"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in totalAmount"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.name"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in totalAmount"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.name"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="full-width" label="行业分类">
|
|
<el-form-item class="full-width" label="行业分类">
|
|
|
- <el-select
|
|
|
|
|
- v-model="form.dictKey"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-select v-model="form.dictKey" style="width: 100%">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in industryList"
|
|
|
|
|
- :key="item.dictKey"
|
|
|
|
|
- :label="item.dictValue"
|
|
|
|
|
- :value="item.dictKey"
|
|
|
|
|
|
|
+ v-for="item in industryList"
|
|
|
|
|
+ :key="item.dictKey"
|
|
|
|
|
+ :label="item.dictValue"
|
|
|
|
|
+ :value="item.dictKey"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -99,54 +90,54 @@
|
|
|
<div class="flex-child-average flex flex-center">
|
|
<div class="flex-child-average flex flex-center">
|
|
|
<el-form-item class="full-width" label="项目状态">
|
|
<el-form-item class="full-width" label="项目状态">
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="form.reportType"
|
|
|
|
|
- style="width: 98%; margin: 0; padding: 0"
|
|
|
|
|
|
|
+ v-model="form.reportType"
|
|
|
|
|
+ style="width: 98%; margin: 0; padding: 0"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in reportTypes"
|
|
|
|
|
- :key="item.value"
|
|
|
|
|
- :label="item.label"
|
|
|
|
|
- :value="item.value"
|
|
|
|
|
|
|
+ v-for="item in reportTypes"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|
|
|
- class="flex-child-average flex flex-align-center flex-justify-end"
|
|
|
|
|
- style="margin-bottom: 18px"
|
|
|
|
|
|
|
+ class="flex-child-average flex flex-align-center flex-justify-end"
|
|
|
|
|
+ style="margin-bottom: 18px"
|
|
|
>
|
|
>
|
|
|
<base-button
|
|
<base-button
|
|
|
- class="pointer"
|
|
|
|
|
- icon="Delete"
|
|
|
|
|
- title="清空"
|
|
|
|
|
- type="0"
|
|
|
|
|
- :width="130"
|
|
|
|
|
- @click="clear"
|
|
|
|
|
|
|
+ class="pointer"
|
|
|
|
|
+ icon="Delete"
|
|
|
|
|
+ title="清空"
|
|
|
|
|
+ type="0"
|
|
|
|
|
+ :width="130"
|
|
|
|
|
+ @click="clear"
|
|
|
/>
|
|
/>
|
|
|
- <base-button class="pointer" width="130" @click="sure"/>
|
|
|
|
|
|
|
+ <base-button class="pointer" width="130" @click="sure" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<!----机构选择----->
|
|
<!----机构选择----->
|
|
|
<el-dialog
|
|
<el-dialog
|
|
|
- v-model="showOrg"
|
|
|
|
|
- append-to-body
|
|
|
|
|
- center
|
|
|
|
|
- title="机构选择"
|
|
|
|
|
- width="45%"
|
|
|
|
|
|
|
+ v-model="showOrg"
|
|
|
|
|
+ append-to-body
|
|
|
|
|
+ center
|
|
|
|
|
+ title="机构选择"
|
|
|
|
|
+ width="45%"
|
|
|
>
|
|
>
|
|
|
<div class="flex flex-col">
|
|
<div class="flex flex-col">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="keyWords"
|
|
|
|
|
- placeholder="机构快速搜索"
|
|
|
|
|
- prefix-icon="Search"
|
|
|
|
|
- @blur="change"
|
|
|
|
|
|
|
+ v-model="keyWords"
|
|
|
|
|
+ placeholder="机构快速搜索"
|
|
|
|
|
+ prefix-icon="Search"
|
|
|
|
|
+ @blur="change"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
- <el-divider/>
|
|
|
|
|
|
|
+ <el-divider />
|
|
|
<div
|
|
<div
|
|
|
- class="hide-scrollbar full-width"
|
|
|
|
|
- style="height: 40vh; overflow-x: scroll"
|
|
|
|
|
|
|
+ class="hide-scrollbar full-width"
|
|
|
|
|
+ style="height: 40vh; overflow-x: scroll"
|
|
|
>
|
|
>
|
|
|
<!-- <div v-if='attaches.length === 0' class='full-width flex flex-center '>-->
|
|
<!-- <div v-if='attaches.length === 0' class='full-width flex flex-center '>-->
|
|
|
<!-- <el-empty image-size='100'/>-->
|
|
<!-- <el-empty image-size='100'/>-->
|
|
@@ -155,20 +146,20 @@
|
|
|
<span class="bold font-15 grey ml-5">部门</span>
|
|
<span class="bold font-15 grey ml-5">部门</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|
|
|
- class="grid radius mt-15 padding"
|
|
|
|
|
- style="border: 1px solid #dddfe6"
|
|
|
|
|
|
|
+ class="grid radius mt-15 padding"
|
|
|
|
|
+ style="border: 1px solid #dddfe6"
|
|
|
>
|
|
>
|
|
|
<div
|
|
<div
|
|
|
- v-for="(item, index) in deptList"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- class="flex flex-center pointer padding"
|
|
|
|
|
- :class="item.search ? 'org-search' : item.checked ? 'org-s' : 'org'"
|
|
|
|
|
- @click="changeChecked(index)"
|
|
|
|
|
|
|
+ v-for="(item, index) in deptList"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ class="flex flex-center pointer padding"
|
|
|
|
|
+ :class="item.search ? 'org-search' : item.checked ? 'org-s' : 'org'"
|
|
|
|
|
+ @click="changeChecked(index)"
|
|
|
>
|
|
>
|
|
|
<div :class="item.checked ? 'dot-checked' : 'dot'"></div>
|
|
<div :class="item.checked ? 'dot-checked' : 'dot'"></div>
|
|
|
<div
|
|
<div
|
|
|
- class="ml-5 full-width"
|
|
|
|
|
- :class="item.checked || item.search ? 'white' : ''"
|
|
|
|
|
|
|
+ class="ml-5 full-width"
|
|
|
|
|
+ :class="item.checked || item.search ? 'white' : ''"
|
|
|
>
|
|
>
|
|
|
{{ item.deptName }}
|
|
{{ item.deptName }}
|
|
|
</div>
|
|
</div>
|
|
@@ -176,12 +167,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="flex flex-center mt-20 mb-5">
|
|
<div class="flex flex-center mt-20 mb-5">
|
|
|
- <base-button title="重置" type="0" icon="Refresh" @click="orgRefresh"/>
|
|
|
|
|
|
|
+ <base-button title="重置" type="0" icon="Refresh" @click="orgRefresh" />
|
|
|
<base-button
|
|
<base-button
|
|
|
- class="ml-20"
|
|
|
|
|
- title="确定"
|
|
|
|
|
- icon="Check"
|
|
|
|
|
- @click="orgCheck"
|
|
|
|
|
|
|
+ class="ml-20"
|
|
|
|
|
+ title="确定"
|
|
|
|
|
+ icon="Check"
|
|
|
|
|
+ @click="orgCheck"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -190,12 +181,12 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import baseButton from '../../../components/base-button.vue'
|
|
import baseButton from '../../../components/base-button.vue'
|
|
|
-import {useStore} from '@/store/user.js'
|
|
|
|
|
|
|
+import { useStore } from '@/store/user.js'
|
|
|
import confing from '@/config/website'
|
|
import confing from '@/config/website'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'owner_serach',
|
|
name: 'owner_serach',
|
|
|
- components: {baseButton},
|
|
|
|
|
|
|
+ components: { baseButton },
|
|
|
watch: {
|
|
watch: {
|
|
|
keyWords: {
|
|
keyWords: {
|
|
|
handler(val) {
|
|
handler(val) {
|
|
@@ -208,7 +199,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
setup() {
|
|
setup() {
|
|
|
const user = useStore()
|
|
const user = useStore()
|
|
|
- return {user}
|
|
|
|
|
|
|
+ return { user }
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -224,7 +215,7 @@ export default {
|
|
|
isFocusStart: '', // 是否集中开工
|
|
isFocusStart: '', // 是否集中开工
|
|
|
type: true,
|
|
type: true,
|
|
|
reportType: '',
|
|
reportType: '',
|
|
|
- dictKey: '',
|
|
|
|
|
|
|
+ dictKey: ''
|
|
|
},
|
|
},
|
|
|
totalAmount: [
|
|
totalAmount: [
|
|
|
{
|
|
{
|
|
@@ -297,11 +288,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
getDic() {
|
|
getDic() {
|
|
|
- this.$api.common.dicList({code: 'industry-classification'}).then(res => {
|
|
|
|
|
- if (res.code === 200) {
|
|
|
|
|
- this.industryList = res.data
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.$api.common
|
|
|
|
|
+ .dicList({ code: 'industry-classification' })
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
|
+ this.industryList = res.data
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
getTypeList() {
|
|
getTypeList() {
|
|
@@ -319,7 +312,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
if (this.form.isStart === 0) {
|
|
if (this.form.isStart === 0) {
|
|
|
this.form.planCommencementTime =
|
|
this.form.planCommencementTime =
|
|
|
- this.time1 === null ? '' : this.time1.join(',')
|
|
|
|
|
|
|
+ this.time1 === null ? '' : this.time1.join(',')
|
|
|
this.form.startTime = ''
|
|
this.form.startTime = ''
|
|
|
} else if (this.form.isStart === 1 && this.time1 !== null) {
|
|
} else if (this.form.isStart === 1 && this.time1 !== null) {
|
|
|
this.form.planCommencementTime = ''
|
|
this.form.planCommencementTime = ''
|
|
@@ -331,7 +324,7 @@ export default {
|
|
|
|
|
|
|
|
if (this.form.isStorage === 0) {
|
|
if (this.form.isStorage === 0) {
|
|
|
this.form.planStorageTime =
|
|
this.form.planStorageTime =
|
|
|
- this.time2 === null ? '' : this.time2.join(',')
|
|
|
|
|
|
|
+ this.time2 === null ? '' : this.time2.join(',')
|
|
|
this.form.storageTime = ''
|
|
this.form.storageTime = ''
|
|
|
} else if (this.form.isStorage === 1 && this.time2 !== null) {
|
|
} else if (this.form.isStorage === 1 && this.time2 !== null) {
|
|
|
this.form.planStorageTime = ''
|
|
this.form.planStorageTime = ''
|
|
@@ -416,8 +409,8 @@ export default {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
const tmp = this.deptList
|
|
const tmp = this.deptList
|
|
|
- .filter(sub => sub.deptName.indexOf(this.keyWords) > -1)
|
|
|
|
|
- .map(sub => sub.id)
|
|
|
|
|
|
|
+ .filter(sub => sub.deptName.indexOf(this.keyWords) > -1)
|
|
|
|
|
+ .map(sub => sub.id)
|
|
|
tmp.forEach(sub => {
|
|
tmp.forEach(sub => {
|
|
|
const index = this.deptList.findIndex(ele => ele.id === sub)
|
|
const index = this.deptList.findIndex(ele => ele.id === sub)
|
|
|
this.deptList[index].search = true
|
|
this.deptList[index].search = true
|