diff --git a/public/static/login/login_title.png b/public/static/login/login_title.png
deleted file mode 100644
index 777fef6..0000000
Binary files a/public/static/login/login_title.png and /dev/null differ
diff --git a/public/static/login/login_title_new.png b/public/static/login/login_title_new.png
index 26b4bc8..c66ff69 100644
Binary files a/public/static/login/login_title_new.png and b/public/static/login/login_title_new.png differ
diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue
index 00236bc..bbaff9b 100644
--- a/src/components/drawerDialog/index.vue
+++ b/src/components/drawerDialog/index.vue
@@ -478,6 +478,27 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
{
// 刷新任务列表,原始报告待办,原始报告已办,检验报告
diff --git a/src/views/common/SignName/index.vue b/src/views/common/SignName/index.vue
index 9392c98..889191b 100644
--- a/src/views/common/SignName/index.vue
+++ b/src/views/common/SignName/index.vue
@@ -15,7 +15,7 @@
-
+
diff --git a/src/views/dic/category.vue b/src/views/dic/category.vue
index bb088df..e43a332 100644
--- a/src/views/dic/category.vue
+++ b/src/views/dic/category.vue
@@ -74,8 +74,8 @@
width="80"
/>
@@ -106,6 +106,15 @@
字典详情
+
+ 删除
+
import Pagination from '@/components/Pagination'
+import qs from 'qs'
export default {
name: 'Category',
components: { Pagination },
@@ -251,7 +260,8 @@ export default {
sbzlList: [],
species: [],
parentList: [],
- leftList: []
+ leftList: [],
+ detailSeletArr:[]
}
},
created() {
@@ -284,6 +294,9 @@ export default {
handleSelectionChange: function(val) {
this.multipleSelection = val
},
+ detailHandleSelectionChange(val){
+ this.detailSeletArr = val
+ },
showCreate() {
this.tempCategory = {}
this.dialogStatus = 'create'
@@ -292,9 +305,9 @@ export default {
createCategory() {
this.$refs['tempCategory'].validate((valid) => {
if (valid) {
- this.tempCategory.species = JSON.stringify(this.species)
+ this.tempCategory.species = this.species.join(',')
this.api({
- url: '/category/addCategory',
+ url: '/category',
method: 'post',
data: this.tempCategory
}).then(() => {
@@ -404,8 +417,25 @@ export default {
closeDialog() {
this.species = []
},
+ deleteCategoryDetail(){
+ if(this.detailSeletArr.length==0){
+ return this.$message.warning('请选择数据')
+ }
+ this.api({
+ url:'/category/delete',
+ method:'delete',
+ params:{
+ integers:this.detailSeletArr.map(item=>item.id)
+ },
+ paramsSerializer: function(params) {
+ return qs.stringify(params, { indices: false })
+ }
+ }).then(res=>{
+ this.$message({ message: '成功删除', type: 'success' })
+ })
+ },
formatSpecies(row, column, cellValue) {
- const value = JSON.parse(cellValue)
+ const value = cellValue.split(',')
let lable = ''
for (let i = 0; i < value.length; i++) {
for (let j = 0; j < this.sbzlList.length; j++) {
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 3696311..abc662e 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -1,7 +1,7 @@