diff --git a/src/assets/less/common.less b/src/assets/less/common.less
index 3ea9263..28a7285 100644
--- a/src/assets/less/common.less
+++ b/src/assets/less/common.less
@@ -69,3 +69,29 @@
color: #069f99;
cursor: pointer;
}
+
+// 标题及标题前的圆点
+.part-title {
+ padding: 10px 0;
+ font-size: 16px;
+ font-family: PingFang SC, PingFang SC-Bold;
+ font-weight: 700;
+ text-align: left;
+ color: #333333;
+ position: relative;
+
+ &-text {
+ padding-left: 20px;
+ }
+
+ &-text::before {
+ position: absolute;
+ content: "";
+ left: 0;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 10px;
+ height: 10px;
+ background: #069f99;
+ }
+}
diff --git a/src/components/layouts/PageHeaderTitle.vue b/src/components/layouts/PageHeaderTitle.vue
index 906b181..125ce38 100644
--- a/src/components/layouts/PageHeaderTitle.vue
+++ b/src/components/layouts/PageHeaderTitle.vue
@@ -8,6 +8,7 @@
+
@@ -60,6 +61,7 @@ export default {
&-icon {
height: 20px;
max-width: 30px;
+ margin-right: 10px;
}
&-icon-back {
@@ -67,7 +69,6 @@ export default {
}
&-title {
- margin-left: 10px;
font-size: 16px;
font-family: PingFang SC, PingFang SC-Medium;
color: #666666;
diff --git a/src/views/dataNetworkDiskManagement/dataDirectory/DataDirectoryMaintenance.vue b/src/views/dataNetworkDiskManagement/dataDirectory/DataDirectoryMaintenance.vue
index c6b9190..4efb467 100644
--- a/src/views/dataNetworkDiskManagement/dataDirectory/DataDirectoryMaintenance.vue
+++ b/src/views/dataNetworkDiskManagement/dataDirectory/DataDirectoryMaintenance.vue
@@ -9,52 +9,29 @@
+
+
+
-
-
-
- {e.target.value = (e.target.value + '').trim()}">
-
-
- {e.target.value = (e.target.value + '').trim()}">
-
-
- {e.target.value = (e.target.value + '').trim()}">
-
-
- {e.target.value = (e.target.value + '').trim()}"/>
-
-
+
+
@@ -64,96 +41,63 @@
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import IconImg from '@/assets/imgs/icon/icon_committee.png'
import { JeroListMixin } from '@/mixins/JeroListMixin'
+import DataDirectoryModule from './modules/DataDirectoryModule'
+import { getAction } from '../../../api/manage'
export default {
name: 'DataDirectoryMaintenance',
- components: { PageHeaderTitle },
+ components: { PageHeaderTitle, DataDirectoryModule },
mixins: [JeroListMixin],
data() {
return {
IconImg,
- form: this.$form.createForm(this),
- labelCol: {
- xs: { span: 24 },
- sm: { span: 4 }
- },
- wrapperCol: {
- xs: { span: 24 },
- sm: { span: 18 }
- },
- validatorRules: {
- directoryName: {
- rules: [{ required: true, message: '请输入文件夹名称' }]
- }
- },
url: {
- list: ''
+ list: '/payDataDirectory/payDataDirectory/queryByName',
+ queryById: '/payDataDirectory/payDataDirectory/getOne',
+ deleteBatch: '/payDataDirectory/payDataDirectory/deleteBatch'
},
- treeData: [
- {
- title: '0-0',
- key: '0-0',
- children: [
- {
- title: '0-0-0',
- key: '0-0-0',
- children: [
- { title: '0-0-0-0', key: '0-0-0-0' },
- { title: '0-0-0-1', key: '0-0-0-1' },
- { title: '0-0-0-2', key: '0-0-0-2' }
- ]
- },
- {
- title: '0-0-1',
- key: '0-0-1',
- children: [
- { title: '0-0-1-0', key: '0-0-1-0' },
- { title: '0-0-1-1', key: '0-0-1-1' },
- { title: '0-0-1-2', key: '0-0-1-2' }
- ]
- },
- {
- title: '0-0-2',
- key: '0-0-2'
- }
- ]
- },
- {
- title: '0-1',
- key: '0-1',
- children: [
- { title: '0-1-0-0', key: '0-1-0-0' },
- { title: '0-1-0-1', key: '0-1-0-1' },
- { title: '0-1-0-2', key: '0-1-0-2' }
- ]
- },
- {
- title: '0-2',
- key: '0-2'
- }
- ],
- expandedKeys: ['0-0-0', '0-0-1'],
autoExpandParent: true,
- checkedKeys: ['0-0-0'],
- selectedKeys: [],
+ checkedKeys: [],
+ columns: [], // 防止混入报错
+ replaceFields: {
+ children:'children',
+ title:'name',
+ key:'id'
+ }
}
},
methods: {
onExpand(expandedKeys) {
- console.log('onExpand', expandedKeys);
+ console.log('onExpand', expandedKeys)
// if not set autoExpandParent to false, if children expanded, parent can not collapse.
// or, you can remove all expanded children keys.
- this.expandedKeys = expandedKeys;
- this.autoExpandParent = false;
+ this.expandedKeys = expandedKeys
+ this.autoExpandParent = false
},
onCheck(checkedKeys) {
- console.log('onCheck', checkedKeys);
- this.checkedKeys = checkedKeys;
+ console.log('onCheck', checkedKeys)
+ this.checkedKeys = checkedKeys
},
- onSelect(selectedKeys, info) {
- console.log('onSelect', info);
- this.selectedKeys = selectedKeys;
+ /**
+ * 点击名称选中
+ * @param info
+ */
+ onSelect(info) {
+ console.log('onSelect', info[0])
+ let param = {
+ id: info[0]
+ }
+ getAction(this.url.queryById, param).then(res => {
+ console.log(res)
+ this.$refs.dataDirectoryForm.edit(res.result)
+ })
},
+ handleAdd() {
+ this.$refs.dataDirectoryForm.add()
+ },
+ dataDirectoryFormOk() {
+ this.loadData()
+ }
}
}
@@ -161,36 +105,12 @@ export default {
\ No newline at end of file
diff --git a/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue b/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue
index 5a91832..361d44b 100644
--- a/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue
+++ b/src/views/projectManagement/WorkingGroupMemberUnitMaintenance.vue
@@ -61,8 +61,7 @@
添加成员
-
+
导入
导出
@@ -116,7 +115,7 @@
-
+
@@ -273,7 +272,8 @@ export default {
}
],
workingGroupDetail: {},
- chargeNoticeList: [] // 收费通知号选项
+ chargeNoticeList: [], // 收费通知号选项
+ importParam: {}
}
},
created() {
@@ -288,6 +288,7 @@ export default {
this.workingGroupProject = this.$route.query.workingGroupProject
this.workingGroupProjectId = this.$route.query.workingGroupProjectId
this.filters.workingGroupId = this.workingGroupProjectId
+ this.importParam.workingGroupId = this.workingGroupProjectId
this.loadData()
let param = {
id: this.workingGroupProjectId
@@ -306,6 +307,7 @@ export default {
},
handleEdit: function (record) {
this.getChargeNoticeList()
+ this.$refs.modalForm.workingGroupId = this.workingGroupProjectId
this.$refs.modalForm.chargeNoticeList = this.chargeNoticeList
this.$refs.modalForm.edit(record)
this.$refs.modalForm.title = '编辑'
@@ -363,31 +365,6 @@ export default {