Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-collect
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyi.chen
data-collect
Commits
4562bbdf
Commit
4562bbdf
authored
Apr 02, 2024
by
wenyi.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0402需求变动
parent
6565999d
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
247 additions
and
61 deletions
+247
-61
package-lock.json
+12
-6
src/css/index.css
+32
-0
src/main.js
+0
-1
src/views/auditManagement/admin/reviewed/details.vue
+20
-5
src/views/auditManagement/admin/unaudited/details.vue
+20
-5
src/views/auditManagement/admin/unaudited/index.vue
+15
-1
src/views/balance/settlementStatement/details.vue
+43
-8
src/views/claimTasks/user/completed/details.vue
+39
-20
src/views/claimTasks/user/completed/index.vue
+1
-1
src/views/claimTasks/user/completed/modify.vue
+21
-1
src/views/claimTasks/user/incomplete/details.vue
+22
-7
src/views/claimTasks/user/list/dialog.vue
+18
-2
src/views/norm/list/dialog.vue
+4
-4
No files found.
package-lock.json
View file @
4562bbdf
...
...
@@ -3830,9 +3830,15 @@
"dev"
:
true
},
"node_modules/follow-redirects"
:
{
"version"
:
"1.15.5"
,
"resolved"
:
"https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.5.tgz"
,
"integrity"
:
"sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw=="
,
"version"
:
"1.15.6"
,
"resolved"
:
"https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz"
,
"integrity"
:
"sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA=="
,
"funding"
:
[
{
"type"
:
"individual"
,
"url"
:
"https://github.com/sponsors/RubenVerborgh"
}
],
"engines"
:
{
"node"
:
">=4.0"
},
...
...
@@ -8375,9 +8381,9 @@
"dev"
:
true
},
"follow-redirects"
:
{
"version"
:
"1.15.
5
"
,
"resolved"
:
"https://registry.npm
mirror.com/follow-redirects/-/follow-redirects-1.15.5
.tgz"
,
"integrity"
:
"sha512-
vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw
=="
"version"
:
"1.15.
6
"
,
"resolved"
:
"https://registry.npm
js.org/follow-redirects/-/follow-redirects-1.15.6
.tgz"
,
"integrity"
:
"sha512-
wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA
=="
},
"form-data"
:
{
"version"
:
"4.0.0"
,
...
...
src/css/index.css
0 → 100644
View file @
4562bbdf
/** el-input disabled时的背景和边框*/
.el-input.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
\ No newline at end of file
src/main.js
View file @
4562bbdf
...
...
@@ -9,7 +9,6 @@ import 'default-passive-events'
import
ElementPlus
from
'element-plus'
;
import
'element-plus/dist/index.css'
;
import
'/@/theme/index.scss'
;
const
app
=
createApp
(
App
);
directive
(
app
);
...
...
src/views/auditManagement/admin/reviewed/details.vue
View file @
4562bbdf
...
...
@@ -10,10 +10,10 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
...
...
@@ -37,7 +37,7 @@
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</el-col>
<el-col
:span=
"13"
>
<el-input
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
必填
</span>
...
...
@@ -52,8 +52,8 @@
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"normCollectInfo.remark"
v-if=
"state.collectInfo"
>
<el-input
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
<el-form-item
label=
"
收集
备注"
prop=
"normCollectInfo.remark"
v-if=
"state.collectInfo"
>
<el-input
type=
"textarea"
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"用户截图"
prop=
"state.srcList"
>
<span
v-if=
"state.imgHide==false"
>
无
</span>
...
...
@@ -291,4 +291,19 @@ onMounted(() => {
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/auditManagement/admin/unaudited/details.vue
View file @
4562bbdf
...
...
@@ -10,10 +10,10 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
...
...
@@ -43,7 +43,7 @@
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</el-col>
<el-col
:span=
"13"
>
<el-input
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
必填
</span>
...
...
@@ -60,8 +60,8 @@
</el-form-item>
<el-form-item
label=
"备注"
prop=
"normCollectInfo.remark"
v-if=
"state.collectInfo"
>
<el-input
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
<el-form-item
label=
"
收集
备注"
prop=
"normCollectInfo.remark"
v-if=
"state.collectInfo"
>
<el-input
type=
"textarea"
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"用户截图:"
prop=
"state.srcList"
>
<span
v-if=
"state.imgHide==false"
>
无
</span>
...
...
@@ -303,4 +303,19 @@ onMounted(() => {
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/auditManagement/admin/unaudited/index.vue
View file @
4562bbdf
...
...
@@ -10,7 +10,10 @@
<el-option
v-for=
"(item, index) in state.taskList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
<el-button
size=
"default"
type=
"primary"
@
click=
"searchChange()"
>
查询
</el-button>
<el-select
v-model=
"state.apiListParam.norm_id"
placeholder=
"请选择指标"
size=
"default"
@
change=
"searchChange"
clearable
filterable
style=
"width:200px;margin-right: 20px;"
>
<el-option
v-for=
"(item, index) in state.normList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</div>
</div>
...
...
@@ -91,6 +94,7 @@
<
script
setup
name=
"taskPackage-list"
>
import
{
getCurrentInstance
}
from
'vue'
;
import
{
claimTasksApi
}
from
'/@/api/claimTasks/index'
;
import
{
normApi
}
from
'/@/api/norm/index'
;
import
{
taskPackageApi
}
from
'/@/api/taskPackage/index'
;
import
{
ElMessageBox
,
ElMessage
}
from
'element-plus'
;
import
{
Session
}
from
'/@/utils/storage'
;
...
...
@@ -124,6 +128,7 @@ const state = reactive({
normListExtend
:[],
testIndex
:
0
,
taskList
:[],
normList
:[],
});
// 获取任务列表
...
...
@@ -132,9 +137,18 @@ const getTaskList = () => {
state
.
taskList
=
res
.
data
})
}
// 获取指标列表
const
getNormList
=
()
=>
{
normApi
().
normList
({
page
:
-
1
,
limit
:
-
1
}).
then
(
res
=>
{
state
.
normList
=
res
.
data
})
}
// 页面加载时
onMounted
(()
=>
{
getTaskList
()
getNormList
()
getList
()
state
.
tableHeight
=
getCurrentInstance
().
refs
.
pageMain
.
offsetHeight
-
130
-
52
+
"px"
;
});
...
...
src/views/balance/settlementStatement/details.vue
View file @
4562bbdf
...
...
@@ -10,18 +10,18 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
<div
style=
"width: 10%;"
>
内容:
</div>
<el-input
v-model=
"item.value"
placeholder=
"请输入标题对应的值"
clearable
style=
"width: 60%;"
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"state.normCollectInfo.remark"
>
<el-input
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
<el-form-item
label=
"
收集
备注"
prop=
"state.normCollectInfo.remark"
>
<el-input
type=
"textarea"
v-model=
"state.normCollectInfo.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-divider><span
style=
"color: #F56C6C;"
>
用户需填写区域
</span></el-divider>
<el-form-item
label=
"信源类型"
prop=
"normCollectInfo.refer_type"
>
...
...
@@ -32,9 +32,28 @@
</el-select>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'userFilled.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.userFilled"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
<div
style=
"width: 10%;"
><span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</div>
<el-input
v-model=
"item.value"
placeholder=
"请填写内容"
style=
"width: 60%;"
required
:disabled=
"true"
></el-input>
<el-row
style=
"width: 100% !important;"
>
<el-col
:span=
"7"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearabl
:disabled=
"true"
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</el-col>
<el-col
:span=
"13"
>
<el-input
type=
"textarea"
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
必填
</span>
</el-col>
</el-row>
<el-row
style=
"width: 100% !important; margin-left: -8%; margin-top: 10 !important;"
>
<el-col
:span=
"2"
>
<div>
备注:
</div>
</el-col>
<el-col
:span=
"22"
>
<el-input
v-model=
"item.remark"
placeholder=
"请输入备注(选填)"
clearabl
:disabled=
"true"
></el-input>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"用户截图"
prop=
"state.srcList"
>
<span
v-if=
"state.imgHide==false"
>
无
</span>
...
...
@@ -121,7 +140,7 @@ const openDialog = (data) => {
state
.
userIndex
=
0
;
state
.
index
=
0
;
userFilled
.
forEach
(
item
=>
{
state
.
formItem
.
userFilled
.
push
({
id
:
item
.
id
,
name
:
item
.
extend_name
,
radio
:
item
.
required
+
""
,
value
:
item
.
extend_value
});
state
.
formItem
.
userFilled
.
push
({
id
:
item
.
id
,
name
:
item
.
extend_name
,
radio
:
item
.
required
+
""
,
value
:
item
.
extend_value
,
remark
:
item
.
extend_remarks
});
state
.
userIndex
++
});
adminFilled
.
forEach
(
item
=>
{
...
...
@@ -237,4 +256,20 @@ onMounted(() => {
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/claimTasks/user/completed/details.vue
View file @
4562bbdf
...
...
@@ -10,7 +10,10 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
...
...
@@ -40,7 +43,7 @@
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</el-col>
<el-col
:span=
"13"
>
<el-input
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"item.value"
placeholder=
"请填写内容"
required
:disabled=
"true"
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
必填
</span>
...
...
@@ -56,8 +59,8 @@
</el-row>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"state.formItem.addItem.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
<el-form-item
label=
"
收集
备注"
prop=
"remark"
>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.remark"
placeholder=
"请输入备注"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"网页截图"
>
<div
style=
"border: 1px solid #ccc; width: 100%;"
>
...
...
@@ -100,6 +103,7 @@ import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
import
{
claimTasksApi
}
from
'/@/api/claimTasks'
import
{
ElMessage
}
from
'element-plus'
;
import
{
getUploadUrl
}
from
"/@/utils/getHost.js"
;
import
'/@/css/index.css'
;
// 定义子组件向父组件传值/事件
const
emit
=
defineEmits
([
'refresh'
]);
...
...
@@ -169,6 +173,7 @@ const openDialog = (data) => {
state
.
formItem
.
addItem
.
name
=
addItem
.
name
;
state
.
formItem
.
addItem
.
task_name
=
addItem
.
task_name
;
state
.
formItem
.
addItem
.
refer
=
addItem
.
refer
;
state
.
formItem
.
addItem
.
guide
=
addItem
.
guide
;
state
.
not_collectible_remarks
=
data
.
not_collectible_remarks
state
.
not_collectible
=
data
.
not_collectible
//富文本内容相关
...
...
@@ -257,7 +262,7 @@ const handleCreated = (editor) => {
editorRef
.
value
=
editor
// 记录 editor 实例,重要!
}
// 暴露变量
defineExpose
({
defineExpose
({
openDialog
,
});
</
script
>
...
...
@@ -270,22 +275,36 @@ defineExpose({
justify-content
:
center
;
align-content
:
center
;
}
/** el-input disabled时的背景和边框*/
.el-input.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-input
.el-input__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/claimTasks/user/completed/index.vue
View file @
4562bbdf
...
...
@@ -66,7 +66,7 @@
<el-button
size=
"small"
@
click=
"receive(scope.row.id)"
type=
"danger"
>
退回领取
</el-button>
</div>
<div
v-if=
"scope.row.status == 3 || scope.row.status == 4"
>
<el-button
size=
"small"
@
click=
"details(scope.row)"
type=
"primary"
>
查看信息
</el-button>
<el-button
size=
"small"
@
click=
"details(scope.row)"
>
查看信息
</el-button>
</div>
</
template
>
</el-table-column>
...
...
src/views/claimTasks/user/completed/modify.vue
View file @
4562bbdf
...
...
@@ -10,7 +10,10 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"信源类型"
prop=
"refer_type"
>
<el-select
v-model=
"state.formItem.addItem.refer_type"
placeholder=
"请选择信源等级"
>
...
...
@@ -178,6 +181,7 @@ const openDialog = (data) => {
state
.
formItem
.
addItem
.
name
=
addItem
.
name
;
state
.
formItem
.
addItem
.
task_name
=
addItem
.
task_name
;
state
.
formItem
.
addItem
.
refer
=
addItem
.
refer
;
state
.
formItem
.
addItem
.
guide
=
addItem
.
guide
;
state
.
not_collectible_remarks
=
data
.
not_collectible_remarks
state
.
not_collectible
=
data
.
not_collectible
//富文本内容相关
...
...
@@ -313,6 +317,7 @@ const closeDialog = () => {
state
.
formItem
.
addItem
.
refer
=
''
;
state
.
formItem
.
addItem
.
refer_type
=
''
;
state
.
formItem
.
addItem
.
remark
=
''
;
state
.
formItem
.
addItem
.
guide
=
''
;
state
.
formItem
.
dynamicItem
=
[];
state
.
formItem
.
userFilled
=
[];
state
.
formItem
.
editorImgList
=
[];
...
...
@@ -409,4 +414,19 @@ defineExpose({
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/claimTasks/user/incomplete/details.vue
View file @
4562bbdf
...
...
@@ -10,10 +10,10 @@
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 30%;"
:disabled=
"true"
></el-input>
...
...
@@ -37,7 +37,7 @@
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
*
</span>
内容:
</el-col>
<el-col
:span=
"13"
>
<el-input
v-model=
"item.value"
placeholder=
"请填写内容"
required
></el-input>
<el-input
v-model=
"item.value"
type=
"textarea"
placeholder=
"请填写内容"
required
></el-input>
</el-col>
<el-col
:span=
"2"
>
<span
style=
"color: red;"
v-if=
"item.radio==1"
>
必填
</span>
...
...
@@ -48,12 +48,12 @@
<div>
备注:
</div>
</el-col>
<el-col
:span=
"22"
>
<el-input
v-model=
"item.remark"
placeholder=
"请输入备注(选填)"
clearabl
:disabled=
"true"
></el-input>
<el-input
v-model=
"item.remark"
placeholder=
"请输入备注(选填)"
clearabl
:disabled=
"true"
></el-input>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"state.formItem.addItem.remark"
placeholder=
"请输入备注"
clearable
></el-input>
<el-form-item
label=
"
收集
备注"
prop=
"remark"
>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.remark"
placeholder=
"请输入备注"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"网页截图"
>
<div
style=
"border: 1px solid #ccc; width: 100%;"
>
...
...
@@ -78,7 +78,7 @@
<el-col
:span=
"12"
>
<span
class=
"dialog-footer"
>
<el-col
:span=
"20"
>
<el-input
v-model=
"state.notCollectibleData.reason"
placeholder=
"请输入不可采集原因"
clearable
></el-input><el-button
type=
"warning"
:loading=
"state.btnLoading"
@
click=
"notCollectible()"
size=
"danger"
>
不可采集
</el-button>
<el-input
type=
"textarea"
v-model=
"state.notCollectibleData.reason"
placeholder=
"请输入不可采集原因"
clearable
></el-input><el-button
type=
"warning"
:loading=
"state.btnLoading"
@
click=
"notCollectible()"
size=
"danger"
>
不可采集
</el-button>
</el-col>
</span>
</el-col>
...
...
@@ -457,4 +457,19 @@ defineExpose({
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/claimTasks/user/list/dialog.vue
View file @
4562bbdf
...
...
@@ -20,10 +20,10 @@
<el-input
v-model=
"state.ruleForm.price"
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.ruleForm.refer"
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.ruleForm.refer"
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.ruleForm.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
<el-input
type=
"textarea"
v-model=
"state.ruleForm.guide"
placeholder=
"请输入参考指南"
clearable
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"名称"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.extend_name"
placeholder=
"请输入标题"
clearable
style=
"width: 40%;margin-right:20px"
:disabled=
"true"
></el-input>
...
...
@@ -175,4 +175,20 @@ onMounted(() => {
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
.el-textarea.is-disabled
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__inner
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
:deep
(
.el-textarea
.el-textarea__wrapper
)
{
background
:
#fff
!important
;
color
:
var
(
--el-radio-text-color
)
!important
;
-webkit-text-fill-color
:
var
(
--el-radio-text-color
)
!important
;
}
</
style
>
src/views/norm/list/dialog.vue
View file @
4562bbdf
...
...
@@ -4,7 +4,7 @@
<el-form
ref=
"dialogFormRef"
:model=
"state.formItem.addItem"
:rules=
"state.rules"
size=
"default"
label-width=
"100px"
v-loading=
"state.dataLoading"
label-position=
"right"
style=
"width: 90%;text-align: center;"
>
<el-form-item
label=
"指标名称"
prop=
"name"
>
<el-input
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.name"
placeholder=
"请输入指标名称"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"难度等级"
>
<el-select
v-model=
"state.formItem.addItem.level"
placeholder=
"请选择难度等级"
prop=
"level"
>
...
...
@@ -21,13 +21,13 @@
</el-select>
</el-form-item>
<el-form-item
label=
"参考信源"
prop=
"refer"
>
<el-input
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.refer"
placeholder=
"请输入参考信源"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"单价"
prop=
"price"
>
<el-input
v-model=
"state.formItem.addItem.price"
placeholder=
"请输入单价"
clearable
prop=
"price"
></el-input>
</el-form-item>
<el-form-item
label=
"参考指南"
prop=
"guide"
>
<el-input
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
></el-input>
<el-input
type=
"textarea"
v-model=
"state.formItem.addItem.guide"
placeholder=
"请输入参考指南"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"标题"
:prop=
"'dynamicItem.' + index+ '.name'"
v-for=
"(item, index) in state.formItem.dynamicItem"
:key=
"index"
>
<el-input
v-model=
"item.name"
placeholder=
"请输入标题"
clearable
style=
"width: 40%;"
></el-input>
...
...
@@ -199,7 +199,7 @@ const finalData = () => {
// 数据详情
state
.
formItem
.
addItem
.
name
=
addItem
.
name
;
state
.
formItem
.
addItem
.
level
=
addItem
.
level
;
state
.
formItem
.
addItem
.
sort
=
addItem
.
sort
;
state
.
formItem
.
addItem
.
sort
=
addItem
.
sort
+
''
;
state
.
formItem
.
addItem
.
refer
=
addItem
.
refer
;
state
.
formItem
.
addItem
.
price
=
addItem
.
price
;
state
.
formItem
.
addItem
.
guide
=
addItem
.
guide
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment